Skip to content

Fix dm-crypt handling of emulated zone append

Damien Le Moal dm-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2dm: dm-crypt: Prevent splitting of emulated zone append operationsdrivers/md/dm-crypt.c+12 -06 replies
2/2dm: Check for forbidden splitting of emulated zone append operationsdrivers/md/dm.c+4 -23 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.49.0