From: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
To: Dave Cundiff <syshackmin@gmail.com>
Cc: Linux MDADM Raid <linux-raid@vger.kernel.org>
Subject: Re: Raid 5/10 discard support broken in 3.8.2
Date: Thu, 7 Mar 2013 19:26:17 +0100 (CET) [thread overview]
Message-ID: <6351179.18.1362680777332.JavaMail.root@zimbra> (raw)
In-Reply-To: <CAKHEz2bGDyb2=t5gVycfm9YJcUu9k9943JYQFxAtStwrjehUbg@mail.gmail.com>
> > I'm not sure if TRIM/UNMAP is supported on that controller, even in
> > HBA mode (and with IT firmware). I've also seen scterc fail to work
> > on that controller as well, while working with an ordinary "stupid"
> > controller on the same disk.
> >
>
> I had heard that as well. I believe it may have been only older
> firmware or maybe just people trying to TRIM against a RAID. I'm
> running recent firmware and it appears to execute the command
> correctly against a single disk.
>
> [root@a2simage:etc]$ mkfs.ext4 /dev/sda3
> mke2fs 1.41.12 (17-May-2010)
> Discarding device blocks: ^C825792/54624256
>
>
> Mar 7 11:53:08 66 kernel: sd 0:0:0:0: [sda] Send:
> Mar 7 11:53:08 66 kernel: 0xffff8805edd86c80
> Mar 7 11:53:08 66 kernel: sd 0:0:0:0: [sda] CDB:
> Mar 7 11:53:08 66 kernel: Unmap/Read sub-channel: 42 00 00 00 00 00 00
> 00 18 00
> Mar 7 11:53:08 66 kernel: buffer = 0xffff88062fe4a280, bufflen = 24,
> queuecommand 0xffffffffa01d27e0
Could it be as simple as the controller trying to send UNMAP to an (S)ATA device? TRIM and UNMAP are different commands for ATA and SCSI, respectively.
Vennlige hilsener / Best regards
roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@karlsbakk.net
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-03-07 18:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 4:20 Raid 5/10 discard support broken in 3.8.2 Dave Cundiff
2013-03-07 10:02 ` Roy Sigurd Karlsbakk
2013-03-07 17:08 ` Dave Cundiff
2013-03-07 18:26 ` Roy Sigurd Karlsbakk [this message]
2013-03-09 5:26 ` Brad Campbell
2013-03-09 19:56 ` Dave Cundiff
2013-03-10 4:49 ` Brad Campbell
2013-04-09 14:14 ` Kevin Liao
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=6351179.18.1362680777332.JavaMail.root@zimbra \
--to=roy@karlsbakk.net \
--cc=linux-raid@vger.kernel.org \
--cc=syshackmin@gmail.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;
as well as URLs for NNTP newsgroup(s).