linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET 0/2] Avoid unnecessary indirect calls for bdev dio
@ 2021-12-03 15:38 Jens Axboe
  2021-12-03 15:38 ` [PATCH 1/2] mm: move filemap_range_needs_writeback() into header Jens Axboe
  2021-12-03 15:38 ` [PATCH 2/2] block: move direct_IO into our own read_iter handler Jens Axboe
  0 siblings, 2 replies; 15+ messages in thread
From: Jens Axboe @ 2021-12-03 15:38 UTC (permalink / raw)
  To: linux-block, linux-mm

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.

-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-12-06 16:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-03 15:38 [PATCHSET 0/2] Avoid unnecessary indirect calls for bdev dio Jens Axboe
2021-12-03 15:38 ` [PATCH 1/2] mm: move filemap_range_needs_writeback() into header Jens Axboe
2021-12-03 16:16   ` Matthew Wilcox
2021-12-03 16:24     ` Jens Axboe
2021-12-03 16:31       ` Jens Axboe
2021-12-03 16:35         ` Jens Axboe
2021-12-03 16:38           ` Jens Axboe
2021-12-03 17:46             ` Matthew Wilcox
2021-12-03 17:57               ` Jens Axboe
2021-12-03 18:01                 ` Jens Axboe
2021-12-03 18:14                   ` Matthew Wilcox
2021-12-03 19:09                     ` Jens Axboe
2021-12-03 15:38 ` [PATCH 2/2] block: move direct_IO into our own read_iter handler Jens Axboe
2021-12-06  6:58   ` Christoph Hellwig
2021-12-06 16:33     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).