From: Jens Axboe <axboe@suse.de>
To: Arjan Filius <iafilius@xs4all.nl>
Cc: linux-kernel@vger.kernel.org, linux-lvm@msede.com
Subject: Re: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon
Date: Sun, 15 Apr 2001 16:24:51 +0200 [thread overview]
Message-ID: <20010415162451.F1982@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.31.0104151444130.1050-100000@sjoerd.sjoerdnet>
In-Reply-To: <Pine.LNX.4.31.0104151444130.1050-100000@sjoerd.sjoerdnet>; from iafilius@xs4all.nl on Sun, Apr 15, 2001 at 02:55:53PM +0200
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
On Sun, Apr 15 2001, Arjan Filius wrote:
> Hello,
>
> While trying kernel 2.4.4-pre3 i found a "hanging" swapon (my swap is on
> LVM), same effect for "mount -a". 2.4.3 works properly.
>
> I found ./drivers/md/lvm.c is patched, and restoring the lvm.c from 2.4.3
> resulted in normal operation.
>
> I Found LVM/0.9.1_beta7 makes some notes about the patch, so i tried that
> (beta7), but no luck, only 2.4.3:lvm.c worked ok.
Small buglet in the buffer_IO_error out path, I maybe that's it...
--
Jens Axboe
[-- Attachment #2: lvm-eout-1 --]
[-- Type: text/plain, Size: 302 bytes --]
--- /opt/kernel/linux-2.4.4-pre3/drivers/md/lvm.c Sun Apr 15 16:24:13 2001
+++ drivers/md/lvm.c Sun Apr 15 16:23:36 2001
@@ -1675,8 +1675,10 @@
struct buffer_head *bh)
{
int ret = lvm_map(bh, rw);
- if (ret < 0)
+ if (ret < 0) {
+ ret = 0;
buffer_IO_error(bh);
+ }
return ret;
}
next prev parent reply other threads:[~2001-04-15 14:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-15 12:55 Arjan Filius
2001-04-15 14:24 ` Jens Axboe [this message]
2001-04-15 18:14 ` Arjan Filius
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=20010415162451.F1982@suse.de \
--to=axboe@suse.de \
--cc=iafilius@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-lvm@msede.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
all inboxes | Powered by JetHome®