block: move poll code to blk-mq
authorJens Axboe <axboe@fb.com>
Fri, 4 Nov 2016 15:34:34 +0000 (09:34 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 11 Nov 2016 20:40:25 +0000 (13:40 -0700)
commitbbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab
tree5a025d557bb82df1b27a209e924b0941f2c42aaa
parentb425b0201e89e6509032985532a33f1f92ac62a6
block: move poll code to blk-mq

The poll code is blk-mq specific, let's move it to blk-mq.c. This
is a prep patch for improving the polling code.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
block/blk-core.c
block/blk-mq.c
drivers/nvme/target/io-cmd.c
fs/direct-io.c
include/linux/blkdev.h