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: Rik van Riel <riel@...>
Cc: <Valdis.Kletnieks@...>, Anton Salikhmetov <salikhmetov@...>, <linux-mm@...>, <linux-kernel@...>
Date: Wednesday, January 9, 2008 - 6:19 pm

Rik van Riel wrote:

Could you elaborate on why that would break mutt?  I am assuming
that the pages being modified are mmap'd, but if they are not, then
it is very clear why mutt (and anything else) would break.


As long as we can keep track of that information and then remember
it for an munmap so that eventually the file times do get updated,
then this should work.

It would seem that a better solution would be to update the file
times whenever the inode gets cleaned, ie. modified pages written
out and the inode synchronized to the disk.  That way, long running
programs would not have to msync occasionally in order to have
the data file properly backed up.

    Thanx...

       ps

       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, (Wed Jan 9, 6:19 pm)
Re: [PATCH][RFC][BUG] updating the ctime and mtime time stam..., Anton Salikhmetov, (Wed Jan 9, 11:31 am)