summaryrefslogtreecommitdiffstats
path: root/block/blk-merge.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-06-14 11:09:29 +0200
committerJens Axboe <axboe@kernel.dk>2022-06-27 14:29:11 +0200
commit8689461be3f1ce6686bc26f1f379790bb0fc7a8c (patch)
treec06cf2c3c78014e04481bbc84a72418a0ef41826 /block/blk-merge.c
parentblock: Make blk_mq_get_sq_hctx() select the proper hardware queue type (diff)
downloadlinux-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