]> www.infradead.org Git - users/hch/block.git/commit
block: move max_{open,active}_zones to struct queue_limits
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Dec 2023 06:27:34 +0000 (06:27 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Feb 2024 05:00:01 +0000 (06:00 +0100)
commit0ff8fddc99d4a0fb1f259daa23685cf1de9b3fd5
treece0597cf65e1915302089ef352dc824c9e5cf38d
parentc3116e62ddeff79cae342147753ce596f01fcf06
block: move max_{open,active}_zones to struct queue_limits

The maximum number of open and active zones is a limit on the queue
and should be places there so that we can including it in the upcoming
queue limits batch update API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
include/linux/blkdev.h