]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: add support for shared tags
authorJens Axboe <axboe@kernel.dk>
Tue, 20 Jun 2017 20:22:01 +0000 (14:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Jun 2017 20:22:01 +0000 (14:22 -0600)
commitccf0e80cb39294c3f0d99e36e565efb2081f63f2
treeda5a8eeee2aaaad6146c669ce56e92b4ce8acc2e
parentc41e779b6433f3108bb1f9bff925262136f6d742
null_blk: add support for shared tags

Some storage drivers need to share tag sets between devices. It's
useful to be able to model that with null_blk, to find hangs or
performance issues.

Add a 'shared_tags' bool module parameter that. If that is set to
true and nr_devices is bigger than 1, all devices allocated will
share the same tag set.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.c