mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: vince@palmit.com.au
Cc: linux-scsi@vger.kernel.org,  sathya.prakash@broadcom.com,
	sreekanth.reddy@broadcom.com,
	 suganath-prabu.subramani@broadcom.com,
	ranjan.kumar@broadcom.com,
	 James.Bottomley@HansenPartnership.com, mkp@kernel.org,
	 MPT-FusionLinux.pdl@broadcom.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: mpt3sas: Register devices during SANITIZE
Date: Fri, 30 Oct 2026 20:57:22 -0400	[thread overview]
Message-ID: <yq1y0be3cwt.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261020210856.42835-1-vince@palmit.com.au>


> A SAS disk being sanitized responds to TEST UNIT READY with NOT READY,
> ASC 0x04, ASCQ 0x1b. mpt3sas discovery maps this sense to
> DEVICE_START_UNIT and issues START UNIT repeatedly. The drive stays
> NOT READY until the sanitize operation completes, causing discovery to
> exhaust its retry budget and decline SCSI device registration.
>
> Allow registration only for the SANITIZE IN PROGRESS sense, so sd/sg
> can expose the target while retaining its actual NOT READY state. All
> other sense dispositions are unchanged.

Applied to 7.4/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2026-10-31  0:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20 21:08 vince
2026-10-20 21:54 ` Laurence Oberman
2026-10-21  6:38 ` vince
2026-10-31  0:57 ` 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=yq1y0be3cwt.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=MPT-FusionLinux.pdl@broadcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ranjan.kumar@broadcom.com \
    --cc=sathya.prakash@broadcom.com \
    --cc=sreekanth.reddy@broadcom.com \
    --cc=suganath-prabu.subramani@broadcom.com \
    --cc=vince@palmit.com.au \
    /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®