diff options
author | Christoph Hellwig <hch@lst.de> | 2022-06-14 11:09:29 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-27 14:29:11 +0200 |
commit | 8689461be3f1ce6686bc26f1f379790bb0fc7a8c (patch) | |
tree | c06cf2c3c78014e04481bbc84a72418a0ef41826 /block/blk-merge.c | |
parent | block: Make blk_mq_get_sq_hctx() select the proper hardware queue type (diff) | |
download | linux-8689461be3f1ce6686bc26f1f379790bb0fc7a8c.tar.xz linux-8689461be3f1ce6686bc26f1f379790bb0fc7a8c.zip |
block: factor out a chunk_size_left helper
Factor out a helper from blk_max_size_offset so that it can be reused
independently.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Link: https://lore.kernel.org/r/20220614090934.570632-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions