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:
Родитель
a56371d9d9
Коммит
f31da0f3e1
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче