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(-)

-- 
2.43.5


Reply via email to