• Bart Van Assche's avatar
    dm rq: Avoid that request processing stalls sporadically · 6077c2d7
    Bart Van Assche authored
    While running the srp-test software I noticed that request
    processing stalls sporadically at the beginning of a test, namely
    when mkfs is run against a dm-mpath device. Every time when that
    happened the following command was sufficient to resume request
    processing:
    
        echo run >/sys/kernel/debug/block/dm-0/state
    
    This patch avoids that such request processing stalls occur. The
    test I ran is as follows:
    
        while srp-test/run_tests -d -r 30 -t 02-mq; do :; done
    Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
    Cc: Mike Snitzer <snitzer@redhat.com>
    Cc: dm-devel@redhat.com
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    6077c2d7
dm-rq.c 21.2 KB