diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2019-03-26 20:20:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-17 08:39:54 +0200 |
commit | ca7671084384cba2e27de2aaa8c4ea4aa1daa86d (patch) | |
tree | df6ba35c9a88e8d5cb903ce12f6e4f03099395dd /drivers/extcon/extcon-gpio.c | |
parent | 50b2e5c3b0a8a45c93354da2563e4241938effc6 (diff) |
dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
commit eb40c0acdc342b815d4d03ae6abb09e80c0f2988 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon/extcon-gpio.c')
0 files changed, 0 insertions, 0 deletions