]> git.neil.brown.name Git - LaFS.git/commit
Allow cleaner_parse to request multiple inodes at once.
authorNeilBrown <neilb@suse.de>
Sat, 14 Aug 2010 10:52:11 +0000 (20:52 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 14 Aug 2010 10:52:11 +0000 (20:52 +1000)
commit675395c9f03984e9bfe1cee45fcb200243d06f76
tree040026fee852f336980935a844e7f6d156393dfb
parente67be93c91a17879b45aee7a7a67a95355d93a0d
Allow cleaner_parse to request multiple inodes at once.

Currently cleaner_parse stops when it hits an inode that it cannot
load immediately.  This reduced the opportunities for parallelism.

Instream allow up to 16 -EAGAINs from inode lookups.
This requires that we mark headers for inodes which failed, and
always start again from the beginning of the cluster head.
We already reduce the bcnt to 0, so for inodes that can be
found, we won't lookup the blocks twice.

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