Re: [PATCH 11/14] sd: convert to the atomic queue limits API

2024-06-13 Thread Martin K. Petersen
Christoph, > 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. Reviewed-by: Marti

Re: [PATCH 11/14] sd: convert to the atomic queue limits API

2024-05-31 Thread John Garry
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 l

[PATCH 11/14] sd: convert to the atomic queue limits API

2024-05-31 Thread Christoph Hellwig
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 Review