commit | 5810d903fa3459e703ce82a1d45136813c6afad8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Apr 29 20:49:48 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Tue Apr 29 20:49:48 2014 -0600 |
tree | ef916e48f6bced5a29de12ce29da9fa7e7b13ac4 | |
parent | bdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d [diff] |
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: Jens Axboe <axboe@fb.com>