From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932651Ab2IDTZR (ORCPT ); Tue, 4 Sep 2012 15:25:17 -0400 Received: from fieldses.org ([174.143.236.118]:54060 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757582Ab2IDTZQ (ORCPT ); Tue, 4 Sep 2012 15:25:16 -0400 Date: Tue, 4 Sep 2012 15:25:09 -0400 From: "J. Bruce Fields" To: OGAWA Hirofumi Cc: Namjae Jeon , akpm@linux-foundation.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, Namjae Jeon , Ravishankar N , Amit Sahrawat , NeilBrown Subject: Re: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation Message-ID: <20120904192509.GD29369@fieldses.org> References: <1346774312-8142-1-git-send-email-linkinjeon@gmail.com> <87mx15910k.fsf@devron.myhome.or.jp> <87fw6x90o3.fsf@devron.myhome.or.jp> <20120904183815.GA29369@fieldses.org> <87y5kp7gsq.fsf@devron.myhome.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y5kp7gsq.fsf@devron.myhome.or.jp> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 05, 2012 at 04:02:13AM +0900, OGAWA Hirofumi wrote: > "J. Bruce Fields" writes: > > > On Wed, Sep 05, 2012 at 02:07:40AM +0900, OGAWA Hirofumi wrote: > >> OGAWA Hirofumi writes: > >> > >> > Namjae Jeon writes: > >> > > >> >> From: Namjae Jeon > >> >> > >> >> Maintain a list of inode(i_pos) numbers of orphaned inodes (i.e the > >> >> inodes that have been unlinked but still having open file > >> >> descriptors).At file/directory creation time, skip using such i_pos > >> >> values.Removal of the i_pos from the list is done during inode eviction. > >> > > >> > What happens if the directory (has busy entries) was completely removed? > >> > > >> > > >> > And Al's point is important for NFS too. If you want stable ino for NFS, > >> > you never can't change it. > >> > >> s/never can't/never can/ > > > > If vfat exports aren't fixable, maybe we should just remove that > > feature? > > > > I'm afraid that having unfixable half-working vfat exports is just an > > attractive nuisance that causes users and developers to waste their > > time.... > > In historically, it was introduced by Neil Brown, when nfs export > interface was rewritten (I'm not sure what was intended). > > Personally, I'm ok to remove it though, it is really personal > opinion. The state would be rather I don't have strong opinion to > remove. Neil, any opinion? If we can document circumstances under which nfs exports of fat filesystems are reliable, fine. Otherwise I'd rather just be clear that we don't support it. --b.