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


Reply via email to