lkml.org 
[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 25/20] sysfs: Only support removing emtpy sysfs directories.
On Wed, 27 May 2009, Kay Sievers wrote:

> On Wed, May 27, 2009 at 01:49, James Bottomley
> <James.Bottomley@hansenpartnership.com> 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.

Alan Stern



\
 
 \ /
  Last update: 2009-05-27 04:21    [W:0.277 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site