Christoph Hellwig
2a8f6153e1
block: pre-calculate max_zone_append_sectors
...
max_zone_append_sectors differs from all other queue limits in that the
final value used is not stored in the queue_limits but needs to be
obtained using queue_limits_max_zone_append_sectors helper. This not
only adds (tiny) extra overhead to the I/O path, but also can be easily
forgotten in file system code.
Add a new max_hw_zone_append_sectors value to queue_limits which is
set by the driver, and calculate max_zone_append_sectors from that and
the other inputs in blk_validate_zoned_limits, similar to how
max_sectors is calculated to fix this.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241104073955.112324-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-11-04 10:34:07 -07:00
..
2024-07-21 17:56:22 -07:00
2024-10-02 17:23:23 -04:00
2024-08-13 21:14:21 +02:00
2023-02-14 14:23:06 -05:00
2021-10-27 16:53:47 -04:00
2024-02-20 14:22:55 -05:00
2023-03-30 15:57:51 -04:00
2024-04-01 11:53:37 -06:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-08-22 18:32:55 +02:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-07-19 12:08:15 +02:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-10-29 09:15:00 -06:00
2024-09-02 16:53:53 +02:00
2024-10-29 09:15:00 -06:00
2024-06-26 11:32:39 -04:00
2024-10-02 17:23:23 -04:00
2024-05-09 09:10:58 -04:00
2024-02-20 14:22:55 -05:00
2024-07-10 13:10:06 +02:00
2024-07-19 12:08:15 +02:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2024-07-02 20:53:41 +02:00
2024-09-27 09:12:51 -07:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-07-02 12:00:43 +02:00
2024-08-13 13:51:34 +02:00
2024-02-20 14:22:51 -05:00
2024-06-26 11:32:39 -04:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-05-20 15:51:19 -04:00
2024-02-20 14:22:55 -05:00
2024-07-10 13:10:06 +02:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2024-09-27 09:12:51 -07:00
2024-02-20 14:22:55 -05:00
2024-09-15 21:02:54 +02:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2023-02-14 14:23:07 -05:00
2024-05-20 15:51:19 -04:00
2024-01-30 14:06:44 -05:00
2023-03-16 13:37:06 -04:00
2024-07-10 13:10:06 +02:00
2023-04-11 12:09:08 -04:00
2023-02-14 14:23:08 -05:00
2024-07-12 12:39:06 -04:00
2024-05-20 15:51:19 -04:00
2024-07-19 12:08:15 +02:00
2023-02-14 14:23:06 -05:00
2024-10-29 09:15:00 -06:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-04-11 12:09:08 -04:00
2024-07-03 21:41:11 +02:00
2024-07-03 21:41:11 +02:00
2023-06-28 10:43:04 -07:00
2024-10-02 16:21:08 +02:00
2024-09-26 17:27:08 +02:00
2023-02-14 14:23:06 -05:00
2024-10-02 16:21:08 +02:00
2024-02-20 14:22:55 -05:00
2024-05-20 15:51:19 -04:00
2024-11-04 10:34:07 -07:00
2024-02-12 08:41:16 -07:00
2021-06-04 12:07:24 -04:00
2024-07-10 13:10:06 +02:00
2022-07-14 12:14:31 -06:00
2024-09-15 21:02:54 +02:00
2024-08-21 13:12:12 +02:00
2024-07-03 21:41:11 +02:00
2024-02-20 13:43:17 -05:00
2023-12-19 10:16:51 -08:00
2024-09-16 13:33:06 +02:00
2024-08-27 12:43:16 -07:00
2024-08-27 12:43:16 -07:00
2024-07-12 01:30:18 +00:00
2024-09-06 10:31:12 -07:00
2024-08-28 14:55:57 -07:00
2024-06-26 09:37:35 -06:00
2023-06-30 15:43:50 -07:00
2024-08-27 12:43:16 -07:00
2024-09-16 13:33:06 +02:00
2024-02-29 22:49:45 -08:00
2024-08-29 09:37:10 -07:00
2022-08-02 17:14:31 -06:00
2024-03-06 08:59:53 -08:00
2024-08-29 09:37:10 -07:00
2024-08-29 09:37:10 -07:00
2024-08-27 12:43:15 -07:00
2023-07-27 00:13:29 -07:00