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)
commit44e44b29fb99a299dfaa404a59fa35519a197c6b
tree15f55ff95415370841543d8514bfc981e5cd5b1e
parent83f3aeb386e8cd24ad501a726c33a74422c03591
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