git: hammer2 - bulkfree now validates bigmask
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Aug 12 18:43:10 PDT 2021
commit 691854bd1e2bd147839e7f5328aaf01ed68df3a7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Aug 12 18:41:54 2021 -0700
hammer2 - bulkfree now validates bigmask
* bulkfree now validates that the roll-up bigmask is reasonable
and adjusts it if it is not.
* Add vfs.hammer2.aux_flags and implement a bigmask override with
it that, if set, forces bigmask to -1 in the bulkfree. Should
not be needed now that bulkfree validates the field.
Summary of changes:
sys/vfs/hammer2/hammer2.h | 2 +-
sys/vfs/hammer2/hammer2_bulkfree.c | 72 ++++++++++++++++++++++++++++++++++++--
sys/vfs/hammer2/hammer2_vfsops.c | 3 ++
3 files changed, 73 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/691854bd1e2bd147839e7f5328aaf01ed68df3a7
--
DragonFly BSD source repository
More information about the Commits
mailing list