[dm-devel] [PATCH 13/17] bottom-layer barrier support

Mikulas Patocka mpatocka at redhat.com
Mon Apr 20 08:01:48 UTC 2009


dm-multipath-flush.patch

Flush support for dm-multipath target.

Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>

---
 drivers/md/dm-mpath.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.30-rc1-devel/drivers/md/dm-mpath.c
===================================================================
--- linux-2.6.30-rc1-devel.orig/drivers/md/dm-mpath.c	2009-04-10 06:28:46.000000000 +0200
+++ linux-2.6.30-rc1-devel/drivers/md/dm-mpath.c	2009-04-10 06:33:51.000000000 +0200
@@ -824,6 +824,8 @@ static int multipath_ctr(struct dm_targe
 		goto bad;
 	}
 
+	ti->num_flush_requests = 1;
+
 	return 0;
 
  bad:




More information about the dm-devel mailing list