Comment 18 for bug 1366538

Revision history for this message
gianluca (amato) wrote : Re: Synchronisation/close /dev/sdi: i/o error on target host

I found the commit which causes this error.

commit 1918a05d9621d9659783dfaf7b009f873e835d53
Author: James Bottomley <email address hidden>
Date: Thu Jul 3 19:17:34 2014 +0200

    scsi: handle flush errors properly

    commit 89fb4cd1f717a871ef79fa7debbe840e3225cd54 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>