]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/pick_addr: use grading machinery to refactor pick_address() 41137/head
authorKefu Chai <kchai@redhat.com>
Thu, 22 Apr 2021 17:03:54 +0000 (01:03 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 May 2021 01:25:33 +0000 (09:25 +0800)
commit3b618fb974b9bf0cf3351e3a5c84f3e67f429c68
tree0dca341b0195cd996a94531890689103a2090e5c
parentf280ac04c8a8358fd8a161bf84058442eb1578c0
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