linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to understand bcache
@ 2018-01-24  2:34 Pony Cheng
  2018-01-24  9:10 ` Coly Li
  0 siblings, 1 reply; 6+ messages in thread
From: Pony Cheng @ 2018-01-24  2:34 UTC (permalink / raw)
  To: linux-bcache

Hi all,

I'm beginner of kernel module, and I'm reading bcache codebase now.
But I'm very confused about many details, such as b+tree and io path.

So, what should I do now, do you have some advices?

Thanks,
PonyCheng

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

* Re: how to understand bcache
  2018-01-24  2:34 how to understand bcache Pony Cheng
@ 2018-01-24  9:10 ` Coly Li
  0 siblings, 0 replies; 6+ messages in thread
From: Coly Li @ 2018-01-24  9:10 UTC (permalink / raw)
  To: Pony Cheng, linux-bcache

On 24/01/2018 10:34 AM, Pony Cheng wrote:
> Hi all,
> 
> I'm beginner of kernel module, and I'm reading bcache codebase now.
> But I'm very confused about many details, such as b+tree and io path.
> 
> So, what should I do now, do you have some advices?

Hi Pony,

Read the code, through out your questions. If the question is
easy/simple, you may have response.

Coly Li

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

* Re: how to understand bcache
@ 2018-01-24  9:34 tang.junhui
  2018-01-25  1:54 ` Pony Cheng
  2018-01-26  5:52 ` Michael Lyle
  0 siblings, 2 replies; 6+ messages in thread
From: tang.junhui @ 2018-01-24  9:34 UTC (permalink / raw)
  To: ponycheng0; +Cc: colyli, mlyle, linux-bcache, linux-block, tang.junhui

From: Tang Junhui <tang.junhui@zte.com.cn>

> On 24/01/2018 10:34 AM, Pony Cheng wrote:
> > Hi all,
> > 
> > I'm beginner of kernel module, and I'm reading bcache codebase now.
> > But I'm very confused about many details, such as b+tree and io path.
> > 
> > So, what should I do now, do you have some advices?
> 
> Hi Pony,
> 
> Read the code, through out your questions. If the question is
> easy/simple, you may have response.
> 
> Coly Li

It sounds interesting, hahahaha~~

you'd better to known how the data organized in disk,
and what is bkey, bset, btree node, and what erver else,
and think about deeply: If I am the author, how would I write
the code, and read the currently code, to find wether it written
as your thought, judge about is it your wrong or the author, Then 
you understood bcache, and bcache also understood you.

you also can ask our dear maintainer Mike, who knows all about bcache,
but sometiomes he is very busy, It is normally you would hear nothing 
from him for one weeks or two, sometimes maybe three, but never five, 
since the merge window comes.

Thanks,
Tang Junhui

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

* Re: how to understand bcache
  2018-01-24  9:34 tang.junhui
@ 2018-01-25  1:54 ` Pony Cheng
  2018-01-26  5:52 ` Michael Lyle
  1 sibling, 0 replies; 6+ messages in thread
From: Pony Cheng @ 2018-01-25  1:54 UTC (permalink / raw)
  To: tang.junhui; +Cc: colyli, Michael Lyle, linux-bcache, linux-block

OK, Thank you very much.

2018-01-24 17:34 GMT+08:00  <tang.junhui@zte.com.cn>:
> From: Tang Junhui <tang.junhui@zte.com.cn>
>
>> On 24/01/2018 10:34 AM, Pony Cheng wrote:
>> > Hi all,
>> >
>> > I'm beginner of kernel module, and I'm reading bcache codebase now.
>> > But I'm very confused about many details, such as b+tree and io path.
>> >
>> > So, what should I do now, do you have some advices?
>>
>> Hi Pony,
>>
>> Read the code, through out your questions. If the question is
>> easy/simple, you may have response.
>>
>> Coly Li
>
> It sounds interesting, hahahaha~~
>
> you'd better to known how the data organized in disk,
> and what is bkey, bset, btree node, and what erver else,
> and think about deeply: If I am the author, how would I write
> the code, and read the currently code, to find wether it written
> as your thought, judge about is it your wrong or the author, Then
> you understood bcache, and bcache also understood you.
>
> you also can ask our dear maintainer Mike, who knows all about bcache,
> but sometiomes he is very busy, It is normally you would hear nothing
> from him for one weeks or two, sometimes maybe three, but never five,
> since the merge window comes.
>
> Thanks,
> Tang Junhui
>

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

* Re: how to understand bcache
  2018-01-24  9:34 tang.junhui
  2018-01-25  1:54 ` Pony Cheng
@ 2018-01-26  5:52 ` Michael Lyle
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Lyle @ 2018-01-26  5:52 UTC (permalink / raw)
  To: Junhui Tang; +Cc: ponycheng0, Coly Li, linux-bcache, linux-block

On Wed, Jan 24, 2018 at 1:34 AM,  <tang.junhui@zte.com.cn> wrote:
> you also can ask our dear maintainer Mike, who knows all about bcache,
> but sometiomes he is very busy, It is normally you would hear nothing
> from him for one weeks or two, sometimes maybe three, but never five,
> since the merge window comes.

;)  I didn't think I was this bad.  I'll try to do better.

Mike

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

* Re: how to understand bcache
@ 2018-01-26  6:27 tang.junhui
  0 siblings, 0 replies; 6+ messages in thread
From: tang.junhui @ 2018-01-26  6:27 UTC (permalink / raw)
  To: ponycheng0; +Cc: colyli, mlyle, linux-bcache, linux-block, tang.junhui

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

From: Tang Junhui <tang.junhui@zte.com.cn>


>On Wed, Jan 24, 2018 at 1:34 AM,  <tang.junhui@zte.com.cn> wrote:
>> you also can ask our dear maintainer Mike, who knows all about bcache,
>> but sometiomes he is very busy, It is normally you would hear nothing
>> from him for one weeks or two, sometimes maybe three, but never five,
>> since the merge window comes.
>
>;)  I didn't think I was this bad.  I'll try to do better.
Welcome! We are looking forward to your back. You are good and
important to us.

¨r(¨s¨Œ¨t)¨q

Thanks,
Tang Junhui

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

end of thread, other threads:[~2018-01-26  6:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24  2:34 how to understand bcache Pony Cheng
2018-01-24  9:10 ` Coly Li
  -- strict thread matches above, loose matches on Subject: below --
2018-01-24  9:34 tang.junhui
2018-01-25  1:54 ` Pony Cheng
2018-01-26  5:52 ` Michael Lyle
2018-01-26  6:27 tang.junhui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).