On 7/25/25 2:13 AM, Peter Wang (王信友) wrote:
Could consider luns_avail instead mutex?
That would be wrong. I think it is essential that scan_mutex is used in this patch. Additionally, the lock inversion is between devfreq->lock and (c->notifiers)->rwsem so it seems unlikely to me that Ziqi's patch is the patch that introduced the reported lock inversion. Bart.