Ming Lei 71ac860af8 block: move blk_io_schedule() out of header file
blk_io_schedule() isn't called from performance sensitive code path, and
it is easier to maintain by exporting it as symbol.

Also blk_io_schedule() is only called by CONFIG_BLOCK code, so it is safe
to do this way. Meantime fixes build failure when CONFIG_BLOCK is off.

Cc: Christoph Hellwig <hch@infradead.org>
Fixes: e6249cdd46e4 ("block: add blk_io_schedule() for avoiding task hung in sync dio")
Reported-by: Satya Tangirala <satyat@google.com>
Tested-by: Satya Tangirala <satyat@google.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-05-14 08:06:04 -06:00
..
2020-04-22 10:47:06 -06:00
2020-03-17 20:55:21 +01:00
2020-05-12 20:36:28 -06:00
2019-10-07 21:19:10 -06:00
2020-05-12 20:36:28 -06:00
2020-01-03 09:33:21 +01:00
2020-04-20 11:32:59 -06:00
2019-07-15 09:20:27 -03:00
2020-01-06 20:59:04 -07:00