Skip to content
Commit 5810d903 authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq: fix waiting for reserved tags



blk_mq_wait_for_tags() is only able to wait for "normal" tags,
not reserved tags. Pass in which one we should attempt to get
a tag for, so that waiting for reserved tags will work.

Reserved tags are used for internal commands, which are usually
serialized. Hence no waiting generally takes place, but we should
ensure that it actually works if users need that functionality.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent bdcfa3e5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment