summaryrefslogtreecommitdiffstats
path: root/drivers/base/base.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-28 14:37:42 +0100
committerJens Axboe <axboe@kernel.dk>2024-03-06 16:27:01 +0100
commitfde07a4d74e3b511105e0b6c9372d42376fbbecb (patch)
treebfa14dbd850f66b2b82a19f6935b28860012b703 /drivers/base/base.h
parentdasd: move queue setup to common code (diff)
downloadlinux-fde07a4d74e3b511105e0b6c9372d42376fbbecb.tar.xz
linux-fde07a4d74e3b511105e0b6c9372d42376fbbecb.zip
dasd: use the atomic queue limits API
Pass the constant limits directly to blk_mq_alloc_disk, set the nonrot flag there as well, and then use the commit API to change the transfer size and logical block size dependent values. This relies on the assumption that no I/O can be pending before the devices moves into the ready state and doesn't need extra freezing for changes to the queue limits. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Link: https://lore.kernel.org/r/20240228133742.806274-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/base/base.h')
0 files changed, 0 insertions, 0 deletions