diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-04-02 20:34:04 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-04 21:08:28 -0700 |
commit | f31da0f3e12e57f21d73315e06c48fb9860fe07d (patch) | |
tree | ecab470ec617731d8ce3499ced4565b274484da7 /net/ceph/osdmap.c | |
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>
Diffstat (limited to 'net/ceph/osdmap.c')
-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, ret = set_primary_affinity(map, osd, aff); if (ret) return ret; + + pr_info("osd%d primary-affinity 0x%x\n", osd, aff); } return 0; |