diff options
author | Jens Axboe <axboe@fb.com> | 2015-11-05 18:41:40 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-07 18:40:47 +0100 |
commit | 7b371636fb6d187873d9d2730c2b1febc48a9b47 (patch) | |
tree | 28044eb235fb576771b171ade4e40cfd5d9343a8 /block/blk-sysfs.c | |
parent | block: change ->make_request_fn() and users to return a queue cookie (diff) | |
download | linux-7b371636fb6d187873d9d2730c2b1febc48a9b47.tar.xz linux-7b371636fb6d187873d9d2730c2b1febc48a9b47.zip |
blk-mq: return tag/queue combo in the make_request_fn handlers
Return a cookie, blk_qc_t, from the blk-mq make request functions, that
allows a later caller to uniquely identify a specific IO. The cookie
doesn't mean anything to the caller, but the caller can use it to later
pass back to the block layer. The block layer can then identify the
hardware queue and request from that cookie.
Signed-off-by: Jens Axboe <axboe@fb.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions