diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-18 10:07:09 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 05:55:04 -0600 |
commit | 87c037d11b83b93e9ab5eda9fb03c114f67024ff (patch) | |
tree | 82afc0ee91329f8b40060b6b2d4841c29369c53d /block/blk.h | |
parent | 8a7d267b4a2c71a5ff5dd9046abea7117c7d0ac2 (diff) |
block: return whether or not to unplug through boolean
Instead of returning the same queue request through a request pointer,
use a boolean to accomplish the same.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h index e80350327e6d..b9729c12fd62 100644 --- a/block/blk.h +++ b/block/blk.h @@ -218,7 +218,7 @@ void blk_add_timer(struct request *req); void blk_print_req_error(struct request *req, blk_status_t status); bool blk_attempt_plug_merge(struct request_queue *q, struct bio *bio, - unsigned int nr_segs, struct request **same_queue_rq); + unsigned int nr_segs, bool *same_queue_rq); bool blk_bio_list_merge(struct request_queue *q, struct list_head *list, struct bio *bio, unsigned int nr_segs); |