Re: [PATCH] Update atime from future.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Dilger
Date: Monday, January 3, 2011 - 9:27 am

On 2011-01-03, at 3:27, Steven Whitehouse <swhiteho@redhat.com> wrote:

The problem that is seen is if a tarball has stored a bad atime, or someone fat-fingers a "touch" then the future atime will never be fixed. Before the relatime patch, the future atime would be updated back to the current time on the next access. One if our regression tests for Lustre caught this. 

I wouldn't mind changing the relatime check so that it only updates the atime if it is more than one day in the future. That will avoid thrashing atime if the clocks are only slightly out of sync, but still allow fixing completely bogus atimes. 

Cheers, Andreas--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Update atime from future., yangsheng, (Wed Dec 29, 6:58 am)
Re: [PATCH] Update atime from future., Andrew Morton, (Mon Jan 3, 3:17 am)
Re: [PATCH] Update atime from future., Steven Whitehouse, (Mon Jan 3, 3:27 am)
Re: [PATCH] Update atime from future., YangSheng, (Mon Jan 3, 5:54 am)
Re: [PATCH] Update atime from future., Andreas Dilger, (Mon Jan 3, 9:27 am)
Re: [PATCH] Update atime from future., YangSheng, (Mon Jan 3, 9:44 am)
Re: [PATCH] Update atime from future., Rogier Wolff, (Tue Jan 4, 7:56 am)