Files
linux/drivers/md/bcache
Kent Overstreet 30d0e7953b bcache: Fix flushes in writeback mode
commit c0f04d88e4 upstream.

In writeback mode, when we get a cache flush we need to make sure we
issue a flush to the backing device.

The code for sending down an extra flush was wrong - by cloning the bio
we were probably getting flags that didn't make sense for a bare flush,
and also the old code was firing for FUA bios, for which we don't need
to send a flush to the backing device.

This was causing data corruption somehow - the mechanism was never
determined, but this patch fixes it for the users that were seeing it.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-05 07:13:09 -07:00
..
2013-04-30 19:14:40 -07:00
2013-03-23 16:11:31 -07:00
2013-10-05 07:13:09 -07:00
2013-03-23 16:11:31 -07:00
2013-07-28 16:30:09 -07:00
2013-03-25 13:06:13 -06:00
2013-03-23 16:11:31 -07:00
2013-03-23 16:11:31 -07:00
2013-05-15 00:42:51 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 16:11:31 -07:00
2013-07-28 16:30:10 -07:00
2013-03-23 16:11:31 -07:00