aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
authorYan Zheng <[email protected]>2009-08-07 17:51:33 +0000
committerChris Mason <[email protected]>2009-08-07 17:51:33 +0000
commitceab36edd3d3ad3ffd01d41d6d1e05ac1ff8357e (patch)
treea6d899030878d52ae6d7932e459deece3524c787 /fs/btrfs/async-thread.h
parentBtrfs: correct error-handling zlib error handling (diff)
downloadkernel-ceab36edd3d3ad3ffd01d41d6d1e05ac1ff8357e.tar.gz
kernel-ceab36edd3d3ad3ffd01d41d6d1e05ac1ff8357e.zip
Btrfs: fix balancing oops when invalidate_inode_pages2 returns EBUSY
invalidate_inode_pages2_range may return -EBUSY occasionally which results Oops. This patch fixes the issue by moving invalidate_inode_pages2_range into a loop and keeping calling it until the return value is not -EBUSY. The EBUSY return is temporary, and can happen when the btrfs release page function is unable to release a page because the EXTENT_LOCK bit is set. Signed-off-by: Yan Zheng <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions