From: Ilya Dryomov Date: Wed, 2 Apr 2014 16:34:04 +0000 (+0400) Subject: libceph: output primary affinity values on osdmap updates X-Git-Tag: firefly_0821_release~176^2~3948^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f31da0f3e12e57f21d73315e06c48fb9860fe07d;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c index 408d14826b5e..e632b5a52f5b 100644 --- a/net/ceph/osdmap.c +++ b/net/ceph/osdmap.c @@ -1005,6 +1005,8 @@ static int decode_new_primary_affinity(void **p, void *end, ret = set_primary_affinity(map, osd, aff); if (ret) return ret; + + pr_info("osd%d primary-affinity 0x%x\n", osd, aff); } return 0;