* Q&A Session for ReplicatedPG.cc
@ 2014-07-02 19:08 Luis Pabon
2014-07-02 19:40 ` Luis Pabon
0 siblings, 1 reply; 5+ messages in thread
From: Luis Pabon @ 2014-07-02 19:08 UTC (permalink / raw)
To: Sage Weil, Samuel Just; +Cc: ceph-devel
Hi guys,
I finally have been able to allocate some time to the Read Forward
cache work. I started looking and navigating the code and have a few
questions on the behavior and expectations of some of the functions. I
have created a Gist with quetions prefixed by a ''//**''. Do you mind
spending a few minutes on those questions? Or, you can also point me at
documentation I can read which can answer those questions.
Gist: https://gist.github.com/5d037d1cd2c0e482aeb5.git
Thank you.
- Luis
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Q&A Session for ReplicatedPG.cc 2014-07-02 19:08 Q&A Session for ReplicatedPG.cc Luis Pabon @ 2014-07-02 19:40 ` Luis Pabon 2014-07-02 19:44 ` Gregory Farnum 0 siblings, 1 reply; 5+ messages in thread From: Luis Pabon @ 2014-07-02 19:40 UTC (permalink / raw) To: Sage Weil, Samuel Just; +Cc: ceph-devel Bad link. Here is the Gist: https://gist.github.com/lpabon/5d037d1cd2c0e482aeb5 - Luis On 07/02/2014 03:08 PM, Luis Pabon wrote: > Hi guys, > I finally have been able to allocate some time to the Read Forward > cache work. I started looking and navigating the code and have a few > questions on the behavior and expectations of some of the functions. > I have created a Gist with quetions prefixed by a ''//**''. Do you > mind spending a few minutes on those questions? Or, you can also point > me at documentation I can read which can answer those questions. > > Gist: https://gist.github.com/5d037d1cd2c0e482aeb5.git > > Thank you. > > - Luis > -- > 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] 5+ messages in thread
* Re: Q&A Session for ReplicatedPG.cc 2014-07-02 19:40 ` Luis Pabon @ 2014-07-02 19:44 ` Gregory Farnum 2014-07-02 19:50 ` Luis Pabon 0 siblings, 1 reply; 5+ messages in thread From: Gregory Farnum @ 2014-07-02 19:44 UTC (permalink / raw) To: Luis Pabon; +Cc: Sage Weil, Samuel Just, ceph-devel@vger.kernel.org I had a few minutes unexpectedly free so I was going to answer (some of) these, but I can't figure out a way to answer questions inline on a gist. Did you have something else in mind? :) -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Wed, Jul 2, 2014 at 12:40 PM, Luis Pabon <lpabon@redhat.com> wrote: > Bad link. Here is the Gist: > https://gist.github.com/lpabon/5d037d1cd2c0e482aeb5 > > - Luis > > > On 07/02/2014 03:08 PM, Luis Pabon wrote: >> >> Hi guys, >> I finally have been able to allocate some time to the Read Forward >> cache work. I started looking and navigating the code and have a few >> questions on the behavior and expectations of some of the functions. I have >> created a Gist with quetions prefixed by a ''//**''. Do you mind spending a >> few minutes on those questions? Or, you can also point me at documentation I >> can read which can answer those questions. >> >> Gist: https://gist.github.com/5d037d1cd2c0e482aeb5.git >> >> Thank you. >> >> - Luis >> -- >> 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] 5+ messages in thread
* Re: Q&A Session for ReplicatedPG.cc 2014-07-02 19:44 ` Gregory Farnum @ 2014-07-02 19:50 ` Luis Pabon 2014-07-04 0:09 ` Gregory Farnum 0 siblings, 1 reply; 5+ messages in thread From: Luis Pabon @ 2014-07-02 19:50 UTC (permalink / raw) To: Gregory Farnum; +Cc: Sage Weil, Samuel Just, ceph-devel@vger.kernel.org Yeah I wish there was a way to do it inline. You can add them as comments at the bottom of the Gist or as a reply to this email. Whatever is easiest. - Luis On 07/02/2014 03:44 PM, Gregory Farnum wrote: > I had a few minutes unexpectedly free so I was going to answer (some > of) these, but I can't figure out a way to answer questions inline on > a gist. Did you have something else in mind? :) > -Greg > Software Engineer #42 @ http://inktank.com | http://ceph.com > > > On Wed, Jul 2, 2014 at 12:40 PM, Luis Pabon <lpabon@redhat.com> wrote: >> Bad link. Here is the Gist: >> https://gist.github.com/lpabon/5d037d1cd2c0e482aeb5 >> >> - Luis >> >> >> On 07/02/2014 03:08 PM, Luis Pabon wrote: >>> Hi guys, >>> I finally have been able to allocate some time to the Read Forward >>> cache work. I started looking and navigating the code and have a few >>> questions on the behavior and expectations of some of the functions. I have >>> created a Gist with quetions prefixed by a ''//**''. Do you mind spending a >>> few minutes on those questions? Or, you can also point me at documentation I >>> can read which can answer those questions. >>> >>> Gist: https://gist.github.com/5d037d1cd2c0e482aeb5.git >>> >>> Thank you. >>> >>> - Luis >>> -- >>> 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 > -- > 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] 5+ messages in thread
* Re: Q&A Session for ReplicatedPG.cc 2014-07-02 19:50 ` Luis Pabon @ 2014-07-04 0:09 ` Gregory Farnum 0 siblings, 0 replies; 5+ messages in thread From: Gregory Farnum @ 2014-07-04 0:09 UTC (permalink / raw) To: Luis Pabon; +Cc: Sage Weil, Samuel Just, ceph-devel@vger.kernel.org I had a little more free time while debugging and testing some monitor stuff today and went through part of these on the gist. I've run out of time to keep going and it started looking less and less like the right way to tackle the knowledge transfer, so some generic advice: * Try not to focus on the line-by-line questions for systems which you don't have any background in. There are a lot of questions which are all about how eviction works, and I think you just want to get an overview of that system before trying to figure out the details of blocking on eviction. * Be a little braver about going out to look at other functions. Some of them are huge and won't go anywhere, but you had several notes asking what functions do which were only one level deep, or even had documentation attached to them! can_skip_promote(), for instance, is just 10 lines long (commented!) and looks at the contents of the Op in case it doesn't need the actual data. promote_object() kicks off a whole series of events, but it's fairly straightforward to scroll down the functions and see how the callbacks they put in place string them together to actually gather up data from the base pool and bring it in to the cache pool. * Try using Eclipse or another IDE. I know it's wussy, but trust me, it will make following logic chains through this code base a lot easier. -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Wed, Jul 2, 2014 at 12:50 PM, Luis Pabon <lpabon@redhat.com> wrote: > Yeah I wish there was a way to do it inline. > > You can add them as comments at the bottom of the Gist or as a reply to this > email. Whatever is easiest. > > - Luis > > > On 07/02/2014 03:44 PM, Gregory Farnum wrote: >> >> I had a few minutes unexpectedly free so I was going to answer (some >> of) these, but I can't figure out a way to answer questions inline on >> a gist. Did you have something else in mind? :) >> -Greg >> Software Engineer #42 @ http://inktank.com | http://ceph.com >> >> >> On Wed, Jul 2, 2014 at 12:40 PM, Luis Pabon <lpabon@redhat.com> wrote: >>> >>> Bad link. Here is the Gist: >>> https://gist.github.com/lpabon/5d037d1cd2c0e482aeb5 >>> >>> - Luis >>> >>> >>> On 07/02/2014 03:08 PM, Luis Pabon wrote: >>>> >>>> Hi guys, >>>> I finally have been able to allocate some time to the Read Forward >>>> cache work. I started looking and navigating the code and have a few >>>> questions on the behavior and expectations of some of the functions. I >>>> have >>>> created a Gist with quetions prefixed by a ''//**''. Do you mind >>>> spending a >>>> few minutes on those questions? Or, you can also point me at >>>> documentation I >>>> can read which can answer those questions. >>>> >>>> Gist: https://gist.github.com/5d037d1cd2c0e482aeb5.git >>>> >>>> Thank you. >>>> >>>> - Luis >>>> -- >>>> 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 >> >> -- >> 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] 5+ messages in thread
end of thread, other threads:[~2014-07-04 0:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-02 19:08 Q&A Session for ReplicatedPG.cc Luis Pabon 2014-07-02 19:40 ` Luis Pabon 2014-07-02 19:44 ` Gregory Farnum 2014-07-02 19:50 ` Luis Pabon 2014-07-04 0:09 ` Gregory Farnum
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.