James Bottomley 89fb4cd1f7 scsi: handle flush errors properly
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 <JBottomley@Parallels.com>
Reported-by: Steven Haber <steven@qumulo.com>
Tested-by: Steven Haber <steven@qumulo.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-07-17 21:56:34 +02:00
..
2014-06-09 18:54:06 -07:00
2011-07-26 16:49:47 -07:00
2014-05-19 19:12:23 +02:00
2014-04-18 14:20:48 +02:00
2014-04-01 18:49:04 -07:00
2014-06-14 19:49:48 -05:00
2014-06-06 07:57:37 -06:00
2013-04-09 14:13:21 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2013-04-09 14:13:23 -04:00
2014-06-09 18:54:06 -07:00
2013-02-27 19:10:18 -08:00
2011-03-31 11:26:23 -03:00
2013-10-25 11:36:26 +01:00
2013-04-09 14:13:17 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2011-03-31 11:26:23 -03:00
2013-04-09 14:13:27 -04:00
2012-03-28 18:30:03 +01:00
2013-04-09 14:13:15 -04:00
2014-05-28 18:14:16 +02:00
2011-03-31 11:26:23 -03:00
2014-06-06 07:57:37 -06:00
2011-03-31 11:26:23 -03:00
2013-12-06 08:30:18 -08:00
2012-02-21 11:40:37 +01:00
2013-04-09 14:13:17 -04:00
2014-07-17 21:56:34 +02:00
2014-04-10 15:30:35 -07:00
2014-04-10 15:30:35 -07:00
2014-04-01 18:49:04 -07:00
2012-01-03 22:54:07 -05:00
2013-11-23 22:33:50 -08:00
2014-06-06 07:57:37 -06:00
2014-06-06 07:57:37 -06:00
2012-09-14 17:59:29 +01:00
2014-05-28 18:14:16 +02:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00
2013-04-09 14:13:15 -04:00
2013-04-09 14:13:15 -04:00