crush chooseleaf vs. choose

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

 



I try to understand the default crush rule:

 

rule data {

        ruleset 0

        type replicated

        min_size 1

        max_size 10

        step take default

        step chooseleaf firstn 0 type host

        step emit

}

 

Is this the same as:

 

rule data {

        ruleset 0

        type replicated

        min_size 1

        max_size 10

        step take default

        step choose firstn 0 type host

        step choose firstn 1 type osd

        step emit

}

 

Or what is the correct way to translate ‘chooseleaf’ into ‘choose’?

 

_______________________________________________
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