aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zstd/compress.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-08-18 07:11:30 +0000
committerJens Axboe <[email protected]>2020-08-21 23:14:28 +0000
commit5ddaabe8ed713f148e3d67e99b86d99427aceb5c (patch)
treef59dba0c010e262307f7f91fb16f2250df177a85 /lib/zstd/compress.c
parentnvme: rename and document nvme_end_request (diff)
downloadkernel-5ddaabe8ed713f148e3d67e99b86d99427aceb5c.tar.gz
kernel-5ddaabe8ed713f148e3d67e99b86d99427aceb5c.zip
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 'lib/zstd/compress.c')
0 files changed, 0 insertions, 0 deletions