aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2015-06-17 08:59:57 +0000
committerChris Mason <[email protected]>2015-07-02 00:17:20 +0000
commitad9ee2053f3f2babebc09ebc4970daa66c56c7ee (patch)
tree07c9c002e3b0af7a496ff93ad7d52773c6361244 /fs/btrfs/dev-replace.c
parentBtrfs: fix a comment in inode.c:evict_inode_truncate_pages() (diff)
downloadkernel-ad9ee2053f3f2babebc09ebc4970daa66c56c7ee.tar.gz
kernel-ad9ee2053f3f2babebc09ebc4970daa66c56c7ee.zip
Btrfs: fix hang when failing to submit bio of directIO
The hang is uncoverd by generic/019. btrfs_endio_direct_write() skips the "finish_ordered_fn" part when it hits an error, thus those added ordered extents will never get processed, which block processes that waiting for them via btrfs_start_ordered_extent(). This fixes the above, and meanwhile finish_ordered_fn will do the space accounting work. Signed-off-by: Liu Bo <[email protected]> Reviewed-by: Filipe Manana <[email protected]> Tested-by: Filipe Manana <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions