From: Andreas Dilger <adilger@turbolinux.com>
To: lvm-devel@sistina.com
Cc: linux-lvm@sistina.com
Subject: [linux-lvm] Re: [lvm-devel] [PATCH] IOPv6 support for Linux 2.4.0-test13-pre4 (LVM 0.9)
Date: Tue, 26 Dec 2000 00:52:40 -0700 (MST) [thread overview]
Message-ID: <200012260752.eBQ7qea25647@webber.adilger.net> (raw)
In-Reply-To: <20001226001600.A24447@caldera.de> "from Christoph Hellwig at Dec 26, 2000 00:16:00 am"
Christoph Hellwig writes:
> this patch (against Linux 2.4.0-test13-pre4 + my both previous patches),
> implements a IOPv6 compatiblity layer for LVM 0.9. This is done by doing
> structure conversion in copy_{pv,vg,lv}_{from,to}_user routines that replace
> copy_{from,to}_user calls in lvm.c.
First of all, I'm not 100% convinced that it is possible to use the
IOPv6 user tools with an IOPv10 kernel. Surely there is _something_ that
the kernel is expecting that the older tools don't handle? Otherwise,
why would the IOP version have changed? Even so, I think doing the
compatibility in the kernel is the wrong place - the compatibility bloat
should be in the user-space library.
I'd rather the compatibility layer was in liblvm (user space) and
that the 0.9 user tools could optionally work with an IOPv6 kernel.
This would require that users always have the latest tools (which
is always the case), but that they could upgrade the tools _before_
upgrading the kernel.
Actually, I have no idea yet how hard it is to handle multiple IOP versions
from a single liblvm, but I think the "wrapper" method is pretty flexible
for a lot less work - it allows us to handle multiple IOP versions at the
same time, and also lets you delete older IOP support when you no longer
need it.
Cheers, Andreas
PS - yes I hate it when I complain about work that someone else has done
when I'm not quite ready to do a better job myself.
--
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
prev parent reply other threads:[~2000-12-26 7:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-25 23:16 [linux-lvm] [PATCH] IOPv6 support for Linux 2.4.0-test13-pre4 (LVM 0.9) Christoph Hellwig
2000-12-26 7:52 ` Andreas Dilger [this message]
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=200012260752.eBQ7qea25647@webber.adilger.net \
--to=adilger@turbolinux.com \
--cc=linux-lvm@sistina.com \
--cc=lvm-devel@sistina.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