dm raid1: support flush
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 10 Dec 2009 23:51:59 +0000 (23:51 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:51:59 +0000 (23:51 +0000)
commit4184153f9e483f9bb63339ed316e059962fe9794
tree054ae52af1a464d49bded004de64cdf342f40e68
parentf1e539874655ae9e74c1644fd54133b19f1b14e2
dm raid1: support flush

Flush support for dm-raid1.

When it receives an empty barrier, submit it to all the devices via dm-io.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid1.c
drivers/md/dm-region-hash.c