summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-03-30 13:41:32 +0200
committerJens Axboe <axboe@fb.com>2017-04-04 09:48:23 -0600
commit77f02a7acd7654cd5944f2120831d1eace94b343 (patch)
treebee45db17a2a2f705c939f0769671008c3b3fda3 /block/blk-core.c
parent4bca70d0673927a8bef4b1de5fd8ddc735698a6b (diff)
downloadop-kernel-dev-77f02a7acd7654cd5944f2120831d1eace94b343.zip
op-kernel-dev-77f02a7acd7654cd5944f2120831d1eace94b343.tar.gz
nvme: factor request completion code into a common helper
This avoids duplicating the logic four times, and it also allows to keep some helpers static in core.c or just opencode them. Note that this loses printing the aborted status on completions in the PCI driver as that uses a data structure not available any more. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud