From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Kleikamp Subject: Re: files of size larger than fs size Date: Thu, 17 Mar 2005 14:51:52 -0600 Message-ID: <1111092712.8158.27.camel@localhost> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: fsdevel , Phillip Lougher , Max Received: from e31.co.us.ibm.com ([32.97.110.129]:58289 "EHLO e31.co.us.ibm.com") by vger.kernel.org with ESMTP id S261168AbVCQUv4 (ORCPT ); Thu, 17 Mar 2005 15:51:56 -0500 Received: from westrelay03.boulder.ibm.com (westrelay03.boulder.ibm.com [9.17.195.12]) by e31.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j2HKptua534564 for ; Thu, 17 Mar 2005 15:51:55 -0500 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by westrelay03.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j2HKptql158994 for ; Thu, 17 Mar 2005 13:51:55 -0700 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j2HKps43018178 for ; Thu, 17 Mar 2005 13:51:54 -0700 To: Bryan Henderson In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 2005-03-17 at 12:06 -0800, Bryan Henderson wrote: > >I found > >that for larger values, your test program is returning -1, but unsigned > >it appears as 18446744073709551615. > > You mean you ran it? Then what about the more interesting question of > what your filesize ends up to be? You say JFS allows files up to 2**52 > bytes, so I expect the test case would succeed up through the write at > 2**48 and leave the filesize 2**48 + 8. But Max reports seeing 2**48 - > 4080. Yeah, this is funny. I missed that part of the story. I'll try to figure out what is going on here. > It's conceivable that the reporting of the filesize is wrong, by the way. jfs_debugfs tells me the same thing. So ls has it right. Thanks, Shaggy -- David Kleikamp IBM Linux Technology Center