Commit 042bcef8 authored by Mike Snitzer's avatar Mike Snitzer Committed by Alasdair G Kergon

dm mpath: enable WRITE SAME support

Enable WRITE SAME support in dm multipath.  As far as multipath is
concerned it is just another write request.
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Tested-by: default avatarBharata B Rao <bharata.rao@gmail.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent dc019b21
...@@ -907,6 +907,7 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc, ...@@ -907,6 +907,7 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc,
ti->num_flush_bios = 1; ti->num_flush_bios = 1;
ti->num_discard_bios = 1; ti->num_discard_bios = 1;
ti->num_write_same_bios = 1;
return 0; return 0;
......
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