commit | 987f699a8f6c9a724e970c1bb4cde2e2c6a52010 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Apr 05 19:18:08 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 05 12:05:08 2017 -0600 |
tree | 5777fff8374a6628112037ca8ba2b614506d337c | |
parent | 8e14be53f470b47d044d9d552bdc3bb4c6723276 [diff] |
nvme: move ->retries setup to nvme_setup_cmd ->retries is counting the number of times a command is resubmitted, and be cleared on the first time we see the command. We currently don't do that for non-PCIe command, which is easily fixed by moving the setup to common code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>