diff options
author | Kanchan Joshi <joshi.k@samsung.com> | 2022-08-23 19:14:42 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-21 19:30:42 +0300 |
commit | c6e99ea482e2a9e1fef2488891242f9749584225 (patch) | |
tree | 8b112f1eda1d76b3a8602aa92bf0e0aa499a632e /include/linux/blk-mq.h | |
parent | 5756a3a7e713bcab705a5f0c810a2b1f7f4ecfaa (diff) | |
download | linux-c6e99ea482e2a9e1fef2488891242f9749584225.tar.xz |
block: export blk_rq_is_poll
This is in preparation to support iopoll for nvme passthrough.
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20220823161443.49436-4-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 92294a5fb083..de384f5d2c37 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -980,6 +980,7 @@ int blk_rq_map_kern(struct request_queue *, struct request *, void *, int blk_rq_append_bio(struct request *rq, struct bio *bio); void blk_execute_rq_nowait(struct request *rq, bool at_head); blk_status_t blk_execute_rq(struct request *rq, bool at_head); +bool blk_rq_is_poll(struct request *rq); struct req_iterator { struct bvec_iter iter; |