summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorJan Schmidt2012-03-23 17:32:28 +0100
committerJan Schmidt2012-03-27 14:51:21 +0200
commit7a3ae2f8c8c8432e65467b7fc84d5deab04061a0 (patch)
treee93c46eb8def633533fe80032872f71b36fc03b8 /fs/btrfs/super.c
parentBtrfs: check return value of btrfs_cow_block() (diff)
downloadkernel-qcow2-linux-7a3ae2f8c8c8432e65467b7fc84d5deab04061a0.tar.gz
kernel-qcow2-linux-7a3ae2f8c8c8432e65467b7fc84d5deab04061a0.tar.xz
kernel-qcow2-linux-7a3ae2f8c8c8432e65467b7fc84d5deab04061a0.zip
Btrfs: fix regression in scrub path resolving
In commit 4692cf58 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 deadlock with the commit path. Additionally, what scrub really wants to do is resolving a logical address in the commit root it's currently checking. This patch adds support for logical to path resolving on commit roots and makes scrub use that. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions