diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-03 18:04:03 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-04 20:20:10 +0300 |
commit | 8e0b60b96ba06d826a2b26e23b1986853a4e5291 (patch) | |
tree | 2acba43aed9841b5842716306404e0294a52f1e6 /include/linux/blkdev.h | |
parent | c43c83a294e8dc25072ca9e6fca4cdbc5564f3d4 (diff) | |
download | linux-8e0b60b96ba06d826a2b26e23b1986853a4e5291.tar.xz |
blk-mq: enable polling support by default
Now that applications need to explicitly ask for polling we can enable it
by default in blk-mq drivers. Note that this will only have an affect
on driver that supply a poll function, which currently only includes nvme.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stephen Bates <stephen.bates@pmcs.com>
Tested-by: Stephen Bates <stephen.bates@pmcs.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 29189aeace19..ff33a1ab58c9 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -499,7 +499,8 @@ struct request_queue { #define QUEUE_FLAG_MQ_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \ (1 << QUEUE_FLAG_STACKABLE) | \ - (1 << QUEUE_FLAG_SAME_COMP)) + (1 << QUEUE_FLAG_SAME_COMP) | \ + (1 << QUEUE_FLAG_POLL)) static inline void queue_lockdep_assert_held(struct request_queue *q) { |