1
0
Fork 0

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>
hifive-unleashed-5.1
Ilya Dryomov 2014-04-02 20:34:04 +04:00 committed by Sage Weil
parent a56371d9d9
commit f31da0f3e1
1 changed files with 2 additions and 0 deletions

View File

@ -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;