What about other filesystems?
What about other filesystems?
Posted Jan 18, 2021 10:45 UTC (Mon) by farnz (subscriber, #17727)In reply to: What about other filesystems? by joib
Parent article: Fast commits for ext4
io_uring does provide the primitives needed; there's IORING_OP_FSYNC (with IORING_FSYNC_DATASYNC to weaken from fsync to fdatasync) and IORING_OP_SYNC_FILE_RANGE for flushing caches asynchronously, and the IOSQE_IO_DRAIN and IOSQE_IO_LINK flags to order io_uring operations with respect to each other so that you can issue the fsync after all the related writes have been done.