From mboxrd@z Thu Jan 1 00:00:00 1970 From: viro@parcelfarce.linux.theplanet.co.uk Subject: Re: [PATCH] vfat+affs case preservation Date: Wed, 2 Jul 2003 13:04:27 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20030702120426.GU27348@parcelfarce.linux.theplanet.co.uk> References: <20030702102538.GA16711@exuhome.dyn.jankratochvil.net> <20030702103457.GS27348@parcelfarce.linux.theplanet.co.uk> <20030702105328.GA17023@exuhome.dyn.jankratochvil.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, chaffee@cs.berkeley.edu, zippel@linux-m68k.org Return-path: Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:65454 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S264929AbTGBLuC (ORCPT ); Wed, 2 Jul 2003 07:50:02 -0400 To: Jan Kratochvil Content-Disposition: inline In-Reply-To: <20030702105328.GA17023@exuhome.dyn.jankratochvil.net> List-Id: linux-fsdevel.vger.kernel.org On Wed, Jul 02, 2003 at 12:53:28PM +0200, Jan Kratochvil wrote: > > Broken. With that we can get two active dentries for the same directory. > > There goes any cache coherency, with all usual results. > > Right, this patch will introduce virtual directory hardlinks - multiple dentries > to one directory inode. But it also makes dentry validation mandatory for such > filesystems to fix it. Obvious example of bad behaviour: # mkdir A # ls A # mount -t iso9600 /dev/cdrom A # touch a/b # ls a/b a/b # ls A/b ls: A/b: No such file or directory # umount A # ls A/b A/b #