Skip to content

Commit

Permalink
dm mpath: enable WRITE SAME support
Browse files Browse the repository at this point in the history
Enable WRITE SAME support in dm multipath.  As far as multipath is
concerned it is just another write request.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Tested-by: Bharata B Rao <bharata.rao@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
  • Loading branch information
Mike Snitzer authored and Alasdair G Kergon committed May 10, 2013
1 parent dc019b2 commit 042bcef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc,

ti->num_flush_bios = 1;
ti->num_discard_bios = 1;
ti->num_write_same_bios = 1;

return 0;

Expand Down

0 comments on commit 042bcef

Please sign in to comment.