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

Miklos Szeredi
2007-03-27T08:29:10Z

> > 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()?

It's rather more expensive, than just toggling a bit.

Let me work on it a bit more. I think I can make the current patch
more palatable.

Miklos