From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Clark Subject: Re: [autofs] [RFC] Towards a Modern Autofs Date: Fri, 09 Jan 2004 07:42:30 +0800 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <3FFDEAE6.4030503@metaparadigm.com> References: <3FFD9498.6030905@zytor.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3FFD9498.6030905@zytor.com> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "H. Peter Anvin" Cc: Ian Kent , Mike Waychison , autofs mailing list , Kernel Mailing List On 01/09/04 01:34, H. Peter Anvin wrote: > In many ways this returns to the simplicity of the autofs v3 design > where the atomicity constraints where guaranteed by the VFS itself, *as > long as* mount traps can be atomically destroyed with umounting the > underlying filesystem. Do we need to revive Tigran's forced unmount patch 'badfs' ala FreeBSD's deadfs? Although it doesn't guarantee atomic unmount, it could help a lot with the tendancy to get stuck autofs mounts. http://tinyurl.com/2hto8 I've been long waiting for this functionality in mainline. I wonder if binding badfs over the mountpoint at the beginning of the potentially lengthy unmount process would improve the atomicity to userspace. ie although the unmount would proceed in the background, badfs would have been mounted at that point at the start of the process - mounts are atomic no? ~mc