freebsd-dev/sys/ufs
Kirk McKusick 24a83a4b3f When a new block is allocated to a directory, an fsync of a file
whose name is within that block must ensure not only that the block
containing the file name has been written, but also that the on-disk
directory inode references that block. When a new directory block
is created, we allocate a newdirblk structure which is linked to
the associated allocdirect (on its ad_newdirblk list). When the
allocdirect has been satisfied, the newdirblk structure is moved
to the inodedep id_bufwait list of its directory to await the inode
being written.  When the inode is written, the directory entries
are fully committed and can be deleted from their pagedep->id_pendinghd
and inodedep->id_pendinghd lists.
2001-05-17 07:24:03 +00:00
..
ffs When a new block is allocated to a directory, an fsync of a file 2001-05-17 07:24:03 +00:00
ifs Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
mfs Add a vop_stdbmap(), and make it part of the default vop vector. 2001-04-29 11:48:41 +00:00
ufs When a new block is allocated to a directory, an fsync of a file 2001-05-17 07:24:03 +00:00