public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Johan Gill <johan.gill@bahnhof.se>
Cc: linux-scsi@vger.kernel.org
Subject: Re: How to handle StarTech adapter
Date: Mon, 13 Apr 2026 23:27:01 -0400	[thread overview]
Message-ID: <yq1v7dus01f.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <b8c4c8f8-2b7b-4e35-a750-cff8b50c295e@bahnhof.se> (Johan Gill's message of "Fri, 3 Apr 2026 20:52:15 +0200")


Hi Johan!

> The cause turned out to be that lbpme is not set, so the other VPD
> information is not considered.
>
> Would this be sufficient to have a quirk for this case? Let me know if
> you need anything else from me.

USB bridge adapters are notoriously buggy. Your model may produce the
expected results with the drive you have attached. But can you guarantee
that it won't corrupt data for somebody else? There are definitely USB
bridges out there that will happily trim areas outside of the requested
block ranges.

Consequently, we have to err on the side of caution. If a device is not
reporting that a given feature is enabled, we defer the decision to the
user.

-- 
Martin K. Petersen

      reply	other threads:[~2026-04-14  3:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03 18:52 How to handle StarTech adapter Johan Gill
2026-04-14  3:27 ` 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=yq1v7dus01f.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=johan.gill@bahnhof.se \
    --cc=linux-scsi@vger.kernel.org \
    /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