From: Jan Kara Subject: Re: [RFC 2/3] vfs: get_next_ino(), support for the uniqueness Date: Thu, 22 May 2014 18:06:38 +0200 Message-ID: <20140522160638.GB24441@quack.suse.cz> References: <1400698140-25853-1-git-send-email-hooanon05g@gmail.com> <1400698140-25853-3-git-send-email-hooanon05g@gmail.com> <20140522115657.GD7999@quack.suse.cz> <7078.1400771001@jrobl> <20140522151253.GH7999@quack.suse.cz> <20140522151431.GA25517@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kara , "J. R. Okajima" , linux-fsdevel@vger.kernel.org, adilger@dilger.ca, dchinner@redhat.com, viro@zeniv.linux.org.uk, jlbec@evilplan.org, gregkh@linuxfoundation.org, hughd@google.com To: Christoph Hellwig Return-path: Received: from cantor2.suse.de ([195.135.220.15]:44241 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146AbaEVQGl (ORCPT ); Thu, 22 May 2014 12:06:41 -0400 Content-Disposition: inline In-Reply-To: <20140522151431.GA25517@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu 22-05-14 17:14:31, Christoph Hellwig wrote: > On Thu, May 22, 2014 at 05:12:53PM +0200, Jan Kara wrote: > > Yes, that's why I wrote that if we find that uniqueness of inode numbers > > in tmpfs is needed, then we should probably just make tmpfs add inodes to > > hash list and use iunique(). That would seem like a better solution to me. > > Any reason not to just use the ida allocator for inode numbers in tmpfs? That would be another option, right. Honza -- Jan Kara SUSE Labs, CR