]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
dm-mirror: Support atomic writes
authorJohn Garry <john.g.garry@oracle.com>
Thu, 16 Jan 2025 17:03:01 +0000 (17:03 +0000)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 17 Jan 2025 21:24:11 +0000 (22:24 +0100)
commit6845de78ae3701ed19619cf786695072c73b8e92
treef9a3d23a6638c6c49607d60f959228359263f9d5
parentc6a657d9683def5588aee6ed920cef61415a6a52
dm-mirror: Support atomic writes

Support atomic writes by setting DM_TARGET_ATOMIC_WRITES for the target
type, and also unmasking REQ_ATOMIC from the submitted bio op flags.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-raid1.c