On Thu, Jun 18, 2026 at 07:17:35AM -0600, Keith Busch wrote: > > But since you mention it, __blkdev_direct_IO's handling does look wrong, > so maybe I can clean that up first.
After careful reviewing, I think __blkdev_direct_IO() is mostly correct in what it's doing. It looks weird, but appears to be well optimized for the common case such that making it look more readable would produce less efficient execution code. So I'm not going to touch it, but there is a bug here with metadata mapping error handling that I'm going to propose in the next version.
