Skip to content

Commit 487d1a9

Browse files
johnpgarryMikulas Patocka
authored andcommitted
dm-linear: Enable atomic writes
Set feature flag DM_TARGET_ATOMIC_WRITES. Signed-off-by: John Garry <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]>
1 parent 5f430e3 commit 487d1a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/md/dm-linear.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,10 @@ static size_t linear_dax_recovery_write(struct dm_target *ti, pgoff_t pgoff,
199199

200200
static struct target_type linear_target = {
201201
.name = "linear",
202-
.version = {1, 4, 0},
202+
.version = {1, 5, 0},
203203
.features = DM_TARGET_PASSES_INTEGRITY | DM_TARGET_NOWAIT |
204-
DM_TARGET_ZONED_HM | DM_TARGET_PASSES_CRYPTO,
204+
DM_TARGET_ZONED_HM | DM_TARGET_PASSES_CRYPTO |
205+
DM_TARGET_ATOMIC_WRITES,
205206
.report_zones = linear_report_zones,
206207
.module = THIS_MODULE,
207208
.ctr = linear_ctr,

0 commit comments

Comments
 (0)