[PATCH 3.11 052/182] [SCSI] fix our current target reap infrastructure

Luis Henriques luis.henriques at canonical.com
Fri Apr 25 10:13:29 UTC 2014


Ben Hutchings <ben at decadent.org.uk> writes:

> On Thu, 2014-04-24 at 09:49 +0100, Luis Henriques wrote:
>> 3.11.10.9 -stable review patch.  If anyone has any objections, please let me know.
>> 
>> ------------------
>> 
>> From: James Bottomley <JBottomley at Parallels.com>
>> 
>> commit e63ed0d7a98014fdfc2cfeb3f6dada313dcabb59 upstream.
>> 
>> This patch eliminates the reap_ref and replaces it with a proper kref.
>> On last put of this kref, the target is removed from visibility in
>> sysfs.  The final call to scsi_target_reap() for the device is done from
>> __scsi_remove_device() and only if the device was made visible.  This
>> ensures that the target disappears as soon as the last device is gone
>> rather than waiting until final release of the device (which is often
>> too long).
>> 
>> Reviewed-by: Alan Stern <stern at rowland.harvard.edu>
>> Tested-by: Sarah Sharp <sarah.a.sharp at linux.intel.com>
>> Signed-off-by: James Bottomley <JBottomley at Parallels.com>
>> Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
> [...]
>
> This and the next patch were commented "delay backport by 2 months for
> field testing".
>
> Ben.

Thanks Ben.  I'll drop both patches from the 3.11 queue.

Cheers,
-- 
Luís
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20140425/4f43b7f0/attachment.sig>


More information about the kernel-team mailing list