Searched hist:"8 af870aa" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-map.c | 8af870aa Fri Aug 05 17:43:09 CDT 2022 Jens Axboe <axboe@kernel.dk> 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>
|