You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new version will run chkconfig --add, which has no effect (since the service was already added)
old version will run chkconfig --del, which caused zfs service removed
Proposed fix: only run "chkconfig --del" on complete uninstall, by checking the value of "$1" to %preun, which will be "0" on uninstall, "1" on upgrade (reference: http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html)
…penzfs#314)
If a zettacache insert fails due to block allocation failure (cache
full), it is counted as an insertion, and shows up in the `CACHE-INSERT`
columns of `zcache stats`.
This commit changes the accounting so that these failures show up as
`INSERT-DROPS alloc`.
Bonus changes:
* `INSERT-DROPS full-q` is renamed to `INSERT-DROPS buffer`, to match
the `BUF-BYTES-USED` column (soon to be `BUFFER-USED`, see openzfs#313).
* The same problem occurs if we hit the the hard limit of pending
changes memory use. Since this is expected to be very rare, rather
than adding another column of output, we account it with `INSERT-DROPS
alloc`
Current zfs rpm has this scripts (defined on zfs.spec.in):
This caused problems on upgrade using RPM:
Proposed fix: only run "chkconfig --del" on complete uninstall, by checking the value of "$1" to %preun, which will be "0" on uninstall, "1" on upgrade (reference: http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html)
fajarnugraha@9139919
The text was updated successfully, but these errors were encountered: