diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-04-08 03:41:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-17 16:44:03 +0200 |
commit | 843283e96e5a3d8379579ac13ce9cbf75522ffde (patch) | |
tree | 8b70adbe64ce3c0d8312865ea98ff7b7651fda9d /kernel/watchdog_buddy.c | |
parent | block: Introduce zone write plugging (diff) | |
download | linux-843283e96e5a3d8379579ac13ce9cbf75522ffde.tar.xz linux-843283e96e5a3d8379579ac13ce9cbf75522ffde.zip |
block: Fake max open zones limit when there is no limit
For a zoned block device that has no limit on the number of open zones
and no limit on the number of active zones, the zone write plug mempool
is created with a size of 128 zone write plugs. For such case, set the
device max_open_zones queue limit to this value to indicate to the user
the potential performance penalty that may happen when writing
simultaneously to more zones than the mempool size.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Hans Holmberg <hans.holmberg@wdc.com>
Tested-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240408014128.205141-9-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/watchdog_buddy.c')
0 files changed, 0 insertions, 0 deletions