Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com
       [not found] <20010113114507.D15915@linuxcare.com>
@ 2001-01-13  1:43 ` Andreas Dilger
  2001-01-13 16:06   ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Dilger @ 2001-01-13  1:43 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: Mauelshagen, linux-kernel, linux-lvm

Anton, you write:
> Have a look at 2.4, arch/sparc64/kernel/ioctl32.c

Yuk.

> Would it be possible to clean up the ioctl interface so we dont need
> such large hacks for LVM support? I can do the work but I want to be
> sure you guys will agree to it.

What is the reason for all this?  Alignment/wordsize/other?  If you look
at the IOP10 code, much of the in-core data structs were changed to int
or long, so this sparc code may not be necessary.  It may in fact be
damaging, because I don't know if any of the LVM developers even know it
is there, and surely it will be out of sync...

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com
  2001-01-13  1:43 ` [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com Andreas Dilger
@ 2001-01-13 16:06   ` Christoph Hellwig
  2001-01-16  8:51     ` Patrick Caulfield
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2001-01-13 16:06 UTC (permalink / raw)
  To: linux-lvm; +Cc: Anton Blanchard, Mauelshagen, linux-kernel

On Fri, Jan 12, 2001 at 06:43:23PM -0700, Andreas Dilger wrote:
> Anton, you write:
> > Have a look at 2.4, arch/sparc64/kernel/ioctl32.c
> 
> Yuk.
> 
> > Would it be possible to clean up the ioctl interface so we dont need
> > such large hacks for LVM support? I can do the work but I want to be
> > sure you guys will agree to it.
> 
> What is the reason for all this?  Alignment/wordsize/other?  If you look
> at the IOP10 code, much of the in-core data structs were changed to int
> or long, so this sparc code may not be necessary.

The longs are the biggest problem AFAICS.
long is 64bit on sparc64 and 32bit on sparc32...

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com
  2001-01-13 16:06   ` Christoph Hellwig
@ 2001-01-16  8:51     ` Patrick Caulfield
  2001-01-16 20:10       ` Charles Duffy
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Caulfield @ 2001-01-16  8:51 UTC (permalink / raw)
  To: linux-lvm, Anton Blanchard, Mauelshagen, linux-kernel

On Sat, Jan 13, 2001 at 05:06:16PM +0100, Christoph Hellwig wrote:
> On Fri, Jan 12, 2001 at 06:43:23PM -0700, Andreas Dilger wrote:
> > Anton, you write:
> > > Have a look at 2.4, arch/sparc64/kernel/ioctl32.c
> > 
> > Yuk.
> > 
> > > Would it be possible to clean up the ioctl interface so we dont need
> > > such large hacks for LVM support? I can do the work but I want to be
> > > sure you guys will agree to it.

If you're prepared to do the work we'd be glad to accept the patch - please send
it to me or the list so I can check over it before committing it. As we don't
have an UltraSPARC available for testing it's probably better done by someone
who does !
 
> > What is the reason for all this?  Alignment/wordsize/other?  If you look
> > at the IOP10 code, much of the in-core data structs were changed to int
> > or long, so this sparc code may not be necessary.
> 
> The longs are the biggest problem AFAICS.
> long is 64bit on sparc64 and 32bit on sparc32...

There are still a few ulong members in lvm.h, they should be uint32_t 

patrick

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com
  2001-01-16  8:51     ` Patrick Caulfield
@ 2001-01-16 20:10       ` Charles Duffy
  2001-01-17 10:16         ` Patrick Caulfield
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Duffy @ 2001-01-16 20:10 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

On Tue, Jan 16, 2001 at 08:51:18AM +0000, Patrick Caulfield wrote:
> On Sat, Jan 13, 2001 at 05:06:16PM +0100, Christoph Hellwig wrote:
> > On Fri, Jan 12, 2001 at 06:43:23PM -0700, Andreas Dilger wrote:
> > > > Would it be possible to clean up the ioctl interface so we
> > > > dont need such large hacks for LVM support? I can do the work
> > > > but I want to be sure you guys will agree to it.
> 
> If you're prepared to do the work we'd be glad to accept the patch -
> please send it to me or the list so I can check over it before
> committing it. As we don't have an UltraSPARC available for testing
> it's probably better done by someone who does !

I have an Ultra-1 available, presently in use as a prototyping system.
It's not currently using LVM and there's no unpartitioned space on the
drive, but if one of the core developers (or otherwise someone I have
reason to trust) wants to try testing LVM over loopback (or something
of that sort), I can provide access.

I don't have the time to do testing myself, unless someone can provide
a specific set of instructions (ie. the nature of an expected bug is
known; the only question is its presence).

Btw, I can only promise availability for about a week or so; the
machine may become a production system after that time.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com
  2001-01-16 20:10       ` Charles Duffy
@ 2001-01-17 10:16         ` Patrick Caulfield
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Caulfield @ 2001-01-17 10:16 UTC (permalink / raw)
  To: linux-lvm

On Tue, Jan 16, 2001 at 12:10:46PM -0800, Charles Duffy wrote:
> On Tue, Jan 16, 2001 at 08:51:18AM +0000, Patrick Caulfield wrote:
> > On Sat, Jan 13, 2001 at 05:06:16PM +0100, Christoph Hellwig wrote:
> > > On Fri, Jan 12, 2001 at 06:43:23PM -0700, Andreas Dilger wrote:
> > > > > Would it be possible to clean up the ioctl interface so we
> > > > > dont need such large hacks for LVM support? I can do the work
> > > > > but I want to be sure you guys will agree to it.
> > 
> > If you're prepared to do the work we'd be glad to accept the patch -
> > please send it to me or the list so I can check over it before
> > committing it. As we don't have an UltraSPARC available for testing
> > it's probably better done by someone who does !
> 
> I have an Ultra-1 available, presently in use as a prototyping system.
> It's not currently using LVM and there's no unpartitioned space on the
> drive, but if one of the core developers (or otherwise someone I have
> reason to trust) wants to try testing LVM over loopback (or something
> of that sort), I can provide access.

I was hoping that Anton would volunteer as per his message in linux-kernel :-)

Having looked in (too much) depth at the code I decided I don't know enough
about Ultra-SPARCs to be able to do this on some else's machine. 

I've worked fairly extensively on Alphas (which are a pure 64 bit machine)
but the sparc seems to have some bizarre 32 bit modes I know nothing about.


patrick

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-17 10:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20010113114507.D15915@linuxcare.com>
2001-01-13  1:43 ` [linux-lvm] Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com Andreas Dilger
2001-01-13 16:06   ` Christoph Hellwig
2001-01-16  8:51     ` Patrick Caulfield
2001-01-16 20:10       ` Charles Duffy
2001-01-17 10:16         ` Patrick Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox