summaryrefslogtreecommitdiff
path: root/drivers/ipack
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-18 09:11:30 +0200
committerJens Axboe <axboe@kernel.dk>2020-08-21 17:14:28 -0600
commit5ddaabe8ed713f148e3d67e99b86d99427aceb5c (patch)
treef59dba0c010e262307f7f91fb16f2250df177a85 /drivers/ipack
parent2eb81a3364eada43985efc0641490b73af78d0fa (diff)
nvme: refactor command completion
Lift all the code to decide the dispostition of a completed command from nvme_complete_rq and nvme_failover_req into a new helper, which returns an emum of the potential actions. nvme_complete_rq then just switches on those and calls the proper helper for the action. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions