All of lore.kernel.org
 help / color / mirror / Atom feed
* Which Version
@ 2012-08-14 10:02 Jonathan Tripathy
       [not found] ` <c2131d5d34c5334cefb53aa59e274c98-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Tripathy @ 2012-08-14 10:02 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Hi Everyone,

Which version of bcache do I pull from git if I want the latest stable 
release? Am I correct in saying that the only way to obtain bcache is to 
pull and compile the entire Linux kernel from the bcache git server? 
Also, I wish to run bcache on my Xen Dom0, I'm guessing that these 
kernels have to correct Xen patches for this (As xen kernel patches are 
now mainline)?

Many Thanks

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

* RE: Which Version
       [not found] ` <c2131d5d34c5334cefb53aa59e274c98-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
@ 2012-08-14 10:11   ` James Harper
       [not found]     ` <6035A0D088A63A46850C3988ED045A4B299F962D-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: James Harper @ 2012-08-14 10:11 UTC (permalink / raw)
  To: Jonathan Tripathy,
	linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

> 
> Hi Everyone,
> 
> Which version of bcache do I pull from git if I want the latest stable release?
> Am I correct in saying that the only way to obtain bcache is to pull and
> compile the entire Linux kernel from the bcache git server?
> Also, I wish to run bcache on my Xen Dom0, I'm guessing that these kernels
> have to correct Xen patches for this (As xen kernel patches are now
> mainline)?
> 

I'm using the 3.2 branch, purely because I wanted to continue using the 3.2.x kernel from Debian. According to a question I asked recently it's mostly up to date. To do this, I checked out the 3.2 branch of bcache, and extracted a diff from the v3.2 tag (eg the mainstream linux), then applied this to the Debian source. I can't remember but I think the patch needed a bit of nudging in one place. I've only been testing for a few days but so far it's flawless.

When you create the bcache devices, I suggest setting the block size to 512 bytes, otherwise the resulting bcache devices have 4K sectors sizes and Xen doesn't like it. YMMV.

Because I'm layering lvm on bcache on md on sd, I had to tweak the initramfs scripts to make things load in the right order, and also you still need to put /boot on something grub understands eg /dev/sdX or /dev/mdX. Grub doesn't understand bcache (yet?).

James


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

* RE: Which Version
       [not found]     ` <6035A0D088A63A46850C3988ED045A4B299F962D-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
@ 2012-08-14 10:18       ` Jonathan Tripathy
  2012-08-14 19:43       ` Roy Sigurd Karlsbakk
  1 sibling, 0 replies; 4+ messages in thread
From: Jonathan Tripathy @ 2012-08-14 10:18 UTC (permalink / raw)
  To: James Harper; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

er if you believe you have received
this email in error.

On 14.08.2012 11:11, James Harper wrote:
>>
>> Hi Everyone,
>>
>> Which version of bcache do I pull from git if I want the latest 
>> stable release?
>> Am I correct in saying that the only way to obtain bcache is to pull 
>> and
>> compile the entire Linux kernel from the bcache git server?
>> Also, I wish to run bcache on my Xen Dom0, I'm guessing that these 
>> kernels
>> have to correct Xen patches for this (As xen kernel patches are now
>> mainline)?
>>
>
> I'm using the 3.2 branch, purely because I wanted to continue using
> the 3.2.x kernel from Debian. According to a question I asked 
> recently
> it's mostly up to date. To do this, I checked out the 3.2 branch of
> bcache, and extracted a diff from the v3.2 tag (eg the mainstream
> linux), then applied this to the Debian source. I can't remember but 
> I
> think the patch needed a bit of nudging in one place. I've only been
> testing for a few days but so far it's flawless.

Thanks for the info. Do you have the steps you used to do this? I've 
never patched a kernel before from another source....

I'd be using the Ubuntu kernel so the steps should be similar
>
> When you create the bcache devices, I suggest setting the block size
> to 512 bytes, otherwise the resulting bcache devices have 4K sectors
> sizes and Xen doesn't like it. YMMV.

Ah yes. I'm also using MD RAID. Does the chunk size matter at all?
>
> Because I'm layering lvm on bcache on md on sd, I had to tweak the
> initramfs scripts to make things load in the right order, and also 
> you
> still need to put /boot on something grub understands eg /dev/sdX or
> /dev/mdX. Grub doesn't understand bcache (yet?).

I'll be doing the same thing. What tweaks did you have to make? My 
bcache'ed MD RAID volume will be seperate to the boot and root 
partitions, so that shouldn't be an issue.

Thanks for your help

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

* Re: Which Version
       [not found]     ` <6035A0D088A63A46850C3988ED045A4B299F962D-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
  2012-08-14 10:18       ` Jonathan Tripathy
@ 2012-08-14 19:43       ` Roy Sigurd Karlsbakk
  1 sibling, 0 replies; 4+ messages in thread
From: Roy Sigurd Karlsbakk @ 2012-08-14 19:43 UTC (permalink / raw)
  To: James Harper; +Cc: Jonathan Tripathy, linux-bcache-u79uwXL29TY76Z2rM5mHXA

> Because I'm layering lvm on bcache on md on sd, I had to tweak the
> initramfs scripts to make things load in the right order, and also you
> still need to put /boot on something grub understands eg /dev/sdX or
> /dev/mdX. Grub doesn't understand bcache (yet?).

Why would you want bcache to understand your /boot partition? It's hardly in use anyway…

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy-ooPBL11mRiZbRRN4PJnoQQ@public.gmane.org
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.

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

end of thread, other threads:[~2012-08-14 19:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14 10:02 Which Version Jonathan Tripathy
     [not found] ` <c2131d5d34c5334cefb53aa59e274c98-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-14 10:11   ` James Harper
     [not found]     ` <6035A0D088A63A46850C3988ED045A4B299F962D-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2012-08-14 10:18       ` Jonathan Tripathy
2012-08-14 19:43       ` Roy Sigurd Karlsbakk

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.