mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
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:
parent
a56371d9d9
commit
f31da0f3e1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user