[yocto] [PATCH 1/1] btrfs: Add a new kernel feature to enable the btrfs support

Darren Hart darren.hart at intel.com
Fri Sep 9 14:09:21 PDT 2011


On 09/09/2011 09:14 AM, Kamble, Nitin A wrote:
> Thanks Bruce, BTW we should enable this btrfs feature for
> linux-yocto-3 kernel. What is the right way to do it? Shall I send a
> patch for the Linux-yocot-3.0 recipe in the oe-core repository?

Hi Nitin,

Having a config fragment for btrfs available in linux-yocto is
appropriate and makes btrfs easily added to any BSP from recipe space or
from the linux-yocto meta repository.

However, we do not want to enable it by default for all linux-yocto
BSPs. Unless a device requires a specific FS to boot (fat, jffs2, etc) I
am happy to stick with ext3/4 for now. If you have a compelling reason
to enable btrfs for all embedded platforms, we can reconsider.

This does highlight a TODO for the kernel team. We need to define and
make readily available a Yocto Project Kernel Policy. This should
identify the non-hardware-specific CONFIG options that will be enabled
in any linux-yocto BSP config by default. We have discussed this some at
LPC already, and will continue to flesh it out.

Thanks,

Darren

> 
> Thanks, Nitin
> 
> 
>> -----Original Message----- From: Bruce Ashfield
>> [mailto:bruce.ashfield at windriver.com] Sent: Tuesday, September 06,
>> 2011 1:30 PM To: Kamble, Nitin A Cc: yocto at yoctoproject.org 
>> Subject: Re: [yocto] [PATCH 1/1] btrfs: Add a new kernel feature
>> to enable the btrfs support
>> 
>> On 11-09-06 03:56 PM, nitin.a.kamble at intel.com wrote:
>>> From: Nitin A Kamble<nitin.a.kamble at intel.com>
>> 
>> Looks good. If we are merging this as config only, I've been 
>> putting them in meta/cfg/kernel-cache/cfg/
>> 
>> So I relocated this configuration to that directory. I'll have it
>> pushed out in the next day or so (I'm getting on a plane shortly).
>> 
>> Bruce
>> 
>>> 
>>> Signed-off-by: Nitin A Kamble<nitin.a.kamble at intel.com> --- 
>>> meta/cfg/kernel-cache/features/btrfs/btrfs.cfg |    1 + 
>>> meta/cfg/kernel-cache/features/btrfs/btrfs.scc |    1 + 2 files
>>> changed, 2 insertions(+), 0 deletions(-) create mode 100644
>>> meta/cfg/kernel-cache/features/btrfs/btrfs.cfg create mode 100644
>>> meta/cfg/kernel-cache/features/btrfs/btrfs.scc
>>> 
>>> diff --git a/meta/cfg/kernel-cache/features/btrfs/btrfs.cfg
>> b/meta/cfg/kernel-cache/features/btrfs/btrfs.cfg
>>> new file mode 100644 index 0000000..605c183 --- /dev/null +++
>>> b/meta/cfg/kernel-cache/features/btrfs/btrfs.cfg @@ -0,0 +1 @@ 
>>> +CONFIG_BTRFS_FS=y diff --git
>>> a/meta/cfg/kernel-cache/features/btrfs/btrfs.scc
>> b/meta/cfg/kernel-cache/features/btrfs/btrfs.scc
>>> new file mode 100644 index 0000000..cf18a2e --- /dev/null +++
>>> b/meta/cfg/kernel-cache/features/btrfs/btrfs.scc @@ -0,0 +1 @@ 
>>> +kconf non-hardware btrfs.cfg


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list