All of lore.kernel.org
 help / color / mirror / Atom feed
* Support for btrfs in pv-grub
@ 2014-02-26 22:59 Charles Arnold
  2014-02-28  2:42 ` Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Arnold @ 2014-02-26 22:59 UTC (permalink / raw)
  To: xen-devel

Code to support btrfs in pv-grub was added almost two years ago (c/s 25154).
Building the code doesn't seem to be enabled in stubdom/grub/Makefile.
Was this functionality ever intended to work? 
Does anyone know the status of this code?

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

* Re: Support for btrfs in pv-grub
  2014-02-26 22:59 Support for btrfs in pv-grub Charles Arnold
@ 2014-02-28  2:42 ` Ian Campbell
  2014-02-28  3:30   ` Matt Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Campbell @ 2014-02-28  2:42 UTC (permalink / raw)
  To: Charles Arnold; +Cc: Matt Wilson, xen-devel

On Wed, 2014-02-26 at 15:59 -0700, Charles Arnold wrote:
> Code to support btrfs in pv-grub was added almost two years ago (c/s 25154).

Ccing the author.

> Building the code doesn't seem to be enabled in stubdom/grub/Makefile.
> Was this functionality ever intended to work?

One would like to assume so!

> Does anyone know the status of this code?

Matt?

Looks like Makefile.am was patched but not Makefile.in, and I don't
think we run automake as part of the stubdom build process.

Ian.

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

* Re: Support for btrfs in pv-grub
  2014-02-28  2:42 ` Ian Campbell
@ 2014-02-28  3:30   ` Matt Wilson
  2014-02-28 15:24     ` Charles Arnold
  2014-03-11 10:58     ` Ian Campbell
  0 siblings, 2 replies; 5+ messages in thread
From: Matt Wilson @ 2014-02-28  3:30 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Charles Arnold, Matt Wilson, xen-devel

On Fri, Feb 28, 2014 at 02:42:28AM +0000, Ian Campbell wrote:
> On Wed, 2014-02-26 at 15:59 -0700, Charles Arnold wrote:
> > Code to support btrfs in pv-grub was added almost two years ago (c/s 25154).
> 
> Ccing the author.
> 
> > Building the code doesn't seem to be enabled in stubdom/grub/Makefile.
> > Was this functionality ever intended to work?
> 
> One would like to assume so!
> 
> > Does anyone know the status of this code?
> 
> Matt?
> 
> Looks like Makefile.am was patched but not Makefile.in, and I don't
> think we run automake as part of the stubdom build process.

True, but we also don't use the Makefiles in grub-upstream to build
GRUB. We use xen/stubdom/grub/Makefile, which also isn't patched to
build the btrfs code.

Unfortunately when I added it grub/Makefile, it doesn't build on a
modern compiler.

Do you think we should revert the patch that adds btrfs support?

--msw

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

* Re: Support for btrfs in pv-grub
  2014-02-28  3:30   ` Matt Wilson
@ 2014-02-28 15:24     ` Charles Arnold
  2014-03-11 10:58     ` Ian Campbell
  1 sibling, 0 replies; 5+ messages in thread
From: Charles Arnold @ 2014-02-28 15:24 UTC (permalink / raw)
  To: xen-devel; +Cc: Matt Wilson

>>> On 2/27/2014 at 08:30 PM, Matt Wilson <msw@linux.com> wrote: 
> On Fri, Feb 28, 2014 at 02:42:28AM +0000, Ian Campbell wrote:
>> On Wed, 2014-02-26 at 15:59 -0700, Charles Arnold wrote:
>> > Code to support btrfs in pv-grub was added almost two years ago (c/s 25154).
>> 
>> Ccing the author.
>> 
>> > Building the code doesn't seem to be enabled in stubdom/grub/Makefile.
>> > Was this functionality ever intended to work?
>> 
>> One would like to assume so!
>> 
>> > Does anyone know the status of this code?
>> 
>> Matt?
>> 
>> Looks like Makefile.am was patched but not Makefile.in, and I don't
>> think we run automake as part of the stubdom build process.
> 
> True, but we also don't use the Makefiles in grub-upstream to build
> GRUB. We use xen/stubdom/grub/Makefile, which also isn't patched to
> build the btrfs code.
> 
> Unfortunately when I added it grub/Makefile, it doesn't build on a
> modern compiler.
> 
> Do you think we should revert the patch that adds btrfs support?
> 
> --msw

Another option would be to fix the compiler errors and get it working :)
The compiler has problems with the cassert define and to many args in
the call to next_partition in the 61btrfs.diff patch.  These issues may be
worked around but given that the code has never actually been used there
may be runtime problems as well.  Is there someone familiar enough with
btrfs on the list to work through these issues?

- Charles

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

* Re: Support for btrfs in pv-grub
  2014-02-28  3:30   ` Matt Wilson
  2014-02-28 15:24     ` Charles Arnold
@ 2014-03-11 10:58     ` Ian Campbell
  1 sibling, 0 replies; 5+ messages in thread
From: Ian Campbell @ 2014-03-11 10:58 UTC (permalink / raw)
  To: Matt Wilson; +Cc: Charles Arnold, Ian Jackson, Matt Wilson, xen-devel

On Thu, 2014-02-27 at 19:30 -0800, Matt Wilson wrote:
> On Fri, Feb 28, 2014 at 02:42:28AM +0000, Ian Campbell wrote:
> > On Wed, 2014-02-26 at 15:59 -0700, Charles Arnold wrote:
> > > Code to support btrfs in pv-grub was added almost two years ago (c/s 25154).
> > 
> > Ccing the author.
> > 
> > > Building the code doesn't seem to be enabled in stubdom/grub/Makefile.
> > > Was this functionality ever intended to work?
> > 
> > One would like to assume so!
> > 
> > > Does anyone know the status of this code?
> > 
> > Matt?
> > 
> > Looks like Makefile.am was patched but not Makefile.in, and I don't
> > think we run automake as part of the stubdom build process.
> 
> True, but we also don't use the Makefiles in grub-upstream to build
> GRUB. We use xen/stubdom/grub/Makefile, which also isn't patched to
> build the btrfs code.

So this code was untested when it was submitted and you aren't using it
today?

> Unfortunately when I added it grub/Makefile, it doesn't build on a
> modern compiler.
> 
> Do you think we should revert the patch that adds btrfs support?

Unless someone is going to fix it up up as Charles suggests then it
seems misleading to keep it in the code base.

Ian.

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

end of thread, other threads:[~2014-03-11 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 22:59 Support for btrfs in pv-grub Charles Arnold
2014-02-28  2:42 ` Ian Campbell
2014-02-28  3:30   ` Matt Wilson
2014-02-28 15:24     ` Charles Arnold
2014-03-11 10:58     ` Ian Campbell

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.