aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-04-02 12:34:04 -0400
committerSage Weil <sage@inktank.com>2014-04-05 00:08:28 -0400
commitf31da0f3e12e57f21d73315e06c48fb9860fe07d (patch)
treeecab470ec617731d8ce3499ced4565b274484da7 /net/ceph
parenta56371d9d920799ebb88c196aa018e76fc46554f (diff)
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,
1005 ret = set_primary_affinity(map, osd, aff); 1005 ret = set_primary_affinity(map, osd, aff);
1006 if (ret) 1006 if (ret)
1007 return ret; 1007 return ret;
1008
1009 pr_info("osd%d primary-affinity 0x%x\n", osd, aff);
1008 } 1010 }
1009 1011
1010 return 0; 1012 return 0;