Received: with ECARTIS (v1.0.0; list linux-xfs); Tue, 24 Jan 2006 07:23:46 -0800 (PST) Received: from ext.storadinc.com (64.221.212.177.ptr.us.xo.net [64.221.212.177]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k0OFNbm2030236 for ; Tue, 24 Jan 2006 07:23:41 -0800 Received: from agami.com ([192.168.168.149]) by ext.storadinc.com (8.12.5/8.12.5) with ESMTP id k0OFOemF016004 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 24 Jan 2006 07:24:40 -0800 Received: from mx1.agami.com (mx1.agami.com [10.123.10.30]) by agami.com (8.12.10/8.12.10) with ESMTP id k0OFOZr1031406 for ; Tue, 24 Jan 2006 07:24:35 -0800 Received: from [192.168.0.207] ([10.123.200.1]) by mx1.agami.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Jan 2006 07:24:33 -0800 Message-ID: <43D645CD.3030102@agami.com> Date: Tue, 24 Jan 2006 20:50:45 +0530 From: Shailendra Tripathi User-Agent: Mozilla Thunderbird 0.9 (X11/20041127) X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-xfs@oss.sgi.com Subject: No local regular files References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Jan 2006 15:24:34.0621 (UTC) FILETIME=[47DCE6D0:01C620FA] X-Scanned-By: MIMEDefang 2.36 X-archive-position: 7244 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: stripathi@agami.com Precedence: bulk X-list: linux-xfs Content-Length: 1348 Lines: 33 Hi, I had an impression that XFS writes the data on the inode itself if data is pretty small. However, recently I came to know that for regular files it does not do the same, at least on Linux XFS. xfs_iformat() .... /* * no local regular files yet */ if (unlikely((INT_GET(dip->di_core.di_mode, ARCH_CONVERT ) & S_IFMT) == S_IFREG)) { xfs_fs_cmn_err(CE_WARN, ip->i_mount, "corrupt inode (local format for regular file) %Lu. Unmount and run xfs_repair.", (unsigned long long) ip->i_ino); XFS_CORRUPTION_ERROR("xfs_iformat(4)", XFS_ERRLEVEL_LOW, ip->i_mount, dip); return XFS_ERROR(EFSCORRUPTED); } Am wondering what might be the reason for non-inclusion and whether it was ever implemented in XFS ? If implemented on IRIX XFS, what is potential reason for not being available on Linux ? Or, it is just that it does not give any benefit. I believe that there are significant number of such small files Regards, Shailendra