[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A1FD5F0.4040003@suse.de>
Date: Fri, 29 May 2009 14:32:48 +0200
From: Hannes Reinecke <hare@...e.de>
To: Alan Stern <stern@...land.harvard.edu>
Cc: James Bottomley <James.Bottomley@...senPartnership.com>,
Kay Sievers <kay.sievers@...y.org>,
SCSI development list <linux-scsi@...r.kernel.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...e.de>,
Kernel development list <linux-kernel@...r.kernel.org>,
Tejun Heo <tj@...nel.org>,
Cornelia Huck <cornelia.huck@...ibm.com>,
linux-fsdevel@...r.kernel.org,
"Eric W. Biederman" <ebiederm@...stanetworks.com>
Subject: Re: [PATCH 25/20] sysfs: Only support removing emtpy sysfs directories.
Hi Alan,
> And besides, in the patch I'm working on it isn't called from either of
> those places -- it's called from __scsi_remove_device(). So I'll go
> ahead and get rid of scsi_target_reap_usercontext().
>
And just for reference, here is my patchset I've created sometime ago
which streamlines the sdev and starget lifetime. I think I've tried
to send it upstream at one point but never got far with it.
Be aware that it's relative to a rather git tree (2.6.22?) so
it might not apply properly. But it's mainly to get you an idea
of what I've done so far.
And would have continued pushing it if real life hadn't interfered ...
HTH.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@...e.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
View attachment "0001-Fix-refcounting-for-attribute_container.patch" of type "text/x-patch" (1621 bytes)
View attachment "0002-Remove-reap_ref.patch" of type "text/x-patch" (3927 bytes)
View attachment "0003-Improve-error-messages-in-scsi_sysfs_add_sdev.patch" of type "text/x-patch" (1185 bytes)
View attachment "0004-Remove-stale-put_device-from-scsi_sysfs_add_sdev.patch" of type "text/x-patch" (972 bytes)
View attachment "0005-Implement-SDEV_NEW-state.patch" of type "text/x-patch" (3769 bytes)
View attachment "0006-Rename-__scsi_remove_device-into-scsi_sysfs_remove.patch" of type "text/x-patch" (3669 bytes)
View attachment "0007-Remove-stale-reap_ref-reference.patch" of type "text/x-patch" (787 bytes)
Powered by blists - more mailing lists