]> git.apps.os.sepia.ceph.com Git - ceph.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>
Sun, 25 Jul 2021 11:13:41 +0000 (19:13 +0800)
commitddd30a394ff5459c5b5738401b1abdf0e319f298
tree104ab3c77e3294bc16893dcadce093e61f5a565f
parenta61d71dcc868a1100aab1572a8a039e077cad3dd
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>
(cherry picked from commit 329d51c68ec6bf1864aa9430a62d65a93362a1b9)
src/common/pick_address.cc