Skip to content

dm-crypt atomic writes support

John Garry dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dm: BUG on REQ_ATOMIC in dm_accept_partial_bio()drivers/md/dm.c+3 -20 replies
2/2dm-crypt: enable DM_TARGET_ATOMIC_WRITESdrivers/md/dm-crypt.c+19 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] dm-crypt atomic writes support

This small series enables atomic writes support for dm-crypt.

Apart from setting DM_TARGET_ATOMIC_WRITES flag, we need to make the following changes:
- limit atomic write size to dm-crypt max write size
- BUG_ON() any partial completions for when REQ_ATOMIC is set

John Garry (2):
dm: BUG on REQ_ATOMIC in dm_accept_partial_bio()
dm-crypt: enable DM_TARGET_ATOMIC_WRITES

 drivers/md/dm-crypt.c | 21 +++++++++++++++++++--
 drivers/md/dm.c       |  5 +++--
 2 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.5