commit | 1c0706a70a64eda48477caa880657e07f5196512 | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Wed Aug 19 23:20:22 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 03 15:20:46 2020 -0600 |
tree | e9d1f5b2334c97d192dc75313f55ebc2fa1359f6 | |
parent | 4d063237b92a4e8d99350ad05492a45009a3c78c [diff] |
blk-mq: Pass flags for tag init/free Pass hctx/tagset flags argument down to blk_mq_init_tags() and blk_mq_free_tags() for selective init/free. For now, make it include the alloc policy flag, which can be evaluated when needed (in blk_mq_init_tags()). Signed-off-by: John Garry <john.garry@huawei.com> Tested-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>