DragonFly BSD
DragonFly commits List (threaded) for 2012-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - Get data-usage aggregation working, add INODE_GET


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 May 2012 15:21:51 -0700 (PDT)

commit 344d4f828a050e4cb5030fb30d3804fdc069d821
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat May 19 15:17:03 2012 -0700

    hammer2 - Get data-usage aggregation working, add INODE_GET
    
    * Cleanup aggregation of data_count and inode_count in the inode.
      data_count should now work properly (though it requires a 'sync'
      if you want up-to-date information).
    
      This allow data and inode usage for an entire sub-tree to be
      retrieved from the parent directory inode.  No need to run 'du'
      over millions of inodes.
    
      The new 'hammer2 stat' command can be used to access the info.
    
    * Add the HAMMER2IOC_INODE_GET/SET ioctls to access information that
      cannot be obtained from a normal stat().

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c |   19 +++++++++++------
 sys/vfs/hammer2/hammer2_ioctl.c |   40 +++++++++++++++++++++++++++++++++++++++
 sys/vfs/hammer2/hammer2_ioctl.h |   21 ++++++++++++++++++++
 3 files changed, 73 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/344d4f828a050e4cb5030fb30d3804fdc069d821


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]