mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Lars Marowsky-Bree <lmb@suse.de>
Cc: agk@redhat.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [patch] [2.6.12-rc6-mm1] Handle READA requests in dm-mpath.c
Date: Wed, 8 Jun 2005 04:33:47 -0700	[thread overview]
Message-ID: <20050608043347.5db85317.akpm@osdl.org> (raw)
In-Reply-To: <20050608110436.GQ27119@marowsky-bree.de>

Lars Marowsky-Bree <lmb@suse.de> wrote:
>
> READA errors failing with EWOULDBLOCK/EAGAIN do not constitute a valid
> reason for failing the path; this lead to erratic errors on DM multipath
> devices. This error can be safely propagated upwards without failing the
> path.
> 

Why do you describe this as a -mm patch?  We want this in 2.6.12, no?

> --- linux-2.6.12-rc6-mm1.orig/drivers/md/dm-mpath.c	2005-06-08 12:51:02.741055000 +0200
> +++ linux-2.6.12-rc6-mm1/drivers/md/dm-mpath.c	2005-06-08 12:57:55.757828867 +0200
> @@ -985,6 +985,9 @@
>  	if (!error)
>  		return 0;	/* I/O complete */
>  
> +	if ((error == -EWOULDBLOCK) && bio_rw_ahead(bio))
> +		return error;
> +
>  	spin_lock(&m->lock);
>  	if (!m->nr_valid_paths) {
>  		if (!m->queue_if_no_path || m->suspended) {
> 
> 
> -- 
> High Availability & Clustering
> SUSE Labs, Research and Development
> SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
> "Ignorance more frequently begets confidence than does knowledge"

  reply	other threads:[~2005-06-08 11:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 11:04 Lars Marowsky-Bree
2005-06-08 11:33 ` Andrew Morton [this message]
2005-06-08 12:13   ` Lars Marowsky-Bree

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=20050608043347.5db85317.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lmb@suse.de \
    /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

all inboxes | Powered by JetHome®