Re: [PATCH 25/20] sysfs: Only support removing emtpy sysfs directories.
From: Hannes Reinecke
Date: Wed May 27 2009 - 07:35:49 EST
Alan Stern wrote:
> On Wed, 27 May 2009, Kay Sievers wrote:
>> On Wed, May 27, 2009 at 01:49, James Bottomley
>> <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> 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.
Quite so. We should rather see to have the reference counting fixed
properly, than this would go away automatically.
So I just have to look for someone to fix my iSCSI bugs, than I could
revamp my patchset ...
Dr. Hannes Reinecke zSeries & Storage
hare@xxxxxxx +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/