Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mappedfiles

From: Rik van Riel
Date: Fri Jan 18 2008 - 17:55:59 EST


On Fri, 18 Jan 2008 14:47:33 -0800 (PST)
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> - keep it simple. Let's face it, Linux has never ever given those
> guarantees before, and it's not is if anybody has really cared. Even
> now, the issue seems to be more about paper standards conformance than
> anything else.

There is one issue which is way more than just standards conformance.

When a program changes file data through mmap(), at some point the
mtime needs to be update so that backup programs know to back up the
new version of the file.

Backup programs not seeing an updated mtime is a really big deal.

--
All rights reversed.
--
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/