[linux-lvm] Re: more LVM 0.8 patches

Andreas Dilger adilger at turbolinux.com
Mon Oct 23 18:00:01 UTC 2000


Luca Berra writes:
> hello here are more lvm patches.
> they apply over patches in lvm-0.8final-3.3.src.rpm
> 1st chunk is needed to compile on my system

Actually, this is a bit of a problem.  In my 2.2 kernel patch, I include an
lvm.h that can be used for both user and kernel compiles, so that you are
sure you have the same IOP version, struct sizes, etc.  However, this lvm.h
doesn't exist on 2.4.

I have never tried using my 2.2 lvm.h header to compile the 2.4 kernel.  It
is mosly correct (I preserved _most_ of the 2.4 definitions and such), but
that wasn't my real goal (I was interested in a 2.2 header) so I doubt it
has everything.

If you are interested to do a bit of work, it would be good to take my 2.2
lvm.h and add the few missing "#if kernel 2.2 use this, #else use that"
checks and I will add it into my lvm.h so it can be used by everyone.

> 2nd chunk is nice for devfs
> 3rd chunk is NEEDED for lvm over raid

These look OK.  I will add them into my patch.

> I am still missing something on the vgchange front, the binary version i
> saved before trashing my whole system this summer works, the one built from
> these sources doesn't.

What sort of symptoms are you having (sorry if you already posted them)?

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



More information about the linux-lvm mailing list