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>
This commit is contained in:
Ilya Dryomov 2014-04-02 20:34:04 +04:00 committed by Sage Weil
parent a56371d9d9
commit f31da0f3e1

View File

@ -1005,6 +1005,8 @@ static int decode_new_primary_affinity(void **p, void *end,
ret = set_primary_affinity(map, osd, aff); ret = set_primary_affinity(map, osd, aff);
if (ret) if (ret)
return ret; return ret;
pr_info("osd%d primary-affinity 0x%x\n", osd, aff);
} }
return 0; return 0;