svn commit: r342647 - stable/11/etc/periodic/daily

Michael Reifenberger mr at FreeBSD.org
Mon Dec 31 11:05:39 UTC 2018


Author: mr
Date: Mon Dec 31 11:05:38 2018
New Revision: 342647
URL: https://svnweb.freebsd.org/changeset/base/342647

Log:
  Merge forgotten r318577 to close PR.
  
  PR:		217622

Modified:
  stable/11/etc/periodic/daily/800.scrub-zfs

Modified: stable/11/etc/periodic/daily/800.scrub-zfs
==============================================================================
--- stable/11/etc/periodic/daily/800.scrub-zfs	Mon Dec 31 10:59:30 2018	(r342646)
+++ stable/11/etc/periodic/daily/800.scrub-zfs	Mon Dec 31 11:05:38 2018	(r342647)
@@ -71,7 +71,7 @@ case "$daily_scrub_zfs_enable" in
 
 		# 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"


More information about the svn-src-stable-11 mailing list