summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-06-22 11:12:24 +0200
committerAlasdair G Kergon <agk@redhat.com>2009-06-22 11:12:24 +0200
commit8627921fa2ef6d40fd9b787e163ba3a9ff8f471d (patch)
treea34175f655e47785104b204e1b461baa8d10ecce
parentdm delay: support barriers (diff)
downloadlinux-8627921fa2ef6d40fd9b787e163ba3a9ff8f471d.tar.xz
linux-8627921fa2ef6d40fd9b787e163ba3a9ff8f471d.zip
dm mpath: support barriers
Flush support for dm-multipath target. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
-rw-r--r--drivers/md/dm-mpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 92bdcbb7c935..f1cf8f7449d6 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -835,6 +835,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc,
goto bad;
}
+ ti->num_flush_requests = 1;
+
return 0;
bad: