diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-05 19:18:12 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-05 12:05:08 -0600 |
commit | 64c7f1d1572cacadfc0a4ca5a937aeffa486de58 (patch) | |
tree | 9b6a5030c06ba94e629e1411bebdb01b1735de78 /include/scsi | |
parent | 44e44b29fb99a299dfaa404a59fa35519a197c6b (diff) | |
download | linux-64c7f1d1572cacadfc0a4ca5a937aeffa486de58.tar.bz2 |
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>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_request.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_request.h b/include/scsi/scsi_request.h index ba0aeb980f7e..7c583a0f363a 100644 --- a/include/scsi/scsi_request.h +++ b/include/scsi/scsi_request.h @@ -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; }; |