linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ric Wheeler <rwheeler@redhat.com>
To: Chris Friesen <chris.friesen@genband.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 15:52:55 -0500	[thread overview]
Message-ID: <50BD1127.6090304@redhat.com> (raw)
In-Reply-To: <50BD0F44.7010808@genband.com>

On 12/03/2012 03:44 PM, Chris Friesen wrote:
> 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

I jumped into this thread late - can you repost detail on the specific drive and 
HBA used here? In any case, it sounds like this is a better topic for the 
linux-scsi or linux-ide list where most of the low level storage people lurk :)

Ric


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

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28 17:52 getting I/O errors in super_written()...any ideas what would cause this? Chris Friesen
2012-11-28 18:08 ` Mathias Burén
2012-11-28 18:51   ` Roy Sigurd Karlsbakk
2012-11-28 20:21     ` Chris Friesen
2012-11-28 20:27       ` Mathias Burén
2012-11-28 20:29         ` Chris Friesen
2012-12-03 20:22           ` Ric Wheeler
2012-12-03 20:44             ` Chris Friesen
2012-12-03 20:52               ` Ric Wheeler [this message]
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=50BD1127.6090304@redhat.com \
    --to=rwheeler@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=chris.friesen@genband.com \
    --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 \
    /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).