Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
altfredd
on Nov 22, 2023
|
parent
|
context
|
favorite
| on:
I tested four NVMe SSDs from four vendors – half l...
The "data" setting of ext filesystems isn't replacement for fsync().
Dylan16807
on Nov 22, 2023
[–]
It's not a replacement but it can give you
some
guarantees.
Also fsync is a terrible API that
should
be replaced, but that's mostly a different topic.
the8472
on Nov 22, 2023
|
parent
[–]
At least on linux you can use io_uring to make fsync asynchronous. And you can initiate some preparatory flushing with sync_file_range and only do the final commit with fsync to cut down the latency.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: