lkml.org 
[lkml]   [2017]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] SCSI: run queue if SCSI device queue isn't ready and queue is idle
    Date
    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.
    \
     
     \ /
      Last update: 2017-12-05 17:17    [W:2.209 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site