<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Erez,<BR>
&nbsp;<BR>
I have tried to reproduce the bug and I am completely unable to do so. It does indeed appear to be fixed. <BR>
&nbsp;<BR>
Thank you for the fix!<BR>
&nbsp;<BR>
Kind regards,<BR>
&nbsp;<BR>
John Nielsen<BR><BR><BR><BR><BR>

<HR id=stopSpelling>
<BR>
&gt; Date: Tue, 18 Dec 2007 01:55:57 -0500<BR>&gt; From: ezk@cs.sunysb.edu<BR>&gt; To: junx_dk@hotmail.com<BR>&gt; CC: ezk@cs.sunysb.edu; unionfs@fsl.cs.sunysb.edu<BR>&gt; Subject: [Unionfs] timestamp/mtime related bugs, probable fix<BR>&gt; <BR>&gt; John, I believe I fixed the bug you reported in "possible timestamp related<BR>&gt; problem". Thanks for your help in reproducing the bug.<BR>&gt; <BR>&gt; It was caused when reusing old inode times in a newly allocated inode, which<BR>&gt; was active before, had some m/c/atimes in it, freed, and returned to the<BR>&gt; inode cache: the older times were not reset, and if they were newer than the<BR>&gt; current lower inode times, then they never reverted back. This only<BR>&gt; happened on systems with not much memory, that use a lot of inodes over a<BR>&gt; long enough period of time -- enough to cause the icache to recycle them.<BR>&gt; <BR>&gt; The fix was simple, as the patch below shows. With this fix, I'm able to<BR>&gt; built perl on your system several times for a few hours already; without the<BR>&gt; fix, the build fails mid-way.<BR>&gt; <BR>&gt; If I'm right, this should also fix two other reported bugs that<BR>&gt; others have reported as file mtimes changing seemingly randomly:<BR>&gt; <BR>&gt; https://bugzilla.fsl.cs.sunysb.edu/show_bug.cgi?id=575<BR>&gt; https://bugzilla.fsl.cs.sunysb.edu/show_bug.cgi?id=578<BR>&gt; <BR>&gt; Erez.<BR>&gt; <BR>&gt; <BR>&gt; diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c<BR>&gt; index 37fdc29..562880a 100644<BR>&gt; --- a/fs/unionfs/super.c<BR>&gt; +++ b/fs/unionfs/super.c<BR>&gt; @@ -55,6 +55,14 @@ static void unionfs_read_inode(struct inode *inode)<BR>&gt; <BR>&gt; inode-&gt;i_mapping-&gt;a_ops = &amp;unionfs_aops;<BR>&gt; <BR>&gt; + /*<BR>&gt; + * reset times so unionfs_copy_attr_all can keep out time invariants<BR>&gt; + * right (upper inode time being the max of all lower ones).<BR>&gt; + */<BR>&gt; + inode-&gt;i_atime.tv_sec = inode-&gt;i_atime.tv_nsec = 0;<BR>&gt; + inode-&gt;i_mtime.tv_sec = inode-&gt;i_mtime.tv_nsec = 0;<BR>&gt; + inode-&gt;i_ctime.tv_sec = inode-&gt;i_ctime.tv_nsec = 0;<BR>&gt; +<BR>&gt; unionfs_read_unlock(inode-&gt;i_sb);<BR>&gt; }<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; unionfs mailing list: http://unionfs.filesystems.org/<BR>&gt; unionfs@mail.fsl.cs.sunysb.edu<BR>&gt; http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs<BR><BR><br /><hr />Windows Live Spaces er her! Du kan nemt oprette dit eget personlige websted. <a href='http://spaces.live.com/signup.aspx' target='_new'>Prøv det!</a></body>
</html>