]> git.neil.brown.name Git - LaFS.git/commit
allocate_block fixes.
authorNeilBrown <neilb@suse.de>
Mon, 21 Jun 2010 04:55:26 +0000 (14:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 Jun 2010 20:59:45 +0000 (06:59 +1000)
commitdb038ee56f7fc41c135717e2a4010d43dc047189
treecc1600dd0cba014baf31d774cda3318ba5544d79
parente396a0fd6f5e306cde87fd1790ddb703bcbf558f
allocate_block fixes.

Try to set up slightly new rules....

1/ Adding an address as unincorporated requires just a spinlock,
    the inode private_lock
2/ The block with an address being added is not iolock, but is
    Writebehind
3/ incorporation happens under iolock,  removing the list of
    pending addresses also happens here.  so under iolock
    addresses can be added to list but not removed (unless I'm doing
    the removing).

Signed-off-by: NeilBrown <neilb@suse.de>
block.c
index.c
inode.c
modify.c