From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ravikiran G Thirumalai Subject: Re: [RFC][PATCH 0/3] ext3 percpu counter fixes to suppport for ext3 unsigned long type free blocks counter Date: Tue, 11 Apr 2006 15:20:12 -0700 Message-ID: <20060411222012.GA5007@localhost.localdomain> References: <1144691929.3964.53.camel@dyn9047017067.beaverton.ibm.com> <1144782073.3986.15.camel@dyn9047017067.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Lameter , akpm@osdl.org, Laurent Vivier , linux-kernel@vger.kernel.org, ext2-devel , linux-fsdevel@vger.kernel.org Return-path: Received: from ns1.siteground.net ([207.218.208.2]:6375 "EHLO serv01.siteground.net") by vger.kernel.org with ESMTP id S1751157AbWDKWTQ (ORCPT ); Tue, 11 Apr 2006 18:19:16 -0400 To: Mingming Cao Content-Disposition: inline In-Reply-To: <1144782073.3986.15.camel@dyn9047017067.beaverton.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Apr 11, 2006 at 12:01:13PM -0700, Mingming Cao wrote: > On Tue, 2006-04-11 at 10:09 -0700, Christoph Lameter wrote: > > On Mon, 10 Apr 2006, Mingming Cao wrote: > > > > > Here are the proposed patches to allow the ext3 free block accounting > > > works with more than 8TB storage. > > > > Umm.. This is an issue on 32 bit platforms only. 64bit platforms x86_64, > > ia64 etc do not need this. Would you make it arch specific? > > Yes, make sense. I will update my patch soon. Thanks. Or make the counter s64? so that it stays 64 bit on all arches? OR why not change the global per-cpu counter type to unsigned long (as we discussed earlier), so we don't need the extra "ul" flags and interfaces, and all arches get a standard unsigned long return type? We could also do away with percpu_read_positive then no? The applications for per-cpu counters is going to be upcounters always methinks... Thanks, Kiran