summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-06-22 10:12:24 +0100
committerAlasdair G Kergon <agk@redhat.com>2009-06-22 10:12:24 +0100
commit8627921fa2ef6d40fd9b787e163ba3a9ff8f471d (patch)
treea34175f655e47785104b204e1b461baa8d10ecce /drivers/md
parentc927259e34e518d913d86f51c71b786a513f94d6 (diff)
downloadop-kernel-dev-8627921fa2ef6d40fd9b787e163ba3a9ff8f471d.zip
op-kernel-dev-8627921fa2ef6d40fd9b787e163ba3a9ff8f471d.tar.gz
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>
Diffstat (limited to 'drivers/md')
-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 92bdcbb..f1cf8f7 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:
OpenPOWER on IntegriCloud