[dm-devel] [PATCH v2 11/12] dm mpath: enable discard support
Mike Snitzer
snitzer at redhat.com
Sat Jul 24 16:09:27 UTC 2010
Enable discard support in the DM multipath target.
This discard support depends on a few discard-specific fixes to the
block layer's request stacking driver methods.
Signed-off-by: Mike Snitzer <snitzer at redhat.com>
Cc: Kiyoshi Ueda <k-ueda at ct.jp.nec.com>
---
drivers/md/dm-mpath.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6-block/drivers/md/dm-mpath.c
===================================================================
--- linux-2.6-block.orig/drivers/md/dm-mpath.c
+++ linux-2.6-block/drivers/md/dm-mpath.c
@@ -893,6 +893,7 @@ static int multipath_ctr(struct dm_targe
}
ti->num_flush_requests = 1;
+ ti->num_discard_requests = 1;
return 0;
More information about the dm-devel
mailing list