projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/net/ceph/osdmap.c
b/net/ceph/osdmap.c
index
408d148
..
e632b5a
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;