diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-08-05 16:43:09 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-22 10:07:56 -0600 |
commit | 8af870aa5b84729d7a39f84226be6f84e4943d8f (patch) | |
tree | 846be7067a3243a20cfadb8182109176baef9699 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f5d632d15e9e0a037339601680d82bb840f85d10 (diff) |
block: enable bio caching use for passthru IO
bdev based polled O_DIRECT is currently quite a bit faster than
passthru on the same device, and one of the reaons is that we're not
able to use the bio caching for passthru IO.
If REQ_POLLED is set on the request, use the fs bio set for grabbing a
bio from the caches, if available. This saves 5-6% of CPU over head
for polled passthru IO.
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.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