Re: [patch 2/8] update ctime and mtime for mmaped write

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <a.p.zijlstra@...>
Cc: <akpm@...>, <linux-kernel@...>, <linux-fsdevel@...>, <staubach@...>, <hugh@...>
Date: Tuesday, March 6, 2007 - 6:36 pm

> > AS_CMTIME is only for the case, when the "file modified since the last

There's a very important difference.  PG_dirty correctness is needed,
because the _number_ of dirty pages needs to be accounted.  But there
is no such requirement for AS_CMTIME, nobody cares _how_many_ pages
have been modified since the last msync() call.  All we need to know
is _if_ the file has been modified or not.

Thanks,
Miklos
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2/8] update ctime and mtime for mmaped write, Miklos Szeredi, (Tue Mar 6, 2:04 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Peter Zijlstra, (Tue Mar 6, 4:32 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Miklos Szeredi, (Tue Mar 6, 5:24 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Peter Zijlstra, (Tue Mar 6, 5:47 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Peter Zijlstra, (Tue Mar 6, 6:07 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Miklos Szeredi, (Tue Mar 6, 6:18 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Peter Zijlstra, (Tue Mar 6, 6:28 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Miklos Szeredi, (Tue Mar 6, 6:36 pm)
Re: [patch 2/8] update ctime and mtime for mmaped write, Miklos Szeredi, (Tue Mar 6, 6:00 pm)