block, scsi: move the retries field to struct scsi_request
Instead of bloating the generic struct request with it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:

committed by
Jens Axboe

parent
44e44b29fb
commit
64c7f1d157
@@ -11,6 +11,7 @@ struct scsi_request {
|
||||
unsigned short cmd_len;
|
||||
unsigned int sense_len;
|
||||
unsigned int resid_len; /* residual count */
|
||||
int retries;
|
||||
void *sense;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user