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

From: Martin K. Petersen
Date: Wed Dec 13 2023 - 23:38:38 EST



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