commit | db2d153d7a3d64618659f19e645a3351d3a732f3 | [log] [tgz] |
---|---|---|
author | Max Gurtovoy <maxg@mellanox.com> | Thu Jul 06 18:00:07 2017 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jul 06 09:52:09 2017 -0600 |
tree | 96849f497221488c9ec04cc0c06afbb2510ac9c2 | |
parent | 615d22a51c04856efe62af6e1d5b450aaf5cc2c0 [diff] |
null_blk: fix error flow for shared tags during module_init In case we use shared tags feature, blk_mq_alloc_tag_set might fail during module initialization. In that case, fail the load with a suitable error code. Also move the tagset initialization process after defining the amount of submission queues. Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>