diff options
author | 2020-05-14 16:45:09 +0800 | |
---|---|---|
committer | 2020-05-14 08:06:04 -0600 | |
commit | 71ac860af824ce9ebbbe8de20044e777c0fc33b9 (patch) | |
tree | a060314e64f575390ed43d4009778bc6ce27826d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | zonefs: use REQ_OP_ZONE_APPEND for sync DIO (diff) | |
download | wireguard-linux-71ac860af824ce9ebbbe8de20044e777c0fc33b9.tar.xz wireguard-linux-71ac860af824ce9ebbbe8de20044e777c0fc33b9.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions