Flush commands don't transfer data and thus need to be special cased
in the I/O completion handler so that we can propagate errors to
the block layer and filesystem.
Signed-off-by: James Bottomley <email address hidden>
Reported-by: Steven Haber <email address hidden>
Tested-by: Steven Haber <email address hidden>
Reviewed-by: Martin K. Petersen <email address hidden>
Signed-off-by: Christoph Hellwig <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
I found the commit which causes this error.
commit 1918a05d9621d96 59783dfaf7b009f 873e835d53
Author: James Bottomley <email address hidden>
Date: Thu Jul 3 19:17:34 2014 +0200
scsi: handle flush errors properly
commit 89fb4cd1f717a87 1ef79fa7debbe84 0e3225cd54 upstream.
Flush commands don't transfer data and thus need to be special cased
in the I/O completion handler so that we can propagate errors to
the block layer and filesystem.
Signed-off-by: James Bottomley <email address hidden>
Reported-by: Steven Haber <email address hidden>
Tested-by: Steven Haber <email address hidden>
Reviewed-by: Martin K. Petersen <email address hidden>
Signed-off-by: Christoph Hellwig <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>