From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miklos Szeredi Subject: Re: [PATCH 0/23] File descriptor hot-unplug support v2 Date: Mon, 08 Jun 2009 11:41:19 +0200 Message-ID: References: <20090606080334.GA15204@ZenIV.linux.org.uk> Cc: ebiederm@xmission.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, hugh@veritas.com, tj@kernel.org, adobriyan@gmail.com, torvalds@linux-foundation.org, alan@lxorguk.ukuu.org.uk, gregkh@suse.de, npiggin@suse.de, akpm@linux-foundation.org, hch@infradead.org To: viro@ZenIV.linux.org.uk Return-path: In-reply-to: <20090606080334.GA15204@ZenIV.linux.org.uk> (message from Al Viro on Sat, 6 Jun 2009 09:03:34 +0100) Sender: linux-pci-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sat, 6 Jun 2009, Al Viro wrote: > Frankly, I very much suspect that force-umount is another case like that; > we'll need a *lot* of interesting cooperation from fs for that to work and > to be useful. I'd be delighted to be proven incorrect on that one, so > if you have anything serious in that direction, please share the details. Umm, not sure why we'd need cooperation from the fs. Simply wait for the operation to exit the filesystem or driver. If it's a blocking operation, send a signal to interrupt it. Sure, filesystems and drivers have lots of state, but we don't need to care about that, just like we don't need to care about it for remounting read-only. Thanks, Miklos