git: hammer2 - Refactor frontend part 8/many
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jun 17 17:15:52 PDT 2015
commit 2121ef112ee46b63bff4cbe4df5dc44750d7f2b1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Jun 17 17:08:54 2015 -0700
hammer2 - Refactor frontend part 8/many
* Continue work to consolidate master copy of node-independent inode
meta-data into ip->meta. Use ip->meta as the master (there may still
be a few places where that isn't happening).
* Remove related cluster ops when not needed. Includes vop_getattr,
vop_setattr.
* Remove bogus clearing of HAMMER2_INODE_MODIFIED outside of
hammer2_inode_fsync().
* Better handling of the HAMMER2_INODE_RESIZED flag. Also optimize the
standard extension case when not crossing the DIRECTDATA boundary by
not setting the flag. e.g. most write-append cases.
Summary of changes:
sys/vfs/hammer2/hammer2.h | 23 ++--
sys/vfs/hammer2/hammer2_cluster.c | 5 +-
sys/vfs/hammer2/hammer2_inode.c | 229 +++++++++++++++++++++----------------
sys/vfs/hammer2/hammer2_ioctl.c | 2 +-
sys/vfs/hammer2/hammer2_strategy.c | 4 +-
sys/vfs/hammer2/hammer2_vfsops.c | 2 +-
sys/vfs/hammer2/hammer2_vnops.c | 211 ++++++++++++++++------------------
7 files changed, 249 insertions(+), 227 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2121ef112ee46b63bff4cbe4df5dc44750d7f2b1
--
DragonFly BSD source repository
More information about the Commits
mailing list