From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267371AbUBSQuI (ORCPT ); Thu, 19 Feb 2004 11:50:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267380AbUBSQuI (ORCPT ); Thu, 19 Feb 2004 11:50:08 -0500 Received: from fw.osdl.org ([65.172.181.6]:34189 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S267371AbUBSQuE (ORCPT ); Thu, 19 Feb 2004 11:50:04 -0500 Date: Thu, 19 Feb 2004 08:54:51 -0800 (PST) From: Linus Torvalds To: Jamie Lokier cc: tridge@samba.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: UTF-8 and case-insensitivity In-Reply-To: <20040219163838.GC2308@mail.shareable.org> Message-ID: References: <16435.55700.600584.756009@samba.org> <16435.60448.70856.791580@samba.org> <16435.61622.732939.135127@samba.org> <20040219081027.GB4113@mail.shareable.org> <20040219163838.GC2308@mail.shareable.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Feb 2004, Jamie Lokier wrote: > Linus Torvalds wrote: > > For example, the rule can be that _any_ regular dentry create will > > invalidate all the "case-insensitive" dentries. Just to be simple about > > it. > > If that's the rule, then with exactly the same algorithmic efficiency, > readdir+dnotify can be used to maintain the cache in userspace > instead. There is nothing gained by using the helper module in that case. Wrong. Because the dnotify would trigger EVEN FOR SAMBA OPERATIONS. Think about it. Think about samba doing a "rename()" within the directory. Linus