diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2009-06-22 11:12:24 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-06-22 11:12:24 +0200 |
commit | 8627921fa2ef6d40fd9b787e163ba3a9ff8f471d (patch) | |
tree | a34175f655e47785104b204e1b461baa8d10ecce | |
parent | dm delay: support barriers (diff) | |
download | linux-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.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, goto bad; } + ti->num_flush_requests = 1; + return 0; bad: |