Re: [patch resend v4] update ctime and mtime for mmaped write

From: Andrew Morton
Date: Tue Mar 27 2007 - 04:19:10 EST


On Tue, 27 Mar 2007 10:03:41 +0200 Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> But Peter Staubach says a RH custumer has files written thorugh mmap,
> which are not being backed up.

Yes, I expect the backup problem is the major real-world hurt arising from
this bug.

But I expect we could adequately plug that problem at munmap()-time. Or,
better, do_wp_page(). As I said - half-assed.

It's a question if whether the backup problem is the only thing which is hurting
in the real-world, or if people have other problems.

(In fact, what's wrong with doing it in do_wp_page()? The timestamp could
be up to 30 seconds too early, but that's heaps better than what we have
now..)


-
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/