From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: Yihang Li <liyihang9@huawei.com>,
James.Bottomley@HansenPartnership.com,
martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org, prime.zeng@huawei.com,
linuxarm@huawei.com
Subject: Re: [PATCH] scsi: sd: retry command SYNC CACHE if format in progress
Date: Mon, 12 Aug 2024 21:33:29 -0400 [thread overview]
Message-ID: <yq1h6bpxmiw.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <7e6669da-d723-4eb4-8849-77e4deed5ffa@acm.org> (Bart Van Assche's message of "Fri, 9 Aug 2024 12:14:54 -0700")
> It seems like the PCI core supports binding and unbinding through
> sysfs but the SCSI core not. So it's probably easier to add support
> for ASC/ASCQ 04h / 04h rather than to add bind/unbind support to the
> SCSI core.
I am not a fan of trying to cover all these revalidation corner cases.
Having the ULD attached during a format operation makes zero sense.
NVMe handles formatting and a few other commands differently based on
the Commands Supported and Effects Log Page. The SCSI protocol doesn't
have the same elaborate reporting scheme but that doesn't mean we
couldn't handle disruptive operations similar to what the NVMe driver is
doing.
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2024-08-13 1:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 2:17 Yihang Li
2024-08-08 19:09 ` Bart Van Assche
2024-08-09 3:44 ` Yihang Li
2024-08-09 19:14 ` Bart Van Assche
2024-08-10 1:46 ` Yihang Li
2024-08-13 1:33 ` 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=yq1h6bpxmiw.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=bvanassche@acm.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=liyihang9@huawei.com \
--cc=prime.zeng@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®