summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/ncurses/tty/MKexpanded.sh
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-05-17 07:24:03 +0000
committermckusick <mckusick@FreeBSD.org>2001-05-17 07:24:03 +0000
commit5411edc0fbb52100d0c701ae4710b831a88fe7d5 (patch)
treeef00c14c553e974c0b7c3e9011071fac33d5d4ea /contrib/ncurses/ncurses/tty/MKexpanded.sh
parent61d50b9b55a5fc77050b39ecc315d05d9e0aa462 (diff)
downloadFreeBSD-src-5411edc0fbb52100d0c701ae4710b831a88fe7d5.zip
FreeBSD-src-5411edc0fbb52100d0c701ae4710b831a88fe7d5.tar.gz
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.
Diffstat (limited to 'contrib/ncurses/ncurses/tty/MKexpanded.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud