mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue