Corner case
Corner case
Posted Nov 12, 2025 20:02 UTC (Wed) by kreijack (guest, #43513)In reply to: Corner case by abatters
Parent article: The intersection of unstable pages and direct I/O
My be that I am misunderstanding something, but direct-I/O have some requirements. One of these is that the read/write size shall be multiple of the page size, and the offset must be multiple of the page size. So under direct-io is not possible to update a portion of a page, because you have to write (at least) the full-page.
Posted Nov 12, 2025 20:20 UTC (Wed)
by abatters (✭ supporter ✭, #6932)
[Link]
Posted Nov 12, 2025 20:23 UTC (Wed)
by koverstreet (✭ supporter ✭, #4296)
[Link]
We recently ran into an application (rocksdb) that didn't work on bcachefs in largebs mode because of this - it was only checking dma alignment, not offset.
Corner case
Corner case
