summaryrefslogtreecommitdiffstats
path: root/kernel/mutex.h
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2011-11-11 14:17:10 +0100
committerChris Mason <chris.mason@oracle.com>2011-11-11 14:17:10 +0100
commit69f4cb526bd02ae5af35846f9a710c099eec3347 (patch)
tree0fc400c20ab6293603b8b615467893a13426c82c /kernel/mutex.h
parentBtrfs: fix deadlock caused by the race between relocation (diff)
downloadlinux-69f4cb526bd02ae5af35846f9a710c099eec3347.tar.xz
linux-69f4cb526bd02ae5af35846f9a710c099eec3347.zip
Btrfs: handle bio_add_page failure gracefully in scrub
Currently scrub fails with ENOMEM when bio_add_page fails. Unfortunately dm based targets accept only one page per bio, thus making scrub always fails. This patch just submits the current bio when an error is encountered and starts a new one. Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions