xfs
[Top] [All Lists]

Re: oops when creating an lvm-snapshot

To: Erik Tews <erik@xxxxxxxxxxxxxxxxx>
Subject: Re: oops when creating an lvm-snapshot
From: Steve Lord <lord@xxxxxxx>
Date: 14 Aug 2002 12:07:12 -0500
Cc: linux-xfs@xxxxxxxxxxx, lvm-devel@xxxxxxxxxxx
In-reply-to: <20020814170120.GA23422@xxxxxxxxxxxxxxxxxx>
References: <20020814170120.GA23422@xxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 2002-08-14 at 12:01, Erik Tews wrote:
> Hi
> 

> 
> ESP             EIP             Function (args)
> 0xc5849a48      0xc01ef635      xfs_fs_freeze+0x5d (0xc8d77000)
>                                         kernel .text 0xc0100000 0xc01ef5d8 
> 0xc01ef65c
> 0xc5849a54      0xc021782e      xfs_ioctl+0x102e (0xc5f11e68, 0xc5f0fc5c, 
> 0x0, 0xc0045877, 0x0)
>                                         kernel .text 0xc0100000 0xc0216800 
> 0xc02178d7

I think this is regression introduced yesterday, we changed some
structures around. Try editing fs/xfs/xfs_fsops.c

Look for this code around line 580:

        if (mp->m_rtdev != 0) {
                xfs_binval(mp->m_rtdev_targp);
        }

Change it to:

        if (mp->m_rtdev_targp) {
                xfs_binval(mp->m_rtdev_targp);
        }

and see if that fixes it for you.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>