git: hammer - Fix timeout for 'dedup' directive
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Thu Jan 8 11:44:41 PST 2015
commit 3a92efe3ce8f11b83b469609135c5fedaafa6632
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Thu Jan 8 12:30:05 2015 +0100
hammer - Fix timeout for 'dedup' directive
- 'hammer dedup' did not stop on timeout set by -t option.
- As the deduplication itself works by comparing one reference
base element against a candidate base element, hammer(8) collects
all the elements to be deduplicated and actually perform the needed
ioctl() calls to make it happen. This is why the SIGALRM code has to
be handled from within hammer(8).
Reported by: ftigeot
DragonFly-bug: <http://bugs.dragonflybsd.org/issues/2759>
Summary of changes:
sbin/hammer/cmd_dedup.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 63 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a92efe3ce8f11b83b469609135c5fedaafa6632
--
DragonFly BSD source repository
More information about the Commits
mailing list