dm raid1: implement mirror_flush
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 10 Dec 2009 23:52:02 +0000 (23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:02 +0000 (23:52 +0000)
commitc0da3748b9a894b9f9b561ecc2d090a913988a0f
tree85213c004d3b39dae3d64ab8e4a641958421b231
parent076010e2e6ea5b66dfd1f81a6133fb014c9b291d
dm raid1: implement mirror_flush

Implement flush callee. It uses dm_io to send zero-size barrier synchronously
and concurrently to all the mirror legs.

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