Re: [ANNOUNCE] bcachefs!

Ming Lin
2015-07-22T05:15:40Z

On Tue, Jul 21, 2015 at 10:11 PM, Ming Lin <mlin@kernel.org> wrote:
> On Fri, Jul 17, 2015 at 10:21 PM, Ming Lin <mlin@kernel.org> wrote:
>> On Fri, 2015-07-17 at 19:10 -0700, Kent Overstreet wrote:
>>> BTW - probably the most valuable thing you could help out with is the
>>> documentation, in particular the guide:
>>> http://bcache.evilpiepirate.org/BcacheGuide/
>>>
>>> Can you read through (at least some of) that, and tell me what's useful and what
>>> needs clarifying? And tell me what you'd like to see added to the guide next -
>>> I'll try and work on documentation over the next two weeks, since I probably
>>> won't be able to do much real coding with my test machines offline.
>>
>> Yes, I'll read through that.
>
> Would you add some example to explain how the extents/inodes/dirents are stored
> in the btree on disk?
>
> I'm reading the debug code in drivers/md/bcache/debug.c.
> It seems helpful to learn about the internal btree structure.

For whom interested:

"cat" these files to dump the btree.

root@bee:/sys/kernel/debug/bcache/07170fb5-b9bd-4f44-a7e3-c657a367a960# ls
dirents dirents-formats extents extents-formats inodes
inodes-formats xattrs xattrs-formats