Re: Difference between step choose and step chooseleaf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 8, 2016 at 8:22 AM, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
> Hello.
>
> Can someone help me to see difference between step choose and step
> chooseleaf in CRUSH map?

When you run "choose" on a CRUSH bucket type, it selects CRUSH bucket
nodes of that type. If you run chooseleaf, it selects leaf nodes
underneath that bucket type (ie, it goes all the way down the tree to
picking specifics OSDs). If you're doing a simple map where you want
to separate all copies across racks, or OSDs, or whatever, it's
generally best to just use chooseleaf on your failure domain. If
you're trying to do something more complicated like run 2x2 or
something, you'll want to choose your way down to the split points and
then run chooseleaf to go the rest of the way.
-Greg
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux