]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4b0a0d0b3d95cf9d64ab67f3d75584e3a1269cd
tree3a7bd34140d69a9c7bc5eb1874de773511770197
parent210aad3518ece27bb2d160778cc46cfc2b754c1a
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