diff options
author | Mike Snitzer <snitzer@redhat.com> | 2013-05-10 14:37:16 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-05-10 14:37:16 +0100 |
commit | 042bcef889f4319d366c67fb694f1f2498fcb68e (patch) | |
tree | dd34fdad86249ddcdcfaa5b09262a33e6d7e7fdf /drivers/md | |
parent | dc019b21fb92d620a3b52ccecc135ac968a7c7ec (diff) | |
download | linux-042bcef889f4319d366c67fb694f1f2498fcb68e.tar.gz linux-042bcef889f4319d366c67fb694f1f2498fcb68e.tar.bz2 linux-042bcef889f4319d366c67fb694f1f2498fcb68e.zip |
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: Mike Snitzer <snitzer@redhat.com>
Tested-by: Bharata B Rao <bharata.rao@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-mpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 51bb81676be3..bdf26f5bd326 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -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; |