diff options
author | Christoph Hellwig <[email protected]> | 2020-08-18 09:11:30 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-08-21 17:14:28 -0600 |
commit | 5ddaabe8ed713f148e3d67e99b86d99427aceb5c (patch) | |
tree | f59dba0c010e262307f7f91fb16f2250df177a85 /include/linux/fpga/fpga-mgr.h | |
parent | 2eb81a3364eada43985efc0641490b73af78d0fa (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 <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions