diff options
author | Matias Bjorling <m@bjorling.me> | 2013-12-18 13:41:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-12-19 08:09:42 -0700 |
commit | 2d263a7856cbaf26dd89b671e2161c4a49f8461b (patch) | |
tree | 967e3340dc9a90690b04a93bffdf4c12cf8ed4c8 /Documentation | |
parent | 12f8f4fc0314103d47f9b1cbc812597b8d893ce1 (diff) | |
download | op-kernel-dev-2d263a7856cbaf26dd89b671e2161c4a49f8461b.zip op-kernel-dev-2d263a7856cbaf26dd89b671e2161c4a49f8461b.tar.gz |
null_blk: refactor init and init errors code paths
Simplify the initialization logic of the three block-layers.
- The queue initialization is split into two parts. This allows reuse of
code when initializing the sq-, bio- and mq-based layers.
- Set submit_queues default value to 0 and always set it at init time.
- Simplify the init error code paths.
Signed-off-by: Matias Bjorling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions