Skip to content

Commit 61c73e8

Browse files
johnpgarryMikulas Patocka
authored andcommitted
dm mpath: enable DM_TARGET_ATOMIC_WRITES
Both the bio- and rq-based paths have no problem supporting REQ_ATOMIC, so enable DM_TARGET_ATOMIC_WRITES. Signed-off-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
1 parent ae97648 commit 61c73e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/md/dm-mpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ static struct target_type multipath_target = {
23072307
.name = "multipath",
23082308
.version = {1, 15, 0},
23092309
.features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE |
2310-
DM_TARGET_PASSES_INTEGRITY,
2310+
DM_TARGET_PASSES_INTEGRITY | DM_TARGET_ATOMIC_WRITES,
23112311
.module = THIS_MODULE,
23122312
.ctr = multipath_ctr,
23132313
.dtr = multipath_dtr,

0 commit comments

Comments
 (0)