]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - block/blk-mq.c
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)
commit6544d229bf433b755e77800002e078e54cd9b42b
treed4c1008a4d1b50e9d085f65af4e17fcee4677491
parent376f7ef8bfeaee3993c2e85df1bbaa06725b9342
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