X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss-new X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id mABMuXD0024543 for ; Tue, 11 Nov 2008 14:56:33 -0800 X-ASG-Debug-ID: 1226444191-18ea020e0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from ipmail01.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 13DD71546E10 for ; Tue, 11 Nov 2008 14:56:32 -0800 (PST) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by cuda.sgi.com with ESMTP id yBqhzyPemVFeHpqK for ; Tue, 11 Nov 2008 14:56:32 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AucCABeYGUl5LDmzgWdsb2JhbACUKQEBFiK4RoNX X-IronPort-AV: E=Sophos;i="4.33,586,1220193000"; d="scan'208";a="229622024" Received: from ppp121-44-57-179.lns10.syd7.internode.on.net (HELO disturbed) ([121.44.57.179]) by ipmail01.adl6.internode.on.net with ESMTP; 12 Nov 2008 09:08:11 +1030 Received: from dave by disturbed with local (Exim 4.69) (envelope-from ) id 1L01sA-00022G-Lw; Wed, 12 Nov 2008 09:38:10 +1100 Date: Wed, 12 Nov 2008 09:38:10 +1100 From: Dave Chinner To: Timothy Shimmin Cc: xfs-oss X-ASG-Orig-Subj: Re: review: xfstests/192 atime test Subject: Re: review: xfstests/192 atime test Message-ID: <20081111223810.GK2373@disturbed> Mail-Followup-To: Timothy Shimmin , xfs-oss References: <49192204.3040300@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49192204.3040300@sgi.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: ipmail01.adl6.internode.on.net[203.16.214.146] X-Barracuda-Start-Time: 1226444193 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0290 1.0000 -1.8332 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.83 X-Barracuda-Spam-Status: No, SCORE=-1.83 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.10036 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on oss.sgi.com X-Virus-Status: Clean On Tue, Nov 11, 2008 at 05:11:16PM +1100, Timothy Shimmin wrote: > Attached simple atime test. > 192.out and group file would be added appropriately. > Thanks. > --Tim > _supported_fs xfs udf nfs > _supported_os Linux > delay=150 150s sleep? It only needs a few seconds for this test. > time3=`_access_time $testfile | tee -a $seq.full` > > delta1=`expr $time2 - $time1` > delta2=`expr $time3 - $time1` > > echo "delta1 - access time after sleep in-core: $delta1" > echo "delta2 - access time after sleep on-disk: $delta2" Why bother with deltas? if the numbers are the same, just output "same", if they are different, output "different".... FWIW, is there a patch being proposed that fixes this problem? Cheers, Dave. -- Dave Chinner david@fromorbit.com