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

git: hammer2 hammer2 - initial mkdir skeleton


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 12 Feb 2012 19:26:56 -0800 (PST)

commit 37494cab4ddf5a645d8fb50ef9c89bb78b797e34
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Feb 12 19:22:10 2012 -0800

    hammer2 - initial mkdir skeleton
    
    * Code up VOP_NMKDIR() to test the chain creation code and VOP_READDIR.
    
    * Code up VOP_NLOOKUPDOTDOT.
    
    * Adjust newfs_hammer2 to set alloc_tid to 16, so we can reserve some
      inode numbers for the super-root and root.
    
    * Add another field to the media inode_data for inode allocation within
      a PFS.
    
    Note: These are mostly skeletons.  We don't flush modified chain elements
          back to the disk yet and the chain create path can't create indirect
          blocks yet.

Summary of changes:
 sbin/newfs_hammer2/newfs_hammer2.c |    2 +-
 sys/vfs/hammer2/hammer2.h          |    7 ++
 sys/vfs/hammer2/hammer2_chain.c    |   12 +++-
 sys/vfs/hammer2/hammer2_disk.h     |    2 +-
 sys/vfs/hammer2/hammer2_inode.c    |  102 +++++++++++++++++++---------
 sys/vfs/hammer2/hammer2_subr.c     |   33 +++++++++-
 sys/vfs/hammer2/hammer2_vnops.c    |  127 ++++++++++++++++++++++++++++++++++-
 7 files changed, 243 insertions(+), 42 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/37494cab4ddf5a645d8fb50ef9c89bb78b797e34


-- 
DragonFly BSD source repository



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