Corner case
Corner case
Posted Nov 12, 2025 20:23 UTC (Wed) by koverstreet (✭ supporter ✭, #4296)In reply to: Corner case by kreijack
Parent article: The intersection of unstable pages and direct I/O
It's important to note that there are different alignment requirements for the buffer - "dma alignment" - and the file offset, and they both have to be checked for (via statx).
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.
