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:
3c8811c
)
Show more info on assertion.
author
deen
<deen>
Thu, 18 Sep 2008 16:29:04 +0000
(16:29 +0000)
committer
deen
<deen>
Thu, 18 Sep 2008 16:29:04 +0000
(16:29 +0000)
b=16206
i=deen
i=johann
lustre/ost/ost_handler.c
patch
|
blob
|
history
diff --git
a/lustre/ost/ost_handler.c
b/lustre/ost/ost_handler.c
index
8a32c09
..
457110b
100644
(file)
--- a/
lustre/ost/ost_handler.c
+++ b/
lustre/ost/ost_handler.c
@@
-835,9
+835,15
@@
static int ost_brw_read(struct ptlrpc_request *req, struct obd_trans_info *oti)
}
if (page_rc != pp_rnb[i].len) { /* short read */
+ int j = i;
+
/* All subsequent pages should be 0 */
while(++i < npages)
- LASSERT(local_nb[i].rc == 0);
+ LASSERTF(local_nb[i].rc == 0,
+ "page_rc %d, pp_rnb[%u].len=%d, "
+ "local_nb[%u/%u].rc=%d\n",
+ page_rc, j, pp_rnb[j].len,
+ i, npages, local_nb[i].rc);
break;
}
}