Re: [PATCH] Btrfs: improve the loop of scrub_stripe

2013-04-25 Thread Josef Bacik
On Thu, Apr 18, 2013 at 10:54:55AM -0600, Liu Bo wrote: > 1) Right now scrub_stripe() is looping in some unnecessary cases: > * when the found extent item's objectid has been out of the dev extent's range > but we haven't finish scanning all the range within the dev extent > * when all the items

[PATCH] Btrfs: improve the loop of scrub_stripe

2013-04-18 Thread Liu Bo
1) Right now scrub_stripe() is looping in some unnecessary cases: * when the found extent item's objectid has been out of the dev extent's range but we haven't finish scanning all the range within the dev extent * when all the items has been processed but we haven't finish scanning all the rang