Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777cefd
)
Branch HEAD
author
johann
<johann>
Mon, 9 Feb 2009 15:31:06 +0000
(15:31 +0000)
committer
johann
<johann>
Mon, 9 Feb 2009 15:31:06 +0000
(15:31 +0000)
b=18067
i=johann
i=adilger
Change oap magic LASSERT into LASSERTF to aid debugging.
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
1f7e465
..
fa7d01f
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-2147,7
+2147,8
@@
osc_send_oap_rpc(const struct lu_env *env, struct client_obd *cli,
oap_pending_item) {
ops = oap->oap_caller_ops;
- LASSERT(oap->oap_magic == OAP_MAGIC);
+ LASSERTF(oap->oap_magic == OAP_MAGIC, "Bad oap magic: oap %p, "
+ "magic 0x%x\n", oap, oap->oap_magic);
if (clob == NULL) {
/* pin object in memory, so that completion call-backs