hammer2 - initial mkdir skeleton
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 13 Feb 2012 03:22:10 +0000 (19:22 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 13 Feb 2012 03:26:35 +0000 (19:26 -0800)
commit37494cab4ddf5a645d8fb50ef9c89bb78b797e34
tree101c1654ddcadfa8900d65f37f7a3ba04664a2ab
parentcd4b3d9269ece9d6998af588a84c607e6f27b2a6
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.
sbin/newfs_hammer2/newfs_hammer2.c
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_disk.h
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_subr.c
sys/vfs/hammer2/hammer2_vnops.c