]> git.neil.brown.name Git - LaFS.git/commit
Be Careful about cleaning PinPending blocks.
authorNeilBrown <neilb@suse.de>
Sat, 26 Jun 2010 01:26:46 +0000 (11:26 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 27 Jun 2010 23:15:02 +0000 (09:15 +1000)
commit128758cedc3947b4a2328141c387ab0933dbbf60
treecf283786dabd36001b0c8397da07612a9918603c
parent98a3163be76264e7dcb02a51c3d99b613533a3aa
Be Careful about cleaning PinPending blocks.

PinPending blocks must never be written to the cleaner segment
as they might still get dirtied and need to be written in this phase,
but the cleaner will have taken their uninc credit.

So if we need to clean a PinPending block, just mark it dirty and
wait for it to be unpinned or written normally.

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