Re: [PATCH v3] scsi: core: Fix hang of freezing queue between blocking and running device

From: Bart Van Assche
Date: Mon Aug 23 2021 - 23:41:18 EST


On 8/23/21 7:59 PM, Li Jinlin wrote:
> We found a hang issue, the test steps are as follows:
> 1. blocking device via scsi_device_set_state()
> 2. dd if=/dev/sda of=/mnt/t.log bs=1M count=10
> 3. echo none > /sys/block/sda/queue/scheduler
> 4. echo "running" >/sys/block/sda/device/state

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>