On Thu, Jun 12, 2025 at 04:37:22PM -0400, Mike Snitzer wrote: > On Thu, Jun 12, 2025 at 12:39:44AM -0700, Christoph Hellwig wrote: > > > > Another thing is that using the page cache for reads is probably > > rather pointless. I've been wondering if we should just change > > the direct I/O read code to read from the page cache if there are > > cached pages and otherwise go direct to the device. That would make > > a setup using buffered writes (without or without the dontcache > > flag) and direct I/O reads safe. > > Yes, that sounds like a good idea. Just an idea at this point or have > you tried to implement it? Just an idea. > FYI, I mentioned this earlier at one point in this thread but I was > thinking the IOR "hard" Sorry, but what is IOR?