[PATCH 0/2] Fix dm-crypt handling of emulated zone append

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike, Mikulas,

dm-crypt splitting a regular write used for emulating a zone append
operation breaks the writeen sector return for zone append, causing all
sorts of issues (e.g. corruptions) with file systems using the zone
append operation (btrfs, xfs). The first patch addresses this issue.
The second patch adds a check to detect if a DM target attempts to split
such BIO.

Damien Le Moal (2):
  dm: dm-crypt: Prevent splitting of emulated zone append operations
  dm: Check for forbidden splitting of emulated zone append operations

 drivers/md/dm-crypt.c | 12 ++++++++++++
 drivers/md/dm.c       |  6 ++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

-- 
2.49.0





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux