[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1r28gy9op.fsf@oracle.com>
Date: Wed, 29 May 2019 22:09:58 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Jason Yan <yanaijie@...wei.com>
Cc: <martin.petersen@...cle.com>, <jejb@...ux.vnet.ibm.com>,
<linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<hare@...e.com>, <dan.j.williams@...el.com>, <jthumshirn@...e.de>,
<hch@....de>, <huangdaode@...ilicon.com>,
<chenxiang66@...ilicon.com>, <miaoxie@...wei.com>,
<john.garry@...wei.com>, <zhaohongjiang@...wei.com>,
Ewan Milne <emilne@...hat.com>, Tomas Henzl <thenzl@...hat.com>
Subject: Re: [PATCH 1/2] scsi: libsas: only clear phy->in_shutdown after shutdown event done
Jason,
> When the event queue is full of phy up and down events and reached the
> threshold, we will queue a shutdown-event, and set phy->in_shutdown so
> that we will not queue a shutdown-event again. But before the
> shutdown-event can be executed, every phy-down event will clear
> phy->in_shutdown and a new shutdown-event will be queued. The queue will
> be full of these shutdown-events.
>
> Fix this by only clear phy->in_shutdown in sas_phye_shutdown(), that is
> after the first shutdown-event has been executed.
Applied 1+2 to 5.2/scsi-fixes. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists