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:
35fea3a
)
libceph: do not prefix osd lines with \t in debugfs output
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Thu, 13 Mar 2014 14:36:12 +0000
(16:36 +0200)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:07:32 +0000
(21:07 -0700)
To save screen space in anticipation of more fields (e.g. primary
affinity).
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/debugfs.c
patch
|
blob
|
history
diff --git
a/net/ceph/debugfs.c
b/net/ceph/debugfs.c
index
d225842
..
112d98e
100644
(file)
--- a/
net/ceph/debugfs.c
+++ b/
net/ceph/debugfs.c
@@
-77,7
+77,7
@@
static int osdmap_show(struct seq_file *s, void *p)
int state = map->osd_state[i];
char sb[64];
- seq_printf(s, "
\t
osd%d\t%s\t%3d%%\t(%s)\n",
+ seq_printf(s, "osd%d\t%s\t%3d%%\t(%s)\n",
i, ceph_pr_addr(&addr->in_addr),
((map->osd_weight[i]*100) >> 16),
ceph_osdmap_state_str(sb, sizeof(sb), state));