Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Peter Samuelson
[mec] > > Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y. Ewww, you're right. As I believe I already mentioned, this is why I was originally opposed to mixing lvm and md into one directory. Not that this was a valid objection, of course. The easy fix would be to

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Jeff Garzik
On Tue, 26 Sep 2000, Michael Elizabeth Chastain wrote: > Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y. > > The simple correct way is to use some ugly temporary variables: > MD and MMD. Temporary variables shouldn't be needed... We need to put drivers/md in both

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Michael Elizabeth Chastain
Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y. The simple correct way is to use some ugly temporary variables: MD and MMD. Michael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Peter Samuelson
[Jeff Garzik <[EMAIL PROTECTED]>] > We don't need a config option just to jump into another directory. > Probably just a makefile or config bug.. Yeah, this is not well-tested but at least *looks* obviously correct. (BTW the ugliness in drivers/makefile is sort of why I was originally opposed

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Peter Samuelson
[Jeff Garzik [EMAIL PROTECTED]] We don't need a config option just to jump into another directory. Probably just a makefile or config bug.. Yeah, this is not well-tested but at least *looks* obviously correct. (BTW the ugliness in drivers/makefile is sort of why I was originally opposed to

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Michael Elizabeth Chastain
Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y. The simple correct way is to use some ugly temporary variables: MD and MMD. Michael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Jeff Garzik
On Tue, 26 Sep 2000, Michael Elizabeth Chastain wrote: Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y. The simple correct way is to use some ugly temporary variables: MD and MMD. Temporary variables shouldn't be needed... We need to put drivers/md in both SUB_DIRS

Re: lvm in 2.4.0-test9pre5

2000-09-26 Thread Peter Samuelson
[mec] Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y. Ewww, you're right. As I believe I already mentioned, this is why I was originally opposed to mixing lvm and md into one directory. Not that this was a valid objection, of course. The easy fix would be to

Re: lvm in 2.4.0-test9pre5

2000-09-25 Thread Jeff Garzik
On Mon, 25 Sep 2000, Jan Niehusmann wrote: > > But I don't think there is anything wrong with grouping RAID and LVM under > > the title "md", and just leaving it as such. > It seems that the current setup makes it impossible to compile lvm without > compiling md.c. But md.c is not needed for

Re: lvm in 2.4.0-test9pre5

2000-09-25 Thread Andrea Arcangeli
On Mon, Sep 25, 2000 at 08:04:36PM +0200, Jan Niehusmann wrote: > compiling md.c. But md.c is not needed for lvm, is it? It is not needed, correct. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

Re: lvm in 2.4.0-test9pre5

2000-09-25 Thread Jan Niehusmann
> But I don't think there is anything wrong with grouping RAID and LVM under > the title "md", and just leaving it as such. It seems that the current setup makes it impossible to compile lvm without compiling md.c. But md.c is not needed for lvm, is it? I think we need two different config

Re: lvm in 2.4.0-test9pre5

2000-09-25 Thread Jan Niehusmann
But I don't think there is anything wrong with grouping RAID and LVM under the title "md", and just leaving it as such. It seems that the current setup makes it impossible to compile lvm without compiling md.c. But md.c is not needed for lvm, is it? I think we need two different config

Re: lvm in 2.4.0-test9pre5

2000-09-25 Thread Andrea Arcangeli
On Mon, Sep 25, 2000 at 08:04:36PM +0200, Jan Niehusmann wrote: compiling md.c. But md.c is not needed for lvm, is it? It is not needed, correct. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

Re: lvm in 2.4.0-test9pre5

2000-09-23 Thread Andrea Arcangeli
On Sat, Sep 23, 2000 at 01:34:33PM -0500, Peter Samuelson wrote: > common association. It's a documentation issue as much as anything, Agreed. > and you've basically taken care of that in -pre6. Looks fine to me too. Andrea - To unsubscribe from this list: send the line "unsubscribe

Re: lvm in 2.4.0-test9pre5

2000-09-23 Thread Peter Samuelson
[Peter Samuelson] > > "md", on the other hand, is well-established as referring to Linux > > RAID, but if you add lvm the label is too narrow. [Linus] > Yes, we have all thes _historical_ reasons why people think "md" > refers to the particular RAID code in question. But so what? LVM is >

Re: lvm in 2.4.0-test9pre5

2000-09-23 Thread Linus Torvalds
On Fri, 22 Sep 2000, Peter Samuelson wrote: > > But most if not all block drivers, and some char drivers for that > matter, could be considered part of "storage management". So the label > is too broad. "md", on the other hand, is well-established as > referring to Linux RAID, but if you add

Re: lvm in 2.4.0-test9pre5

