All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Error target causes entire device to error
Date: Thu, 13 Nov 2008 14:43:02 -0500	[thread overview]
Message-ID: <491C8346.3050301@cfl.rr.com> (raw)
In-Reply-To: <491C743A.9060609@redhat.com>

Milan Broz wrote:
> it seems that someone optimize the request, direct io does what you want.
> in fact, dm receives bio requesting 1024 bytes, not 512.
> (optimizing it to page size, but here it is limited by device size).
> 
> assuming that your arch has 4kb pages, try to setup device with
> 0 8 zero
> 8 8 error

Ahh, of course!  The buffer cache is trying to read a whole page.  And I 
guess it just gives up and fails the entire request rather than retrying 
only on the requested area.

      reply	other threads:[~2008-11-13 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 22:16 Error target causes entire device to error Phillip Susi
2008-11-13 18:38 ` Milan Broz
2008-11-13 19:43   ` Phillip Susi [this message]

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=491C8346.3050301@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=dm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.