From: Jens Axboe <axboe@suse.de>
To: Arjan Filius <iafilius@xs4all.nl>
Cc: linux-lvm@sistina.com, linux-kernel@vger.kernel.org,
linux-openlvm@nl.linux.org
Subject: Re: [linux-lvm] 2.4.3-ac{6,7} LVM hang
Date: Thu, 19 Apr 2001 23:51:07 +0200 [thread overview]
Message-ID: <20010419235107.G750@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.31.0104192311080.1048-100000@sjoerd.sjoerdnet>; from iafilius@xs4all.nl on Thu, Apr 19, 2001 at 11:13:49PM +0200
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
On Thu, Apr 19 2001, Arjan Filius wrote:
> Hello,
>
> Same here as reported.
> restoring lvm.c from 2.4.3 into 2.4.4-pre? "fixes" this. (tested not ac's
> kernel)
Does attached patch fix it?
--
Jens Axboe
[-- Attachment #2: lvm-244p4-1 --]
[-- Type: text/plain, Size: 369 bytes --]
--- /opt/kernel/linux-2.4.4-pre4/drivers/md/lvm.c Wed Apr 18 14:37:34 2001
+++ drivers/md/lvm.c Thu Apr 19 23:40:39 2001
@@ -1674,10 +1674,11 @@
int rw,
struct buffer_head *bh)
{
- int ret = lvm_map(bh, rw);
- if (ret < 0)
- buffer_IO_error(bh);
- return ret;
+ if (lvm_map(bh, rw) >= 0)
+ return 1;
+
+ buffer_IO_error(bh);
+ return 0;
}
next prev parent reply other threads:[~2001-04-19 21:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-16 19:55 [linux-lvm] 2.4.3-ac{6,7} LVM hang Rik van Riel
2001-04-19 21:13 ` Arjan Filius
2001-04-19 21:51 ` Jens Axboe [this message]
2001-04-20 1:05 ` Ulrich Drepper
2001-04-20 2:02 ` Rik van Riel
2001-04-20 8:46 ` Jens Axboe
2001-04-20 8:00 ` Arjan Filius
2001-04-20 6:41 ` Luca Berra
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=20010419235107.G750@suse.de \
--to=axboe@suse.de \
--cc=iafilius@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-lvm@sistina.com \
--cc=linux-openlvm@nl.linux.org \
/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).