* Where is the source code about data movement when osdmap changes
@ 2016-01-28 8:06 ouyang tao
2016-01-28 8:15 ` Javen Wu
0 siblings, 1 reply; 3+ messages in thread
From: ouyang tao @ 2016-01-28 8:06 UTC (permalink / raw)
To: ceph-devel
Hi, all
I can't find the source code about the data movement when i read
the source code about handling the osdmap changes. can your to finger
out the code?
Very appreciate your kindly reply.
Thx
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Where is the source code about data movement when osdmap changes
2016-01-28 8:06 Where is the source code about data movement when osdmap changes ouyang tao
@ 2016-01-28 8:15 ` Javen Wu
2016-01-28 12:12 ` huang jun
0 siblings, 1 reply; 3+ messages in thread
From: Javen Wu @ 2016-01-28 8:15 UTC (permalink / raw)
To: ouyang tao, ceph-devel
OSDMap change would trigger peering and then recovery.
I assume you are referring "Peering" and "Recovery".
There are boost state machine PG::RecoveryState.
I think you can start from there...
On 2016年01月28日 16:06, ouyang tao wrote:
> Hi, all
> I can't find the source code about the data movement when i read
> the source code about handling the osdmap changes. can your to finger
> out the code?
> Very appreciate your kindly reply.
>
> Thx
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Where is the source code about data movement when osdmap changes
2016-01-28 8:15 ` Javen Wu
@ 2016-01-28 12:12 ` huang jun
0 siblings, 0 replies; 3+ messages in thread
From: huang jun @ 2016-01-28 12:12 UTC (permalink / raw)
To: Javen Wu; +Cc: ouyang tao, ceph-devel
you can start at OSD::handle_osd_map function, it trigger the peering
process when osdmap changed
2016-01-28 16:15 GMT+08:00 Javen Wu <javen.wu@icloud.com>:
> OSDMap change would trigger peering and then recovery.
> I assume you are referring "Peering" and "Recovery".
> There are boost state machine PG::RecoveryState.
>
> I think you can start from there...
>
>
> On 2016年01月28日 16:06, ouyang tao wrote:
>>
>> Hi, all
>> I can't find the source code about the data movement when i read
>> the source code about handling the osdmap changes. can your to finger
>> out the code?
>> Very appreciate your kindly reply.
>>
>> Thx
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
thanks
huangjun
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-28 12:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28 8:06 Where is the source code about data movement when osdmap changes ouyang tao
2016-01-28 8:15 ` Javen Wu
2016-01-28 12:12 ` huang jun
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.