[PATCH 06/14] sd: add a sd_disable_discard helper

Martin K. Petersen martin.petersen at oracle.com
Thu Jun 13 18:41:58 PDT 2024


Christoph,

> 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: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the linux-um mailing list