blk-mq: remove QUEUE_FLAG_POLL from default MQ flags
authorJens Axboe <axboe@kernel.dk>
Wed, 5 Dec 2018 13:50:40 +0000 (06:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:36 +0000 (22:26 -0700)
commit6e0de61107f03c3222550d9b548cd331d31d82d1
treeeb7ef2f919e4981dcd3e6fc5d40efd4af48e1832
parent6544d229bf433b755e77800002e078e54cd9b42b
blk-mq: remove QUEUE_FLAG_POLL from default MQ flags

We only support polling if we have poll queues now, but the flag is
being set by default. Remove the default QUEUE_FLAG_POLL setting, we'll
set it in blk_mq_init_allocated_queue() if we have poll queues available
for this device.

Fixes: 6544d229bf43 ("block: enable polling by default if a poll map is initalized")
Reported-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h