From: =?iso-8859-1?Q?J=F6rn?= Engel Subject: Re: [PATCH] make last_inode counter in new_inode 32-bit on kernels that offer x86 compatability Date: Tue, 7 Nov 2006 18:04:54 +0100 Message-ID: <20061107170454.GA15629@wohnheim.fh-wedel.de> References: <1162836725.6952.28.camel@dantu.rdu.redhat.com> <20061106182222.GO27140@parisc-linux.org> <1162838843.12129.8.camel@dantu.rdu.redhat.com> <20061106202313.GA691@wohnheim.fh-wedel.de> <454FA032.1070008@redhat.com> <20061106211134.GB691@wohnheim.fh-wedel.de> <454FAAF8.8080707@redhat.com> <1162914966.28425.24.camel@dantu.rdu.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Eric Sandeen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from wohnheim.fh-wedel.de ([213.39.233.138]:22709 "EHLO wohnheim.fh-wedel.de") by vger.kernel.org with ESMTP id S965559AbWKGREy (ORCPT ); Tue, 7 Nov 2006 12:04:54 -0500 To: Jeff Layton Content-Disposition: inline In-Reply-To: <1162914966.28425.24.camel@dantu.rdu.redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 7 November 2006 10:56:06 -0500, Jeff Layton wrote: >=20 > Here's a more involved (again, untested) patch. I turned new_inode in= to > a wrapper for a new function (new_inode_autonum). If the autonum arg = is > set, then we should get back a unique i_ino. A good start. You didn't convert any callers yet, so I did a quick poll. Turned out that out of 76 callers 37 explicitly set i_ino, 1 (fat) calls iunique itself and 38 look at first glance as if they didn't set i_ino. xfs and jfs were in the latter category, which just proved I didn't look too closely. Anyway, the distribution is fairly even, so I agree with your choice of default behaviour. J=C3=B6rn --=20 Schr=F6dinger's cat is not dead. -- Illiad - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html