From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org,
belegdol@gmail.com, stable@vger.kernel.org,
Tasos Sahanidis <tasos@tasossah.com>
Subject: Re: [PATCH] scsi: sd: usb_storage: uas: Access media prior to querying device properties
Date: Tue, 13 Feb 2024 12:09:45 -0500 [thread overview]
Message-ID: <yq1zfw4jof4.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <d8f04b97-f13b-4dbc-af18-2953eebfa4e8@rowland.harvard.edu> (Alan Stern's message of "Tue, 13 Feb 2024 11:33:14 -0500")
Hi Alan!
> Do we still claim to support devices that implement only the 6-byte
> commands, not the 10-byte forms? Or is that now a non-issue?
We have defaulted to 10-byte commands for a long time and the 6-byte
variants are no longer to be found in SCSI SBC-4 and SBC-5. In addition,
most devices now have capacities which exceed what 6-byte commands can
address.
I will not object to adding a fallback to a READ(6) if I receive a bug
report as a result of this change. But I prefer not to perpetuate the
6-byte command special-casing if we can avoid it. Especially if we know
that $OTHER_OS is issuing a READ(10) during discovery.
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2024-02-13 17:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 14:33 [PATCH] scsi: sd: usb_storage: uas: Access media prior to querying device properties Martin K. Petersen
2024-02-13 16:18 ` Ewan Milne
2024-02-13 16:33 ` Alan Stern
2024-02-13 17:09 ` Martin K. Petersen [this message]
2024-02-13 18:13 ` Bart Van Assche
2024-02-14 12:21 ` Tasos Sahanidis
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=yq1zfw4jof4.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=belegdol@gmail.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=tasos@tasossah.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