mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alasdair Kergon <agk@uk.sistina.com>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6] Most likely to be merged by Halloween... THE LIST
Date: Sun, 21 Jul 2002 16:52:46 +0100	[thread overview]
Message-ID: <20020721165246.A6194@uk.sistina.com> (raw)
In-Reply-To: <20020721161050.A10867@wotan.suse.de>; from ak@suse.de on Sun, Jul 21, 2002 at 04:10:50PM +0200

On Sun, Jul 21, 2002 at 04:10:50PM +0200, Andi Kleen wrote:
> The problem in my opinion with LVM2 is that the design makes it
> near impossible to get a stable ABI between user and kernel space
> (at least if you don't want to freeze it completely). 

> As far as I can see this problem is not addressed in LVM2 and its design
> makes it even harder to address than it was in LVM1

On the contrary, device-mapper (which is the name we have given to the
generic kernel driver that LVM2 uses) goes out of its way to learn
these lessons from LVM1 and to provide mechanisms so we can avoid this
sort of potential problem as new features are added etc.

Of course we hope the existing interface is reasonably stable and
changes will just be additions to support new features.  But
nevertheless LVM2/device-mapper is designed to cope with all sorts of
scenarios, including a single version of userspace tools working
sensibly with both older *and newer* versions of the kernel driver.

We have three layers:
  +------------+---------+------------+
  | LVM2 Tools | dmsetup | Other apps |  Userspace apps
  +------------+---------+------------+
  | device-mapper library             |  Userspace library
  +-----------------------------------+
  | device-mapper                     |  Kernel driver
  +-----------------------------------+

Userspace library/kernel driver interface:
  LVM1 attached a single version number to this ioctl interface,
  and a version number mismatch meant the tools would fail.

  The device-mapper ioctl interface attaches a 3-component version
  number to each individual command so we can handle fine-grained 
  forwards and/or backwards compatibility easily if we need to - and 
  in either the kernel or in the library as appropriate.

Alasdair
-- 
agk@uk.sistina.com

  reply	other threads:[~2002-07-21 15:49 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <OF918E6F71.637B1CBC-ON85256BFB.004CDDD0@pok.ibm.com.suse.lists.linux.kernel>
     [not found] ` <1027199147.16819.39.camel@irongate.swansea.linux.org.uk.suse.lists.linux.kernel>
2002-07-21  6:57   ` Andi Kleen
2002-07-21  7:23     ` Austin Gonyou
2002-07-21  8:33     ` Oliver Neukum
2002-07-21  8:47       ` Andi Kleen
2002-07-21 13:40     ` Alan Cox
2002-07-21 14:10       ` Andi Kleen
2002-07-21 15:52         ` Alasdair Kergon [this message]
2002-07-23 16:41       ` Timothy D. Witham
2002-07-26 16:12 Ben Rafanello
2002-07-29  9:00 ` Joe Thornber
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 17:36 Ben Rafanello
2002-07-26  8:16 ` Joe Thornber
2002-07-22 23:47 Ben Rafanello
2002-07-22 21:42 Steve Pratt
2002-07-23  8:16 ` Joe Thornber
2002-07-22 18:31 Ben Rafanello
2002-07-22 19:07 ` Christoph Hellwig
2002-07-23  8:26 ` Joe Thornber
2002-07-21  4:42 Tom Walcott
2002-07-21 13:48 ` Alan Cox
2002-07-21 16:39   ` Tom Walcott
2002-07-19 14:05 Mark Peloquin
2002-07-20 21:05 ` Alan Cox
2002-07-20 20:30   ` Austin Gonyou
2002-07-20 20:55     ` David Weinehall
2002-07-20 21:24       ` Andreas Dilger
2002-07-21  0:24         ` Alan Cox
2002-07-21  1:47           ` Andreas Dilger
2002-07-26  8:52             ` Heinz J . Mauelshagen
2002-07-21 20:44       ` Ernst Lehmann
2002-07-19  2:00 Val Henson
2002-07-18 11:57 Martin Knoblauch
2002-07-18  4:49 Guillaume Boissiere
2002-07-18  6:08 ` Greg KH
2002-07-18 16:14   ` Greg KH
2002-07-20  7:41     ` Shane Nay
2002-07-20  8:22       ` Russell King
     [not found]     ` <200207200805.BAA20399@granite.he.net>
2002-07-20 17:27       ` Greg KH
2002-07-18  8:20 ` Dave Jones
2002-07-18  8:36 ` Stephen Lord
2002-07-18  9:23 ` Tomas Szepe
2002-07-18 14:31 ` Martin J. Bligh
2002-07-18 16:47   ` Anton Blanchard
2002-07-19 15:08   ` Hubertus Franke
2002-07-18 16:15 ` Greg KH
2002-07-18 16:17 ` Greg KH
2002-07-18 16:39 ` Robert Love
2002-07-18 22:19   ` Rik van Riel
2002-07-18 16:46 ` Bill Davidsen
2002-07-18 20:22   ` Dave Jones
2002-07-18 23:17     ` Thunder from the hill
2002-07-19  1:18     ` Peter Osterlund
2002-07-19  9:40       ` Peter Osterlund
2002-07-23  9:39         ` Jens Axboe
2002-07-23 13:09           ` Peter Osterlund
2002-07-24  6:24             ` Jens Axboe
2002-07-20 13:06     ` Miles Lane
2002-07-22 20:50     ` Bill Davidsen
2002-07-19  4:45   ` Guillaume Boissiere
2002-07-19 17:31 ` William Lee Irwin III
2002-07-22 10:23 ` Joe Thornber
2002-07-22 15:22   ` Daniel Phillips
2002-07-22 16:57     ` Alan Cox
2002-07-22 16:45       ` Daniel Phillips
2002-07-22 18:00         ` Alan Cox
2002-07-23 22:33     ` Bill Davidsen
     [not found] <OF918E6F71.637B1CBC-ON85256BFB.004CDDD0@pok.ibm.com.suse.lists.linux.kernel >

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=20020721165246.A6194@uk.sistina.com \
    --to=agk@uk.sistina.com \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®