Commit 61c73e8d authored by John Garry's avatar John Garry Committed by Mikulas Patocka
Browse files

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: default avatarJohn Garry <john.g.garry@oracle.com>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent ae97648e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2307,7 +2307,7 @@ static struct target_type multipath_target = {
	.name = "multipath",
	.version = {1, 15, 0},
	.features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE |
		    DM_TARGET_PASSES_INTEGRITY,
		    DM_TARGET_PASSES_INTEGRITY | DM_TARGET_ATOMIC_WRITES,
	.module = THIS_MODULE,
	.ctr = multipath_ctr,
	.dtr = multipath_dtr,