[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1286533247.2959.129.camel@edumazet-laptop>
Date: Fri, 08 Oct 2010 12:20:47 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Al Viro <viro@...IV.linux.org.uk>
Cc: Andi Kleen <andi@...stfloor.org>,
Dave Chinner <david@...morbit.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 15/18] fs: introduce a per-cpu last_ino allocator
Le vendredi 08 octobre 2010 à 11:19 +0100, Al Viro a écrit :
> On Fri, Oct 08, 2010 at 12:09:44PM +0200, Andi Kleen wrote:
>
> > > Can be done if you bother to add ->getattr() for those, but you'll need
> > > to do some kind of lazy allocation of inumbers for those; fstat() _will_
> > > want st_ino.
> >
> > Why not just put 0 in st_ino for sockets/pipes/etc. ?
>
> 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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists