Re: [PATCH v2 01/16] block: Add atomic write operations to request_queue limits

Martin K. Petersen
2023-12-14T04:38:33Z

Ming,

> Relying on driver to provide sound value is absolutely bad design from
> API viewpoint.

All the other queue_limits are validated by the LLDs. It's challenging
to lift that validation to the block layer since the values reported are
heavily protocol-dependent and thus information is lost if we do it
somewhere else.

--
Martin K. Petersen Oracle Linux Engineering