]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/pick_addr: use grading machinery to refactor pick_address() 42478/head
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:25:23 +0000 (19:25 +0800)
commit7c91d1afa0b397c816acfd38ae48043be62c01c3
treeb7aa34b3b0d718021d75989d22cacc14ad5559bd
parent8e416bcf954fd4a0d0d854e5dac69eba51d29ad1
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