Thread (43 messages) 43 messages, 5 authors, 2024-05-31

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

From: Damien Le Moal <dlemoal@kernel.org>
Date: 2024-05-29 08:10:50
Also in: ceph-devel, linux-scsi, linux-um, xen-devel

On 5/29/24 14: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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Looks good.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>

-- 
Damien Le Moal
Western Digital Research
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help