]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: move the retries count to struct nvme_request
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:18:11 +0000 (19:18 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 5 Apr 2017 18:05:08 +0000 (12:05 -0600)
commitb0f5be4f83f624a1756d38d6c449f90df86892b6
tree15f55ff95415370841543d8514bfc981e5cd5b1e
parentda49217a97169f46acb6dd6a1a2380d822097093
nvme: move the retries count to struct nvme_request

The way NVMe uses this field is entirely different from the older
SCSI/BLOCK_PC usage, so move it into struct nvme_request.

Also reduce the size of the file to a unsigned char so that we leave
space for additional smaller fields that will appear soon.

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>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h