diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-04-02 12:34:04 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-05 00:08:28 -0400 |
commit | f31da0f3e12e57f21d73315e06c48fb9860fe07d (patch) | |
tree | ecab470ec617731d8ce3499ced4565b274484da7 | |
parent | a56371d9d920799ebb88c196aa018e76fc46554f (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>
-rw-r--r-- | net/ceph/osdmap.c | 2 |
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; |