]> git.baikalelectronics.ru Git - kernel.git/commit
block: enable polling by default if a poll map is initalized
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Dec 2018 16:46:28 +0000 (17:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 18:38:19 +0000 (11:38 -0700)
commit47b2ae639863e3d0759e565ebbba0d5f57b03108
treed4c1008a4d1b50e9d085f65af4e17fcee4677491
parent637038269bc70672111c556c6326aabdb0516fb7
block: enable polling by default if a poll map is initalized

If the user did setup polling in the driver we should not require
another know in the block layer to enable it.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c