[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1wp9g9tom.fsf@oracle.com>
Date: Tue, 16 May 2017 21:08:09 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Thierry Escande <thierry.escande@...labora.com>
Cc: Bart Van Assche <Bart.VanAssche@...disk.com>,
"James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
Christoph Hellwig <hch@...radead.org>,
"Ewan D . Milne" <emilne@...hat.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] sd: Ignore sync cache failures when not supported
Thierry,
> Some external hard drives don't support the sync command even though
> the hard drive has write cache enabled. In this case, upon suspend
> request, sync cache failures are ignored if the error code in the
> sense header is ILLEGAL_REQUEST. There's not much we can do for these
> drives, so we shouldn't fail to suspend for this error case. The drive
> may stay powered if that's the setup for the port it's plugged into.
Applied to 4.12/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists