HAMMER 49/Many: Enhance pruning code
commitf1785283a786f0c8700f71d28ae2a891c2888ea1
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 31 May 2008 18:37:57 +0000 (31 18:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 31 May 2008 18:37:57 +0000 (31 18:37 +0000)
treed98bc39c8e8cfbee87a7b8439095928769924b20
parent5337ae82eade0ac8351ad301096979f150c7c2c3
HAMMER 49/Many: Enhance pruning code

* Pass the element array in as a pointer rather then embedding it in
  the hammer_ioc_prune structure.

* Adjust the modulo calculations to allow non-aligned snapshots to be
  pruned, to support the new 'hammer softprune' command.
sys/vfs/hammer/hammer_ioctl.h
sys/vfs/hammer/hammer_prune.c