dm raid: fix flush support
authorJonathan E Brassow <jbrassow@redhat.com>
Wed, 7 Mar 2012 19:09:48 +0000 (19:09 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 7 Mar 2012 19:09:48 +0000 (19:09 +0000)
commit0ca93de9b789e0eb05e103f0c04de72df13da73a
tree3a7bd34140d69a9c7bc5eb1874de773511770197
parent3aa3b2b2b1edb813dc5342d0108befc39541542d
dm raid: fix flush support

Fix dm-raid flush support.

Both md and dm have support for flush, but the dm-raid target
forgot to set the flag to indicate that flushes should be
passed on.  (Important for data integrity e.g. with writeback cache
enabled.)

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid.c