Re: [PATCHv13 04/11] block: introduce a write_stream_granularity queue limit

John Garry
2024-12-11T08:48:09Z

>
> unsigned int max_open_zones;
> unsigned int max_active_zones;
> @@ -1249,6 +1250,12 @@ static inline unsigned short bdev_max_write_streams(struct block_device *bdev)
> return bdev_limits(bdev)->max_write_streams;
> }
>
> +static inline unsigned int
> +bdev_write_stream_granularity(struct block_device *bdev)

is this referenced anywhere?

I see that Nitesh mentioned something similar also previously

> +{
> + return bdev_limits(bdev)->write_stream_granularity;
> +}
> +
> static inline unsigned queue_logical_block_size(const struct request_queue *q)
> {
> return q->limits.logical_block_size;