blk-mq: add BLK_MQ_F_NO_SCHED flag
authorJens Axboe <axboe@fb.com>
Mon, 5 Dec 2016 18:15:02 +0000 (11:15 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 5 Dec 2016 18:17:48 +0000 (11:17 -0700)
commitde14c4a59ff6aa1092efb1bcf01f4b53fa3fceaa
tree1c89e263e4554a9a41c235ed0c15159d7c30c0a4
parent1e9ce5fe1b2c5c9cd74eae988eb40a1d88dcb1d8
blk-mq: add BLK_MQ_F_NO_SCHED flag

Drivers can use this to prevent IO scheduling on a queue. Use this
for NVMe, for the admin queue, which doesn't handle file system
requests.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c
include/linux/blk-mq.h