Messages in this thread | | | From | Bart Van Assche <> | Subject | Re: [PATCH] SCSI: run queue if SCSI device queue isn't ready and queue is idle | Date | Tue, 5 Dec 2017 16:16:44 +0000 |
| |
On Tue, 2017-12-05 at 15:29 +0100, Johannes Thumshirn wrote: > 1) Testing without the patch applied hangs the test forever as it > doesn't get killed after a specific timeout (I think this should be > solved in a common function).
Hello Johannes,
If a request queue got stuck then the processes that submitted the requests on that queue are unkillable. The only approach I know of to stop these processes is to send a kill signal and next to trigger a queue run from user space. One possible approach is to run the following command:
for d in /sys/kernel/debug/block/*; do echo kick >$d/state; done
Bart. | |