[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1pmumvvce.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 09 Aug 2021 23:21:00 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: "Martin K. Petersen" <martin.petersen@...cle.com>,
Bart Van Assche <bvanassche@....org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Saravana Kannan <saravanak@...gle.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
linux-scsi@...r.kernel.org, Avri Altman <avri.altman@....com>,
Bean Huo <huobean@...il.com>, Can Guo <cang@...eaurora.org>,
Asutosh Das <asutoshd@...eaurora.org>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
"Rafael J . Wysocki" <rafael@...nel.org>
Subject: Re: [PATCH V5] scsi: ufshcd: Fix device links when BOOT WLUN fails
to probe
Adrian,
> Managed device links are deleted by device_del(). However it is
> possible to add a device link to a consumer before device_add(), and
> then discovering an error prevents the device from being used. In that
> case normally references to the device would be dropped and the device
> would be deleted. However the device link holds a reference to the
> device, so the device link and device remain indefinitely (unless the
> supplier is deleted).
Applied to 5.15/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists