Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anton Salikhmetov <salikhmetov@...>
Cc: Rik van Riel <riel@...>, Jakob Oestergaard <jakob@...>, <Valdis.Kletnieks@...>, <linux-mm@...>, <linux-kernel@...>
Date: Thursday, January 10, 2008 - 12:52 pm

Anton Salikhmetov wrote:

Well, that was the approach before we had I_DIRTY_PAGES.  I am
still wondering whether we can get this approach to work, with
a little more support and heuristics.  PeterZ's work to better
track dirty pages should be helpful in determining when and why
a patch was dirty.

I keep thinking that by recording the time when a page was found
to be dirty and the file is mmap'd and then updating the mtime
and ctime fields in the inode during msync() and sync_single_inode()
if that time is newer than the mtime and ctime fields, then we
can solve the problem of when and when not to update those two
time fields.

I haven't had a chance to think it all through completely or do
the appropriate analysis yet though.

       ps
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Jakob Oestergaard, (Thu Jan 10, 4:51 am)
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Anton Salikhmetov, (Thu Jan 10, 6:53 am)
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Anton Salikhmetov, (Thu Jan 10, 11:56 am)
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Anton Salikhmetov, (Thu Jan 10, 12:40 pm)
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Peter Staubach, (Thu Jan 10, 12:52 pm)
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Anton Salikhmetov, (Wed Jan 9, 11:31 am)