<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
Hi,<BR>
<BR>
On Seg, 2008-02-11 at 11:18 -0700, Andreas Dilger wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Feb 08, 2008  16:55 +0100, Aurelien Degremont wrote:</FONT>
<FONT COLOR="#000000">> But the touch could be problematic. Lustre gurus, is there another time </FONT>
<FONT COLOR="#000000">> field we could use instead ? Should we add a </FONT>
<FONT COLOR="#000000">> "last-modification-field-which-ignore-touch" ? Is this really a problem </FONT>
<FONT COLOR="#000000">> is we use display a "touched" time ? In this case, we display what the </FONT>
<FONT COLOR="#000000">> user set on the file, we suppose he did it in purpose.</FONT>

(snip)

<FONT COLOR="#000000">In ZFS I believe there is also a "last modified transaction group" (txg)</FONT>
<FONT COLOR="#000000">number stored with each dnode that could be used in a similar manner.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Hmm.. I think ZFS only has zp_gen in the dnode/znode, which is the txg of the file creation. We also cannot use the txg birth time of the block where the dnode is stored because a metadnode block holds several dnodes.<BR>
<BR>
I may be missing something here, but isn't the "ctime" the appropriate value to use here?<BR>
<BR>
Regards,<BR>
Ricardo<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
--<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="450">
<TR>
<TD WIDTH="121" VALIGN="top">
<IMG SRC="cid:1202764178.6391.38.camel@localhost" ALIGN="bottom" BORDER="0">
</TD>
<TD WIDTH="329" VALIGN="top">
<B><FONT SIZE="1">Ricardo Manuel Correia</FONT></B><BR>
<FONT SIZE="1">Lustre Engineering</FONT><BR>
<BR>
<B><FONT SIZE="1">Sun Microsystems, Inc.</FONT></B><BR>
<FONT SIZE="1">Portugal</FONT><BR>
<FONT SIZE="1">Phone +351.214134023 / x58723</FONT><BR>
<FONT SIZE="1">Mobile +351.912590825</FONT><BR>
<FONT SIZE="1">Email <A HREF="mailto:Ricardo.M.Correia@Sun.COM">Ricardo.M.Correia@Sun.COM</A></FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>