]> git.neil.brown.name Git - LaFS.git/commit
Orphan: simplify orphan creation.
authorNeilBrown <neilb@suse.de>
Thu, 27 Aug 2009 01:45:56 +0000 (11:45 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 27 Aug 2009 01:45:56 +0000 (11:45 +1000)
commitb1aaaa4ce9b7702080987b13c8a0ffd1d6e2a4de
tree81e762d1592fa9c9d6209225df4d5c066779d0b6
parent6afbf7fe6f12e92c28fe421251a29912f81472ed
Orphan:  simplify orphan creation.

We don't need to synchronise orphan creation with other parts of
direct ops etc.  We just make the block into an orphan if we
think that might be needed.  If this gets committed in a previous
checkpoint, there is no problem.

This simplifies things a lot and lets us get rid of some races.
block.c
dir.c
inode.c
lafs.h
orphan.c
state.h