diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-18 18:07:09 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 13:55:04 +0200 |
commit | 87c037d11b83b93e9ab5eda9fb03c114f67024ff (patch) | |
tree | 82afc0ee91329f8b40060b6b2d4841c29369c53d /block/blk.h | |
parent | block: don't call blk_status_to_errno in blk_update_request (diff) | |
download | linux-87c037d11b83b93e9ab5eda9fb03c114f67024ff.tar.xz linux-87c037d11b83b93e9ab5eda9fb03c114f67024ff.zip |
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 '')
-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); |