From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [PATCH 25/20] sysfs: Only support removing emtpy sysfs directories. Date: Wed, 27 May 2009 11:00:17 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Alan Stern's message of "Tue\, 26 May 2009 22\:17\:41 -0400 \(EDT\)") Sender: linux-fsdevel-owner@vger.kernel.org To: Alan Stern Cc: Kay Sievers , James Bottomley , SCSI development list , Andrew Morton , Greg Kroah-Hartman , Kernel development list , Tejun Heo , Cornelia Huck , linux-fsdevel@vger.kernel.org, "Eric W. Biederman" List-Id: linux-scsi@vger.kernel.org Alan Stern writes: > On Wed, 27 May 2009, Kay Sievers wrote: > >> On Wed, May 27, 2009 at 01:49, James Bottomley >> wrote: >> >> > OK ... perhaps we have to wait a little harder: try this; it waits until >> > all the targets have disappeared from visibility via an event. >> >> That seems to work fine here. > > It's good for a short-term fix. For the longer term, I still think > it's a mistake to wait for the sdevs to be released before deleting the > target. It gives user programs the ability to block the host-removal > thread indefinitely. How can user programs block removal indefinitely today? Eric