On 7/31/24 10:42 PM, Shin'ichiro Kawasaki wrote:
To avoid the WARN, move the sd_read_cpr() call in sd_revalidate_disk() after the queue_limits_commit_update() call. In other words, move the sd_read_cpr() call out of the q->limits_lock region.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>