* 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon
@ 2001-04-15 12:55 Arjan Filius
2001-04-15 14:24 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Arjan Filius @ 2001-04-15 12:55 UTC (permalink / raw)
To: linux-kernel, linux-lvm
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.
Greatings,
--
Arjan Filius
mailto:iafilius@xs4all.nl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon
2001-04-15 12:55 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon Arjan Filius
@ 2001-04-15 14:24 ` Jens Axboe
2001-04-15 18:14 ` Arjan Filius
0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2001-04-15 14:24 UTC (permalink / raw)
To: Arjan Filius; +Cc: linux-kernel, linux-lvm
[-- 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;
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] Re: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon
2001-04-15 14:24 ` Jens Axboe
@ 2001-04-15 18:14 ` Arjan Filius
0 siblings, 0 replies; 4+ messages in thread
From: Arjan Filius @ 2001-04-15 18:14 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel, linux-lvm
Hello,
On Sun, 15 Apr 2001, Jens Axboe wrote:
> 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...
Dunno, i did som 'strace'ing and found it is waiting in read():
open("/dev/vg_4/lv_images", O_RDONLY) = 4
lseek(4, 1024, SEEK_SET) = 1024
read(4,
(killed with SAK)
Greatings,
--
Arjan Filius
mailto:iafilius@xs4all.nl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon
@ 2001-04-15 18:14 ` Arjan Filius
0 siblings, 0 replies; 4+ messages in thread
From: Arjan Filius @ 2001-04-15 18:14 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel, linux-lvm
Hello,
On Sun, 15 Apr 2001, Jens Axboe wrote:
> 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...
Dunno, i did som 'strace'ing and found it is waiting in read():
open("/dev/vg_4/lv_images", O_RDONLY) = 4
lseek(4, 1024, SEEK_SET) = 1024
read(4,
(killed with SAK)
Greatings,
--
Arjan Filius
mailto:iafilius@xs4all.nl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-04-15 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-15 12:55 2.4.4-pre3: lvm.c patch results in "hanging" mount or swapon Arjan Filius
2001-04-15 14:24 ` Jens Axboe
2001-04-15 18:14 ` [linux-lvm] " Arjan Filius
2001-04-15 18:14 ` Arjan Filius
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.