• B
    blk-mq: fix hang in bt_get() · b3223207
    Bart Van Assche 提交于
    Avoid that if there are fewer hardware queues than CPU threads that
    bt_get() can hang. The symptoms of the hang were as follows:
    
    * All tags allocated for a particular hardware queue.
    * (nr_tags) pending commands for that hardware queue.
    * No pending commands for the software queues associated with that
      hardware queue.
    Signed-off-by: NJens Axboe <axboe@fb.com>
    b3223207
blk-mq-tag.c 13.6 KB