[PATCH 15/15] loop: use the atomic queue limits update API

Damien Le Moal dlemoal at kernel.org
Mon Jan 22 21:31:39 PST 2024


On 1/23/24 02:36, Christoph Hellwig wrote:
> Pass the default limits to blk_mq_alloc_disk and then use the
> queue_limits_{start,commit}_update API to change the limits in an
> atomic way on existing loop gendisks.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks OK to me.

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

-- 
Damien Le Moal
Western Digital Research




More information about the Linux-nvme mailing list