On 31/05/2024 08:48, Christoph Hellwig wrote:
Assign all queue limits through a local queue_limits variable and queue_limits_commit_update so that we can't race updating them from multiple places, and freeze the queue when updating them so that in-progress I/O submissions don't see half-updated limits. Signed-off-by: Christoph Hellwig<hch@xxxxxx> Reviewed-by: Damien Le Moal<dlemoal@xxxxxxxxxx>
FWIW, Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>