浏览代码

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>
Mikulas Patocka 16 年之前
父节点
当前提交
8627921fa2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/md/dm-mpath.c

+ 2 - 0
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: