summaryrefslogtreecommitdiffstats
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-05-31 05:20:50 +0200
committerJens Axboe <axboe@fb.com>2014-05-31 05:20:50 +0200
commited851860b4552fc8963ecf71eab9f6f7a5c19d74 (patch)
treed9fc4edbe2dd1400855705e8407cf0f87d2dc3ea /crypto/internal.h
parentblk-mq: remember to start timeout handler for direct queue (diff)
downloadlinux-ed851860b4552fc8963ecf71eab9f6f7a5c19d74.tar.xz
linux-ed851860b4552fc8963ecf71eab9f6f7a5c19d74.zip
blk-mq: push IPI or local end_io decision to __blk_mq_complete_request()
We have callers outside of the blk-mq proper (like timeouts) that want to call __blk_mq_complete_request(), so rename the function and put the decision code for whether to use ->softirq_done_fn or blk_mq_endio() into __blk_mq_complete_request(). This also makes the interface more logical again. blk_mq_complete_request() attempts to atomically mark the request completed, and calls __blk_mq_complete_request() if successful. __blk_mq_complete_request() then just ends the request. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions