]> git.neil.brown.name Git - LaFS.git/commit
Don't clear PinPending in blocks in the inode map.
authorNeilBrown <neilb@suse.de>
Mon, 28 Jun 2010 04:51:10 +0000 (14:51 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 28 Jun 2010 04:51:10 +0000 (14:51 +1000)
commit8f66f18224769b900856891eaec000d2787cc14e
treea9a2c2cf01d6794d4dbe8d8e54da3a1ae5b61a3b
parentb8fa8dae63b0f24d73389a08a3412433cd7c0cec
Don't clear PinPending in blocks in the inode map.

We do not enforce exclusive access to these blocks, so it is not safe
to clear PinPending - some other thread might be allocating a nearby
inode and might need PinPending to remain.

It will get cleared at the next checkpoint or when the refcount on the
block hits zero, so there is no pressing need to clear it.

Signed-off-by: NeilBrown <neilb@suse.de>
README
inode.c