diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-04-02 18:34:04 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-05 06:08:28 +0200 |
commit | f31da0f3e12e57f21d73315e06c48fb9860fe07d (patch) | |
tree | ecab470ec617731d8ce3499ced4565b274484da7 | |
parent | ceph: flush cap release queue when trimming session caps (diff) | |
download | linux-f31da0f3e12e57f21d73315e06c48fb9860fe07d.tar.xz 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 '')
-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; |