Received: with ECARTIS (v1.0.0; list xfs); Tue, 15 Jan 2008 07:18:23 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m0FFHnQu027243 for ; Tue, 15 Jan 2008 07:17:51 -0800 X-ASG-Debug-ID: 1200410286-48f203720000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DEB1851F1A5 for ; Tue, 15 Jan 2008 07:18:06 -0800 (PST) Received: from sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id GRCUC4r4kROJbVYs for ; Tue, 15 Jan 2008 07:18:06 -0800 (PST) Received: from liberator.sandeen.net (liberator.sandeen.net [10.0.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTP id BA8C618CFB088; Tue, 15 Jan 2008 09:18:03 -0600 (CST) Message-ID: <478CCEAC.9010008@sandeen.net> Date: Tue, 15 Jan 2008 09:18:04 -0600 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Gopala Krishna CC: David Chinner , Chris Wedgwood , Matthias Schniedermeyer , =?windows-1252?Q?Olaf_Fra=3Bczyk?= , Andi Kleen , xfs@oss.sgi.com X-ASG-Orig-Subj: Re: Question related to XFS sync , especially fsync Subject: Re: Question related to XFS sync , especially fsync References: <20080114224245.GT155259@sgi.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: sandeen.net[209.173.210.139] X-Barracuda-Start-Time: 1200410287 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.39596 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/5483/Mon Jan 14 06:45:01 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14130 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: sandeen@sandeen.net Precedence: bulk X-list: xfs Gopala Krishna wrote: > Hi All, > Thanks a lot for your response. > I never thought it might be in a log and not flushed to disk. > Very good clue. > >>>> It is not XFS problem. It is your problem ;) > Good comment. Agreed : -). > >>> How are you finding and inode off disk > > I have lot of code getting in to that. To explain that I have to go through > that complex part of the code to explain in detail. > > Basically once we get indoe number for a given file from the available > system call, we only depending upon the XFS layout and it's structure. We > are reading super block from a particular disk offset and calculating > address for inode offset and its address on the disk and reading directly > from the disk offset. We are totally depending on XFS on disk layout. Can I ask why you are doing this? :) -Eric