projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56371d
)
libceph: output primary affinity values on osdmap updates
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Wed, 2 Apr 2014 16:34:04 +0000
(20:34 +0400)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:08:28 +0000
(21:08 -0700)
Similar to osd weights, output primary affinity values on incremental
osdmap updates.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
net/ceph/osdmap.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ceph/osdmap.c
b/net/ceph/osdmap.c
index 408d14826b5e8ab4c34df55b6825d432795fddb0..e632b5a52f5b89cb2e275b64494905cc7ebfc8e7 100644
(file)
--- a/
net/ceph/osdmap.c
+++ b/
net/ceph/osdmap.c
@@
-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;