Re: [PATCH] loop: defer the queue limits clear to a workqueue

From: Bart Van Assche

Date: Mon Aug 31 2026 - 14:22:43 EST


On 8/28/26 12:20 AM, Tao Cui wrote:
The code already has an XXX comment saying this should move to a
workqueue. Do that: schedule a work item on the system workqueue,
where it is safe to freeze the queue and update the limits using
queue_limits_commit_update_frozen().
The patch description explains why queue freezing is necessary but
does not add queue freeze and unfreeze calls. Is that perhaps an
oversight?

Thanks,

Bart.