From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH 15/18] fs: introduce a per-cpu last_ino allocator Date: Fri, 08 Oct 2010 12:20:47 +0200 Message-ID: <1286533247.2959.129.camel@edumazet-laptop> References: <1286515292-15882-1-git-send-email-david@fromorbit.com> <1286515292-15882-16-git-send-email-david@fromorbit.com> <87d3rl5c1h.fsf@basil.nowhere.org> <20101008095824.GB19804@ZenIV.linux.org.uk> <20101008100944.GE13352@basil.fritz.box> <20101008101921.GD19804@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andi Kleen , Dave Chinner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Al Viro Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:55265 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756933Ab0JHKU5 (ORCPT ); Fri, 8 Oct 2010 06:20:57 -0400 In-Reply-To: <20101008101921.GD19804@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Le vendredi 08 octobre 2010 =C3=A0 11:19 +0100, Al Viro a =C3=A9crit : > On Fri, Oct 08, 2010 at 12:09:44PM +0200, Andi Kleen wrote: >=20 > > > Can be done if you bother to add ->getattr() for those, but you'l= l need > > > to do some kind of lazy allocation of inumbers for those; fstat()= _will_ > > > want st_ino. > >=20 > > Why not just put 0 in st_ino for sockets/pipes/etc. ?=20 >=20 > Because it's a userland-visible change; right now you can compare > i_ino for sockets... lsof for example uses i_ino -- 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