2000-09-23 Thread Peter Samuelson
[Peter Samuelson] "md", on the other hand, is well-established as referring to Linux RAID, but if you add lvm the label is too narrow. [Linus] Yes, we have all thes _historical_ reasons why people think "md" refers to the particular RAID code in question. But so what? LVM is also very

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Jeff Garzik
Peter Samuelson wrote: > But most if not all block drivers, and some char drivers for that > matter, could be considered part of "storage management". So the label > is too broad. "md", on the other hand, is well-established as > referring to Linux RAID, but if you add lvm the label is too

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Peter Samuelson
[aa] > Ok, I see your point of grouping them together. > > So I think drivers/sm (Storage Management) would be cleaner. LVM and > MD are two implementations of Storage Management. But most if not all block drivers, and some char drivers for that matter, could be considered part of "storage

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Andrea Arcangeli
On Fri, Sep 22, 2000 at 01:48:23PM -0700, Linus Torvalds wrote: > (and I think LVM can do striping too). Yes, they have different Yes LVM does striping too (it overlaps with raid0 functionality provided by MD). > It makes sense to group them together. Neither is a true hardware > driver, and

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: >On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: >> Yes, lvm.c and lvm-snap.c are missing from drivers/md/. > >LVM and MD have nothing common. I disagree. Yes, they have no _code_ in common. They have

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Linus Torvalds
In article [EMAIL PROTECTED], Andrea Arcangeli [EMAIL PROTECTED] wrote: On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. I disagree. Yes, they have no _code_ in common. They have a

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Peter Samuelson
[aa] Ok, I see your point of grouping them together. So I think drivers/sm (Storage Management) would be cleaner. LVM and MD are two implementations of Storage Management. But most if not all block drivers, and some char drivers for that matter, could be considered part of "storage

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Jeff Garzik
Peter Samuelson wrote: But most if not all block drivers, and some char drivers for that matter, could be considered part of "storage management". So the label is too broad. "md", on the other hand, is well-established as referring to Linux RAID, but if you add lvm the label is too narrow.

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 06:38:39PM -0500, Peter Samuelson wrote: > Right. Functionally they overlap (lvm can do the equivalent of md > linear) but structurally, the md drivers all operate under the md lvm can do linear and raid0 (striping in two or more disks), and it supports live snapshotting

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Peter Samuelson
[Andrea] > LVM and MD have nothing common. They're two completly orthogonal > piece of code Right. Functionally they overlap (lvm can do the equivalent of md linear) but structurally, the md drivers all operate under the md framework and user-toolset while lvm has its own framework and

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Jan Niehusmann
On Thu, Sep 21, 2000 at 05:47:36PM +0200, Andrea Arcangeli wrote: > On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: > > Yes, lvm.c and lvm-snap.c are missing from drivers/md/. > > LVM and MD have nothing common. Yes, I know. I'm not arguing about the right location for lvm. But

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: > Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. They're two completly orthogonal piece of code (you can put LVM on top of MD but that's just because of the nice reentrance of the blkdev API

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Jan Niehusmann
On Wed, Sep 20, 2000 at 08:54:55PM -0400, Mohammad A. Haque wrote: > I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the > Makefile in md needs to be fixed. Yes, lvm.c and lvm-snap.c are missing from drivers/md/. Additionally, drivers/Makefile needs to be modified: If you

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Jan Niehusmann
On Wed, Sep 20, 2000 at 08:54:55PM -0400, Mohammad A. Haque wrote: I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the Makefile in md needs to be fixed. Yes, lvm.c and lvm-snap.c are missing from drivers/md/. Additionally, drivers/Makefile needs to be modified: If you use

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. They're two completly orthogonal piece of code (you can put LVM on top of MD but that's just because of the nice reentrance of the blkdev API

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Jan Niehusmann
On Thu, Sep 21, 2000 at 05:47:36PM +0200, Andrea Arcangeli wrote: On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. Yes, I know. I'm not arguing about the right location for lvm. But lvm

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Peter Samuelson
[Andrea] LVM and MD have nothing common. They're two completly orthogonal piece of code Right. Functionally they overlap (lvm can do the equivalent of md linear) but structurally, the md drivers all operate under the md framework and user-toolset while lvm has its own framework and toolset.

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 06:38:39PM -0500, Peter Samuelson wrote: Right. Functionally they overlap (lvm can do the equivalent of md linear) but structurally, the md drivers all operate under the md lvm can do linear and raid0 (striping in two or more disks), and it supports live snapshotting

lvm in 2.4.0-test9pre5

2000-09-20 Thread Mohammad A. Haque
I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the Makefile in md needs to be fixed. -- = Mohammad A. Haque http://www.haque.net/

lvm in 2.4.0-test9pre5

2000-09-20 Thread Mohammad A. Haque
I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the Makefile in md needs to be fixed. -- = Mohammad A. Haque http://www.haque.net/