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:
dbbb4f9
)
Branch b1_8
author
johann
<johann>
Mon, 9 Feb 2009 15:16:00 +0000
(15:16 +0000)
committer
johann
<johann>
Mon, 9 Feb 2009 15:16:00 +0000
(15:16 +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
f194942
..
7b96c44
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-2181,7
+2181,8
@@
static int osc_send_oap_rpc(struct client_obd *cli, struct lov_oinfo *loi,
list_for_each_entry_safe(oap, tmp, &lop->lop_pending, 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 (page_count != 0 &&
srvlock != !!(oap->oap_brw_flags & OBD_BRW_SRVLOCK)) {