diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2009-06-22 05:12:24 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-06-22 05:12:24 -0400 |
commit | 8627921fa2ef6d40fd9b787e163ba3a9ff8f471d (patch) | |
tree | a34175f655e47785104b204e1b461baa8d10ecce | |
parent | c927259e34e518d913d86f51c71b786a513f94d6 (diff) |
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.c | 2 |
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, | |||
835 | goto bad; | 835 | goto bad; |
836 | } | 836 | } |
837 | 837 | ||
838 | ti->num_flush_requests = 1; | ||
839 | |||
838 | return 0; | 840 | return 0; |
839 | 841 | ||
840 | bad: | 842 | bad: |