OSDN Git Service

null_blk: Enable modifying 'submit_queues' after an instance has been configured
authorBart Van Assche <bvanassche@acm.org>
Mon, 30 Sep 2019 23:00:47 +0000 (16:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Oct 2019 14:32:08 +0000 (08:32 -0600)
commit45919fbfe1c487c17ea1d198534339a5e8abeae3
treee2417be500349484afe1010f681ab3e1963a14d6
parente29158b4fff7b582643dc020343d52773aaef0c1
null_blk: Enable modifying 'submit_queues' after an instance has been configured

This patch makes it possible to test blk_mq_update_nr_hw_queues() from
inside a VM.

Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c