News for hackers. Stuff that matters.
Re:Linux's fsync() woes are getting some attention by bodyfour on Tuesday March 11, 2014 @01:42AM (#7377636)
> or you have allocated blocks or otherwise performanced a write which required updating file system metadata

What if you're appending to a file, and want to checkpoint every so often. I guess you can be clever with fallocate(FALLOC_FL_KEEP_SIZE) to avoid the block allocation, but won't st_size still need to be updated?

I also assume that st_mtime doesn't count towards dirtying the metadata.

There are no comments on this comment yet.