Skip to content

Commit f31da0f

Browse files
idryomovSage Weil
authored andcommitted
libceph: output primary affinity values on osdmap updates
Similar to osd weights, output primary affinity values on incremental osdmap updates. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
1 parent a56371d commit f31da0f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎net/ceph/osdmap.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,8 @@ static int decode_new_primary_affinity(void **p, void *end,
10051005
ret = set_primary_affinity(map, osd, aff);
10061006
if (ret)
10071007
return ret;
1008+
1009+
pr_info("osd%d primary-affinity 0x%x\n", osd, aff);
10081010
}
10091011

10101012
return 0;

0 commit comments

Comments
 (0)