Files
linux/drivers/md
Namhyung Kim c0877c4bc4 md/raid5: fix FUA request handling in ops_run_io()
commit b062962edb upstream.

Commit e9c7469bb4 ("md: implment REQ_FLUSH/FUA support")
introduced R5_WantFUA flag and set rw to WRITE_FUA in that case.
However remaining code still checks whether rw is exactly same
as WRITE or not, so FUAed-write ends up with being treated as
READ. Fix it.

This bug has been present since 2.6.37 and the fix is suitable for any
-stable kernel since then.  It is not clear why this has not caused
more problems.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-23 15:24:08 -07:00
..
2006-01-01 22:21:50 +01:00
2009-06-22 10:12:26 +01:00
2009-04-09 00:27:17 +01:00
2011-02-17 15:37:14 -08:00
2009-06-22 10:12:29 +01:00
2009-12-18 14:05:02 -08:00
2007-10-20 02:01:26 +01:00
2009-03-31 14:57:37 +11:00