From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Oliver Neukum <oneukum@suse.com>
Cc: martin.petersen@oracle.com, jejb@linux.ibm.com,
linux-scsi@vger.kernel.org, usb-storage@lists.one-eyed-alien.net,
stern@rowland.harvard.edu
Subject: Re: [PATCH] scsi: ignore a failure to synchronize cache due to lack of authorization
Date: Mon, 30 Sep 2019 23:36:14 -0400 [thread overview]
Message-ID: <yq1lfu5w30x.fsf@oracle.com> (raw)
In-Reply-To: <20190903101840.16483-1-oneukum@suse.com> (Oliver Neukum's message of "Tue, 3 Sep 2019 12:18:39 +0200")
Oliver,
> I've got a report about a UAS drive enclosure reporting back Sense:
> Logical unit access not authorized if the drive it holds is password
> protected. While the drive is obviously unusable in that state as a
> mass storage device, it still exists as a sd device and when the
> system is asked to perform a suspend of the drive, it will be sent a
> SYNCHRONIZE CACHE. If that fails due to password protection, the error
> must be ignored. --- drivers/scsi/sd.c | 3 ++- 1 file changed, 2
> insertions(+), 1 deletion(-)
Applied to 5.4/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2019-10-01 3:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 10:18 [PATCH] scsi: ignore a failure to synchronize cache due to lack of authorization Oliver Neukum
2019-09-03 10:18 ` [PATCH] Revert "gpss: core: no waiters left behind on deregister" Oliver Neukum
2019-09-03 10:25 ` Oliver Neukum
2019-10-01 3:36 ` Martin K. Petersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1lfu5w30x.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=jejb@linux.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=oneukum@suse.com \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.