dm-stripe: Enable atomic writes
authorJohn Garry <john.g.garry@oracle.com>
Thu, 16 Jan 2025 17:02:59 +0000 (17:02 +0000)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 17 Jan 2025 21:24:06 +0000 (22:24 +0100)
commit30b88ed06f8018b33e034c86d30d67b93f6aca12
tree91da2a76ace3b17e8a9188b0422ec7916b140cf8
parent487d1a9cb586746c03190310056e292e8552539e
dm-stripe: Enable atomic writes

Set feature flag DM_TARGET_ATOMIC_WRITES.

Similar to md raid0, the chunk size set in stripe_io_hints() limits the
atomic write unit max.

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-stripe.c