On Mon, Jan 06, 2025 at 07:46:19PM +0900, Damien Le Moal wrote: > The freeze must NOT be done for the "if (entry->store_limit)" case. So this > needs to go int the "else". Otherwise, you still have freeze the take limit > lock order which can cause the ABBA deadlocks in SCSI sd. That is fixed in the next patch. This one is pure refactoring without behavior change.