On Sat, Mar 24, 2012 at 00:35, 胡瀚森 <softrank.net@xxxxxxxxx> wrote: > After reading the thesis about CRUSH, I proceed to read the related > source code in order to understand it more deeply and thoroughly. > > But it's seems not to be efficient to read the source code files in > src/crush one by one. > > I'd like to know where should I start? I think the pseudo code > "Algorithm 1" described in the thesis is quite important, but where > can I find the implementation of this algorithm? crush_do_rule chooses an array of decision based on a rule. It's not structured quite the same way as procedure SELECT, but you should see parallels. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html