Re: [PATCH 00/23] per device dirty throttling -v8
From: Jeff Garzik
Date: Sun Aug 05 2007 - 06:42:59 EST
Jakob Oestergaard wrote:
Oh dear.
Why not just make ext3 fsync() a no-op while you're at it?
Distros can turn it back on if it's needed...
Of course I'm not serious, but like atime, fsync() is something one
No, they are nothing alike, and you are just making yourself look silly
if you compare them. fsync has to do with fundamental guarantees about
data.
expects to work if it's there. Disabling atime updates or making
fsync() a no-op will both result in silent failure which I am sure we
can agree is disasterous.
<rolls eyes> Climb down from hyperbole mountain.
If you can show massive amounts of users that will actually be
negatively impacted, please present hard evidence.
Otherwise all this is useless hot air.
Why on earth would you cripple the kernel defaults for ext3 (which is a
fine FS for boot/root filesystems), when the *fundamental* problem you
really want to solve lie much deeper in the implementation of the
filesystem? Noatime doesn't solve the problem, it just makes it "less
horrible".
atime updates -are- a fundamental problem, one you cannot solve by
tweaking filesystem implementations. No matter how much you try to hide
or batch, atime dirties an inode each time on every read... for a
feature a tiny minority of programs care about, much less depend on.
Remember several filesystems lock atime to mtime, because they do not
have a concept of atime, and programs continue to work just fine. We
already have field proof of how little atime matters in reality.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/