mbox series

[PATCHSET,0/2] Avoid unnecessary indirect calls for bdev dio

Message ID 20211203153829.298893-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Avoid unnecessary indirect calls for bdev dio | expand

Message

Jens Axboe Dec. 3, 2021, 3:38 p.m. UTC
Hi,

There really is no point to going through generic_file_read_iter() only
to call back into our own bdev dio handler. Move the logic into
bdev/fops.c instead and avoid both a function call and an indirect
function call.