Linux block layer
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Olaf Fraczyk <olaf.fraczyk@gmail.com>
Cc: Ming Lei <ming.lei@redhat.com>,
	Lukas Czerner <lczerner@redhat.com>,
	linux-scsi@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Sathya Prakash <sathya.prakash@broadcom.com>,
	Karel Zak <kzak@redhat.com>,
	linux-block@vger.kernel.org
Subject: Re: blkdiscard BLKDISCARD ioctl failed: Remote I/O error
Date: Tue, 22 Feb 2022 21:50:29 -0500	[thread overview]
Message-ID: <yq1wnhmb8ug.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <CAJWTG8_2bgioHW87VntCvhCOA8_B8GMsuk+82o7uuHPx=9yt1w@mail.gmail.com> (Olaf Fraczyk's message of "Mon, 21 Feb 2022 16:33:52 +0100")


Olaf,

> You are right.  I moved the drive to onboard SATA controller and the
> problem disappeared.

Since the SCSI-ATA translation is done entirely inside the HBA I would
suggest looking into updating the controller firmware. The mpt3sas
driver doesn't really have anything to do with the discard handling in
this configuration.

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2022-02-23  2:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJWTG89dq0-HDb=hSJMdT5WyArH3dy+SKZNXDEr9WOWsaUsMEg@mail.gmail.com>
     [not found] ` <20220221090558.yvkgw2lujwjodhfi@ws.net.home>
     [not found]   ` <CAJWTG8-yrpLevVALX9ONnQGEgFcytYuhSk4ge_-qyi0tQS0keg@mail.gmail.com>
2022-02-21 13:09     ` blkdiscard BLKDISCARD ioctl failed: Remote I/O error Lukas Czerner
     [not found]       ` <CAJWTG89zxt3H41kaVjq9kSx=XSBwq=EpO9+1THydwG_-Xc6-ZQ@mail.gmail.com>
2022-02-21 13:47         ` Lukas Czerner
2022-02-21 14:45       ` Ming Lei
2022-02-21 15:50         ` Olaf Fraczyk
     [not found]         ` <CAJWTG8_2bgioHW87VntCvhCOA8_B8GMsuk+82o7uuHPx=9yt1w@mail.gmail.com>
2022-02-23  2:50           ` 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=yq1wnhmb8ug.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=MPT-FusionLinux.pdl@broadcom.com \
    --cc=kzak@redhat.com \
    --cc=lczerner@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=olaf.fraczyk@gmail.com \
    --cc=sathya.prakash@broadcom.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