All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Andreas Dilger <adilger@turbolinux.com>
Cc: Linux LVM Development list <lvm-devel@sistina.com>,
	Linux kernel development list <linux-kernel@vger.kernel.org>,
	Linux FS development list <linux-fsdevel@vger.kernel.org>
Subject: Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com
Date: Wed, 21 Feb 2001 02:12:52 +0100	[thread overview]
Message-ID: <20010221021252.A932@athlon.random> (raw)
In-Reply-To: <20010220234219.B2023@athlon.random> <200102210031.f1L0VQU15564@webber.adilger.net>
In-Reply-To: <200102210031.f1L0VQU15564@webber.adilger.net>; from adilger@turbolinux.com on Tue, Feb 20, 2001 at 05:31:25PM -0700

On Tue, Feb 20, 2001 at 05:31:25PM -0700, Andreas Dilger wrote:
> The reason why the IOP was changed was because the VG_CREATE ioctl now
> depends on the vg_number in the supplied vg_t to determine which VG minor
> number to use.  The old interface used the minor number of the opened
> device inode, but for devfs the device inodes don't exist until the VG
> is created...  If you run an older kernel with new tools, you can only
> use the first VG.

Ah, I was reading the patch incidentally against 2.2 patch where devfs support
is not included, so I wasn't thinking the devfs way ;). Thanks for the
explanation.

I assume it's not possible to mknod on top of devfs.  So then we could use a
temporary device in /var/tmp or whatever for that.  However those workarounds
tends to be ugly.

Probably the best way to preserve the IOP that I recommend for beta6 is to add
a new ioctl to the VG chardevice.  Rename VG_CREATE to VG_CREATE_OLD.
VG_CREATE_OLD is a wrapper that calculates the minor number from the inode and
then fallbacks into VG_CREATE, and the new VG_CREATE is the one that gets
the minor of the vg from userspace.

Either ways we don't break backwards compatibilty across 0.9* cycle.

If there would been a strong reason and it would be a mess to provide backwards
compatibilty I would of course agree to raise at IOP 11, but just to avoid a
few lines of code for a wrapper or a temporary mknod on /tmp for a devfs-only
fix, I think it worth to preserve IOP 10.

Andrea

  reply	other threads:[~2001-02-21  1:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-20 22:49 [linux-lvm] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com Heinz J. Mauelshagen
2001-02-20 22:42 ` [lvm-devel] " Andrea Arcangeli
2001-02-21  0:31   ` Andreas Dilger
2001-02-21  1:12     ` Andrea Arcangeli [this message]
2001-02-21  3:49       ` Richard Gooch
2001-02-21 17:00         ` Andrea Arcangeli
2001-02-21 17:03           ` Richard Gooch
2001-02-21 17:18           ` Christoph Hellwig
2001-02-22  4:12             ` Peter Samuelson
2001-02-22  9:46               ` Christoph Hellwig
2001-02-22 10:52                 ` Peter Samuelson
2001-02-22 11:53                   ` Christoph Hellwig
2001-02-21  4:19 ` [linux-lvm] snapshot of Reiserfs lvm, lvm
2001-02-21  8:59   ` Patrick Caulfield
2001-02-21 14:04     ` lvm
2001-02-21 14:11       ` Patrick Caulfield
2001-02-21 15:34         ` Chris Mason
2001-02-21 16:05           ` lvm
2001-02-21 16:12           ` Patrick Caulfield
2001-02-21 16:44     ` Andreas Dilger
2001-02-21 17:07       ` Chris Mason
2001-02-21 18:55         ` Andreas Dilger
2001-02-21 19:17           ` Chris Mason
2001-02-21 23:23             ` Andreas Dilger
2001-02-22 17:12               ` Chris Mason

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=20010221021252.A932@athlon.random \
    --to=andrea@suse.de \
    --cc=adilger@turbolinux.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 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.