[PATCH 04/12] sd: add a sd_disable_discard helper

Bart Van Assche bvanassche at acm.org
Thu May 30 12:50:30 PDT 2024


On 5/28/24 22:04, Christoph Hellwig wrote:
> Add helper to disable discard when it is not supported and use it
> instead of sd_config_discard in the I/O completion handler.  This avoids
> touching more fields than required in the I/O completion handler and
> prepares for converting sd to use the atomic queue limits API.

Reviewed-by: Bart Van Assche <bvanassche at acm.org>




More information about the linux-um mailing list