commit | a25ee5485157403612fbb59be6c0435ede2f1da8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jun 28 12:29:19 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Thu Jul 17 22:16:27 2014 +0200 |
tree | b878190650b7dd2c769979f543d25ec697362d7a | |
parent | 6a7b43985daa4f42b6d6f0186594c3a68f84a1d8 [diff] |
sd: retry write same commands Currently cmd->allowed is initialized from rq->retries for write same commands, but retries is always 0 for non-BLOCK_PC requests. Set it to the standard number of retries instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de>