From: Dave Kleikamp Subject: RE: stat64 for over 2TB file returned invalid st_blocks Date: Wed, 07 Dec 2005 10:34:07 -0600 Message-ID: <1133973247.8907.33.camel@kleikamp.austin.ibm.com> References: <000001c5fb1d$0a27c8d0$4168010a@bsd.tnes.nec.co.jp> <1133963528.27373.4.camel@lade.trondhjem.org> <1133967716.8910.5.camel@kleikamp.austin.ibm.com> <1133969671.27373.47.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Takashi Sato , "'Andreas Dilger'" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from e34.co.us.ibm.com ([32.97.110.152]:13512 "EHLO e34.co.us.ibm.com") by vger.kernel.org with ESMTP id S1751202AbVLGQeK (ORCPT ); Wed, 7 Dec 2005 11:34:10 -0500 To: Trond Myklebust In-Reply-To: <1133969671.27373.47.camel@lade.trondhjem.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 2005-12-07 at 10:34 -0500, Trond Myklebust wrote: > If you really want a variable size type here, then the right thing to do > is to define a __kernel_blkcnt_t or some such thing, and hide the > configuration knob for it somewhere in the arch-specific Kconfigs. Takashi's patch does improve on what currently exists. Maybe someone can create a separate patch to replace sector_t with blkcnt_t where it makes sense. -- David Kleikamp IBM Linux Technology Center