Re: [PATCH] Btrfs: fix regression in scrub path resolving

2012-04-13 Thread Chris Mason
On Fri, Apr 13, 2012 at 08:25:59AM -0700, Greg KH wrote: > On Fri, Apr 13, 2012 at 04:58:15PM +0200, Jan Schmidt wrote: > > commit 7a3ae2f8c8c8432e65467b7fc84d5deab04061a0 upstream. > > > > In commit 4692cf58 (Linux 3.3) we introduced new backref walking code for > > btrfs. This assumes we're sear

Re: [PATCH] Btrfs: fix regression in scrub path resolving

2012-04-13 Thread Greg KH
On Fri, Apr 13, 2012 at 04:58:15PM +0200, Jan Schmidt wrote: > commit 7a3ae2f8c8c8432e65467b7fc84d5deab04061a0 upstream. > > In commit 4692cf58 (Linux 3.3) we introduced new backref walking code for > btrfs. This assumes we're searching live roots, which requires a transaction > context. While scr

[PATCH] Btrfs: fix regression in scrub path resolving

2012-04-13 Thread Jan Schmidt
commit 7a3ae2f8c8c8432e65467b7fc84d5deab04061a0 upstream. In commit 4692cf58 (Linux 3.3) we introduced new backref walking code for btrfs. This assumes we're searching live roots, which requires a transaction context. While scrubbing, however, we must not join a transaction because this could dead