]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/pick_addr: use grading machinery to refactor pick_address()
authorKefu Chai <kchai@redhat.com>
Thu, 22 Apr 2021 17:03:54 +0000 (01:03 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 23 Apr 2021 11:50:58 +0000 (19:50 +0800)
commit329d51c68ec6bf1864aa9430a62d65a93362a1b9
tree9e5a976296039013fefefc34236b41e1a8306457
parent17f5eb75796ccc3d5f20c45ebeeb1aa7a6789ba0
common/pick_addr: use grading machinery to refactor pick_address()

as picking iface on the same NUMA node is not a hard requirement, the
grading machinery is a nice fit for this purpose.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/pick_address.cc