projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
350b1c3
)
ceph: more informative msgpool errors
author
Sage Weil
<sage@newdream.net>
Tue, 22 Dec 2009 18:45:18 +0000
(10:45 -0800)
committer
Sage Weil
<sage@newdream.net>
Wed, 23 Dec 2009 16:17:21 +0000
(08:17 -0800)
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/msgpool.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/msgpool.c
b/fs/ceph/msgpool.c
index ad5482c0267b8cff37a2ab462f89a809e5887bf3..2f04e0fc466662a9c505784bef5be5e4dc088331 100644
(file)
--- a/
fs/ceph/msgpool.c
+++ b/
fs/ceph/msgpool.c
@@
-140,7
+140,7
@@
struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len)
return msg;
}
pr_err("msgpool_get %p now %d/%d, %s\n", pool, pool->num,
- pool->min, pool->blocking ? "waiting" : "
failing
");
+ pool->min, pool->blocking ? "waiting" : "
may fail
");
spin_unlock(&pool->lock);
if (!pool->blocking) {
@@
-151,6
+151,7
@@
struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len)
if (!IS_ERR(msg))
return msg;
+ pr_err("msgpool_get %p empty + alloc failed\n", pool);
return ERR_PTR(-ENOMEM);
}