]> git.neil.brown.name Git - LaFS.git/commit
Handle fsync of inodes correctly
authorNeil Brown <neilb@nbeee.brown>
Mon, 12 Jul 2010 10:56:10 +0000 (20:56 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 25 Jul 2010 05:34:26 +0000 (15:34 +1000)
commit76b66482a6aced025bafdadf65be763097ca5b47
tree5a0018445ee5da9efa58f6165643d33beba5f31d
parentbb3deedee34cd4e738a2c56189a83409e1194c6c
Handle fsync of inodes correctly

get rid of lafs_write_inode as it doesn't do the right thing.
Instead, create updates for inode changes only when
fsync is called on an inode.  The only other time we
flush out an inode is 'sync()' which does a checkpoint
so achieves the same with not updates in clusters.

Signed-off-by: NeilBrown <neilb@suse.de>
file.c
inode.c
lafs.h
super.c