[PATCH v2] Btrfs: improve the loop of scrub_stripe

2013-04-26 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

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

2013-04-26 Thread Liu Bo
On Fri, Apr 26, 2013 at 02:39:29PM -0400, Josef Bacik wrote: > On Fri, Apr 26, 2013 at 11:11:18AM -0600, Liu Bo wrote: > > From: root > > > > May want to set your git.email. > > Josef ah, will get it fix soon. thanks, liubo -- To unsubscribe from this list: send the line "unsubscribe linux-bt

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

2013-04-26 Thread Josef Bacik
On Fri, Apr 26, 2013 at 11:11:18AM -0600, Liu Bo wrote: > From: root > May want to set your git.email. Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-i

[PATCH v2] Btrfs: improve the loop of scrub_stripe

2013-04-26 Thread Liu Bo
From: root 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 a