diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2009-06-22 10:12:24 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-06-22 10:12:24 +0100 |
commit | 8627921fa2ef6d40fd9b787e163ba3a9ff8f471d (patch) | |
tree | a34175f655e47785104b204e1b461baa8d10ecce /drivers/md/dm-mpath.c | |
parent | c927259e34e518d913d86f51c71b786a513f94d6 (diff) | |
download | op-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/dm-mpath.c')
-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 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: |