Skip to content

Commit

Permalink
libceph: output primary affinity values on osdmap updates
Browse files Browse the repository at this point in the history
Similar to osd weights, output primary affinity values on incremental
osdmap updates.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
  • Loading branch information
idryomov authored and Sage Weil committed Apr 5, 2014
1 parent a56371d commit f31da0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/ceph/osdmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f31da0f

Please sign in to comment.