summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Kconfig
diff options
context:
space:
mode:
authorLu Fengqi2017-08-18 10:38:07 +0200
committerDavid Sterba2017-08-21 17:47:42 +0200
commit43a0111103af2d358f6d2d671d8429ba169e53bb (patch)
tree7c522684df69717088ac04fe3927aead2ac1ad31 /fs/btrfs/Kconfig
parentBtrfs: incremental send, fix emission of invalid clone operations (diff)
downloadkernel-qcow2-linux-43a0111103af2d358f6d2d671d8429ba169e53bb.tar.gz
kernel-qcow2-linux-43a0111103af2d358f6d2d671d8429ba169e53bb.tar.xz
kernel-qcow2-linux-43a0111103af2d358f6d2d671d8429ba169e53bb.zip
btrfs: use btrfsic_submit_bio instead of submit_bio in write_dev_flush
Although this bio has no data attached, it will reach this condition (bio->bi_opf & REQ_PREFLUSH) and then update the flush_gen of dev_state in __btrfsic_submit_bio. So we should still submit it through integrity checker. Otherwise, the integrity checker will throw the following warning when I mount a newly created btrfs filesystem. [10264.755497] btrfs: attempt to write superblock which references block M @29523968 (sdb1/1111654400/0) which is not flushed out of disk's write cache (block flush_gen=1, dev->flush_gen=0)! [10264.755498] btrfs: attempt to write superblock which references block M @29523968 (sdb1/37912576/0) which is not flushed out of disk's write cache (block flush_gen=1, dev->flush_gen=0)! Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/Kconfig')
0 files changed, 0 insertions, 0 deletions