From: Mike Snitzer Date: Fri, 10 May 2013 13:37:16 +0000 (+0100) Subject: dm mpath: enable WRITE SAME support X-Git-Tag: submit/tizen_common/20140905.094502~2912^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=042bcef889f4319d366c67fb694f1f2498fcb68e;p=sdk%2Femulator%2Femulator-kernel.git 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 Tested-by: Bharata B Rao Signed-off-by: Alasdair G Kergon --- 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;