commit | e4200f8ee35db820680a3caa25d260ef11fc1462 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jun 28 16:18:59 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Thu Jul 17 22:16:28 2014 +0200 |
tree | ad487daeb1655daf388b08d1356822ecc60e6bf8 | |
parent | a25ee5485157403612fbb59be6c0435ede2f1da8 [diff] |
sd: retry discard commands Currently cmd->allowed is initialized from rq->retries for discard 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>