]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_blk: make SCSI passthrough support configurable
authorChristoph Hellwig <hch@lst.de>
Sat, 28 Jan 2017 08:32:53 +0000 (09:32 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 17:53:10 +0000 (10:53 -0700)
commit8ab3a9deed09aecbfccbe8b7bdd673e2e71d6c82
tree95ea8c487520cca26e825c5e7272714086034d54
parent062cf6a02db0b556224e11867c2024567039493f
virtio_blk: make SCSI passthrough support configurable

The SCSI passthrough idea was a a bad idea to start with (guess who came
up with it?), and has been removed from the virtio 1.O spec, and is not
enabled by defauly by any host I know of.  Add a separate config option
for it so that we don't need to enable it for most setups.  That way
any bugs related to it (like the one recently fixed for vmapped stacks)
do not affect other users, and the size of the virtblk_req structure
also shrinks significantly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/Kconfig
drivers/block/virtio_blk.c