From f31da0f3e12e57f21d73315e06c48fb9860fe07d Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 2 Apr 2014 20:34:04 +0400 Subject: 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 --- net/ceph/osdmap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net') 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; -- cgit v1.2.3