]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: warn if sharing request queue across gendisks
authorOmar Sandoval <osandov@fb.com>
Tue, 28 Mar 2017 23:12:15 +0000 (16:12 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 29 Mar 2017 14:09:08 +0000 (08:09 -0600)
commit334335d2f7a077a5ff561d86b0ad43bedd83ca05
tree7df8f5fb1b67e34ed19af17476ee2ed01bb2c673
parentd3cfb2a0ac0b8487d28a1ee207c29617bf6e6820
block: warn if sharing request queue across gendisks

Now that the remaining drivers have been converted to one request queue
per gendisk, let's warn if a request queue gets registered more than
once. This will catch future drivers which might do it inadvertently or
any old drivers that I may have missed.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-sysfs.c
include/linux/blkdev.h