summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/raid56.c
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-12-01 11:39:40 +0100
committerChris Mason <clm@fb.com>2016-01-20 16:22:14 +0100
commite1746e8381cd2af421f75557b5cae3604fc18b35 (patch)
treefb140445ed587ff5c0bbdbea6e06fa659b106c92 /fs/btrfs/raid56.c
parentbtrfs: merge functions for wait snapshot creation (diff)
downloadlinux-e1746e8381cd2af421f75557b5cae3604fc18b35.tar.xz
linux-e1746e8381cd2af421f75557b5cae3604fc18b35.zip
btrfs: Fix no_space in write and rm loop
I see no_space in v4.4-rc1 again in xfstests generic/102. It happened randomly in some node only. (one of 4 phy-node, and a kvm with non-virtio block driver) By bisect, we can found the first-bad is: commit bdced438acd8 ("block: setup bi_phys_segments after splitting")' But above patch only triggered the bug by making bio operation faster(or slower). Main reason is in our space_allocating code, we need to commit page writeback before wait it complish, this patch fixed above bug. BTW, there is another reason for generic/102 fail, caused by disable default mixed-blockgroup, I'll fix it in xfstests. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/raid56.c')
0 files changed, 0 insertions, 0 deletions