FreeBSD Bugzilla – Attachment 180615 Details for
Bug 217622
1-line patch for daily/800.scrub_zfs to fix interval calculation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
1-line patch to line 73 of 800.scrub-zfs to add " -v -70M"
diff (text/plain), 608 bytes, created by
wbe
on 2017-03-08 00:22:11 UTC
(
hide
)
Description:
1-line patch to line 73 of 800.scrub-zfs to add " -v -70M"
Filename:
MIME Type:
Creator:
wbe
Created:
2017-03-08 00:22:11 UTC
Size:
608 bytes
patch
obsolete
>--- /etc/periodic/daily/800.scrub-zfs 2016-10-15 15:02:19.316405000 -0400 >+++ /tmp/800.scrub-zfs 2017-03-07 18:39:34.789378000 -0500 >@@ -71,7 +71,7 @@ > > # Now minus last scrub (both in seconds) converted to days. > _scrub_diff=$(expr -e \( $(date +%s) - \ >- $(date -j -f %F.%T ${_last_scrub} +%s) \) / 60 / 60 / 24) >+ $(date -j -v -70M -f %F.%T ${_last_scrub} +%s) \) / 60 / 60 / 24) > if [ ${_scrub_diff} -lt ${_pool_threshold} ]; then > echo " skipping scrubbing of pool '${pool}':" > echo " last scrubbing is ${_scrub_diff} days ago, threshold is set to ${_pool_threshold} days"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217622
: 180615