From: Florian Westphal <fw@strlen.de>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Florian Westphal <fw@strlen.de>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
axboe@kernel.dk, adam radford <aradford@gmail.com>
Subject: Re: "WRITE SAME failed. Manually zeroing" with 3w-xxxx driver
Date: Tue, 30 Apr 2013 09:36:44 +0200 [thread overview]
Message-ID: <20130430073644.GI32324@breakpoint.cc> (raw)
In-Reply-To: <yq1obcxpb76.fsf@sermon.lab.mkp.net>
Martin K. Petersen <martin.petersen@oracle.com> wrote:
> >>>>> "Florian" == Florian Westphal <fw@strlen.de> writes:
>
> Florian> After update to 3.8 dmesg is spammed with: kernel: [
> Florian> 280.272094] 3w-xxxx: scsi8: Unknown scsi opcode: 0x41 kernel: [
> Florian> 280.272107] sd 8:0:0:0: [sda] Unhandled error code kernel:
>
> Could you please test the patch below?
Works. Only one WRITE_SAME error at boot, max_write_same_blocks in sysfs
is 0, which wasn't the case before.
> The second question is what it is that's issuing these zeroouts at boot?
> Which filesystem are you using? What's your DM/MD config?
ext4, no DM/MD is used. I guess the zeroouts are from postgres, but i'm
not sure.
> 3w-xxxx: Create sense buffer for unsupported commands
>
> Make the driver return appropriate sense data when an unsupported
> operation is queued. This will cause the SCSI layer to stop issuing the
> offending command.
>
> Reported-by: Florian Westphal <fw@strlen.de>
> CC: adam radford <aradford@gmail.com>
> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Tested-by: Florian Westphal <fw@strlen.de>
Thanks again.
next prev parent reply other threads:[~2013-04-30 7:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-29 15:26 "WRITE SAME failed. Manually zeroing" with 3w-xxxx driver Florian Westphal
2013-04-29 16:13 ` Martin K. Petersen
2013-04-29 16:29 ` Florian Westphal
2013-04-30 7:36 ` Florian Westphal [this message]
2013-05-21 20:04 ` adam radford
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=20130430073644.GI32324@breakpoint.cc \
--to=fw@strlen.de \
--cc=aradford@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.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