linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Friesen <chris.friesen@genband.com>
To: Ric Wheeler <rwheeler@redhat.com>
Cc: "Mathias Burén" <mathias.buren@gmail.com>,
	"Roy Sigurd Karlsbakk" <roy@karlsbakk.net>,
	"Neil Brown" <neilb@suse.de>,
	Linux-RAID <linux-raid@vger.kernel.org>,
	"Jens Axboe" <axboe@kernel.dk>,
	"IDE/ATA development list" <linux-ide@vger.kernel.org>
Subject: Re: getting I/O errors in super_written()...any ideas what would cause this?
Date: Mon, 03 Dec 2012 14:44:52 -0600	[thread overview]
Message-ID: <50BD0F44.7010808@genband.com> (raw)
In-Reply-To: <50BD09EC.5060705@redhat.com>

On 12/03/2012 02:22 PM, Ric Wheeler wrote:
> On 11/28/2012 03:29 PM, Chris Friesen wrote:
>> On 11/28/2012 02:27 PM, Mathias Burén wrote:
>>
>>> The drives look healthy, but am I reading that right? More than 10
>>> self tests per hour?
>>
>> Yeah....we cranked it up to try and increase how frequently we see the
>> problem.
>>
>> From what I understand normally it runs once a day.
>>
>> Chris
>
> Did the vendor suggest to you that running a self test on an active
> drive would be OK? I would expect errors in this case - specifically
> time outs....

I'm not the main developer in that area, but from what I understand the 
code has been like this for ages.  (It's entirely possible we've been 
lucky up till now since we support limited hardware types.)

The fact that you'd expect time outs is interesting--is that from the 
delay switching from doing the self-test to doing the actual request?

Is the expectation that the OS should not be sending any other commands 
to the disk while doing the self-test?

I was recently looking at the SCSI spec trying to learn a bit about this 
issue and the section on background self-test (spc-4, section 5.15.4.3) 
seems to indicate that a READ or WRITE command should cause the 
background self-test to be aborted and the command to be processed 
within 2 seconds.  In our case it doesn't seem to be aborting (at least 
it shows as "Completed" in smartctl)--is this expected?

Thanks,
Chris
--
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

  reply	other threads:[~2012-12-03 20:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8134827.27.1354128708501.JavaMail.root@zimbra>
     [not found] ` <50B67230.4080602@genband.com>
     [not found]   ` <CADNH=7Hv2RgBv=0Xia=yMyzKmgAOgvxJSAKn2arcE7k1x_T4FQ@mail.gmail.com>
     [not found]     ` <50B67417.2020606@genband.com>
2012-12-03 20:22       ` getting I/O errors in super_written()...any ideas what would cause this? Ric Wheeler
2012-12-03 20:44         ` Chris Friesen [this message]
2012-12-03 20:52           ` Ric Wheeler
2012-12-03 21:08             ` Chris Friesen
2012-12-03 21:21               ` Dave Jiang
2012-12-03 21:36                 ` Chris Friesen
2012-12-03 21:59                   ` Dave Jiang
2012-12-03 21:53               ` Ric Wheeler
2012-12-04 22:00                 ` Chris Friesen
2012-12-04 23:55                   ` Ric Wheeler
2012-12-05  9:20                   ` James Bottomley
2012-12-05 11:41                     ` Ric Wheeler
2012-12-05 11:57                       ` James Bottomley
2012-12-06 18:15                     ` Chris Friesen
2012-12-06 20:27                       ` Chris Murphy
2012-12-08 18:08                       ` James Bottomley

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=50BD0F44.7010808@genband.com \
    --to=chris.friesen@genband.com \
    --cc=axboe@kernel.dk \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=mathias.buren@gmail.com \
    --cc=neilb@suse.de \
    --cc=roy@karlsbakk.net \
    --cc=rwheeler@redhat.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).