diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2019-03-26 20:20:58 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-04-01 22:26:02 +0200 |
commit | eb40c0acdc342b815d4d03ae6abb09e80c0f2988 (patch) | |
tree | 47d8281ecef487560af4254a828dbbc89c86b592 /drivers/md/dm.c | |
parent | dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_... (diff) | |
download | linux-eb40c0acdc342b815d4d03ae6abb09e80c0f2988.tar.xz linux-eb40c0acdc342b815d4d03ae6abb09e80c0f2988.zip |
dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
Some devices don't use blk_integrity but still want stable pages
because they do their own checksumming. Examples include rbd and iSCSI
when data digests are negotiated. Stacking DM (and thus LVM) on top of
these devices results in sporadic checksum errors.
Set BDI_CAP_STABLE_WRITES if any underlying device has it set.
Cc: stable@vger.kernel.org
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions