public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Bron Gondwana <brong@fastmail.fm>
Cc: Steven Pratt <slpratt@austin.ibm.com>,
	linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Single disk performance
Date: Tue, 30 Jun 2009 07:02:52 -0400	[thread overview]
Message-ID: <20090630110252.GA5963@think> (raw)
In-Reply-To: <20090629231722.GA19561@brong.net>

On Tue, Jun 30, 2009 at 09:17:22AM +1000, Bron Gondwana wrote:
> On Mon, Jun 29, 2009 at 08:41:49AM -0400, Chris Mason wrote:
> > On Fri, Jun 26, 2009 at 09:26:59PM -0500, Steven Pratt wrote:
> > > 18:40:32 btrfs2 kernel: [ 4459.870613] sd 0:0:1:0: [sdb] Unhandled error 
> > > code
> > > Jun 26 18:40:32 btrfs2 kernel: [ 4459.870640] sd 0:0:1:0: [sdb] Result:  
> > > hostbyte=DID_ABORT driverbyte=DRIVER_OK
> > > Jun 26 18:40:32 btrfs2 kernel: [ 4459.870646] end_request: I/O error,  
> > > dev sdb, sector 103359232
> > >
> > > So still not sure if this is HW, but no other FS has triggered it.
> > 
> > I'm afraid Btrfs can't do this on its own.  It needs to HW, scsi
> > drivers or HW or scsi drivdes ;)
> > 
> > You could try dd if=/dev/sdb of=/dev/zero bs=512 count=1 skip=103359232
> > 
> > Hopefully that will fall over without btrfs helping.
> 
> Surely of=/dev/null ?  Unless you mean to write to the disk at that block
> which would be if=/dev/zero of=/dev/sdb...

Its just habit for me, since /dev/null won't work as if=/dev/null, I
always use /dev/zero with dd.

-chris

  reply	other threads:[~2009-06-30 11:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26 14:28 Single disk performance Steven Pratt
2009-06-26 20:56 ` Chris Mason
2009-06-27  2:26   ` Steven Pratt
2009-06-29 12:41     ` Chris Mason
2009-06-29 23:17       ` Bron Gondwana
2009-06-30 11:02         ` Chris Mason [this message]
2009-06-30 14:38       ` Steven Pratt
2009-06-30 15:10         ` Yan Zheng
2009-06-30 15:26           ` Steven Pratt

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=20090630110252.GA5963@think \
    --to=chris.mason@oracle.com \
    --cc=brong@fastmail.fm \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=slpratt@austin.ibm.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