From: Mikulas Patocka Date: Mon, 22 Jun 2009 09:12:24 +0000 (+0100) Subject: dm mpath: support barriers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8627921fa2ef6d40fd9b787e163ba3a9ff8f471d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dm mpath: support barriers Flush support for dm-multipath target. Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon --- 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: