diff options
author | Bart Van Assche <bvanassche@acm.org> | 2014-12-08 08:46:34 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-12-08 08:46:34 -0700 |
commit | b32232073e8061b41258bff2a10a06a91677480a (patch) | |
tree | 5cf6507cccea99afd291e0274c205c6474895881 /drivers/cpufreq/sh-cpufreq.c | |
parent | 6637fadf25657e619a50fde5ff3ae09a98d20eb5 (diff) | |
download | linux-b32232073e8061b41258bff2a10a06a91677480a.tar.gz linux-b32232073e8061b41258bff2a10a06a91677480a.tar.bz2 linux-b32232073e8061b41258bff2a10a06a91677480a.zip |
blk-mq: fix hang in bt_get()
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: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/cpufreq/sh-cpufreq.c')
0 files changed, 0 insertions, 0 deletions