summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-04-02 20:34:04 +0400
committerSage Weil <sage@inktank.com>2014-04-04 21:08:28 -0700
commitf31da0f3e12e57f21d73315e06c48fb9860fe07d (patch)
treeecab470ec617731d8ce3499ced4565b274484da7 /net/ceph
parenta56371d9d920799ebb88c196aa018e76fc46554f (diff)
downloadtalos-obmc-linux-f31da0f3e12e57f21d73315e06c48fb9860fe07d.tar.gz
talos-obmc-linux-f31da0f3e12e57f21d73315e06c48fb9860fe07d.zip
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>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/osdmap.c2
1 files changed, 2 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud