Commit 8627921f authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Alasdair G Kergon

dm mpath: support barriers

Flush support for dm-multipath target.
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent c927259e
...@@ -835,6 +835,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc, ...@@ -835,6 +835,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc,
goto bad; goto bad;
} }
ti->num_flush_requests = 1;
return 0; return 0;
bad: bad:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment