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:
0c701df
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Sat, 18 Nov 2006 03:55:43 +0000
(
03:55
+0000)
committer
wangdi
<wangdi>
Sat, 18 Nov 2006 03:55:43 +0000
(
03:55
+0000)
add this assert for debuging b11123
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
126c0b3
..
f3ef1d4
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-1367,6
+1367,7
@@
repeat:
ll_inode_size_unlock(inode, 1);
}
+ LASSERTF(end >= *ppos, "end: %Ld ppos %Ld \n", end, *ppos);
chunk = end - *ppos + 1;
CDEBUG(D_VFSTRACE, "Read ino %lu, "LPSZ" bytes, offset %lld, i_size %llu\n",
inode->i_ino, chunk, *ppos, inode->i_size);