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:
75dcbc1
)
Minor change to noread patch (was missing fix from not-yet-working 2.5 version).
author
adilger
<adilger>
Tue, 27 May 2003 20:59:13 +0000
(20:59 +0000)
committer
adilger
<adilger>
Tue, 27 May 2003 20:59:13 +0000
(20:59 +0000)
lustre/kernel_patches/patches/ext3-noread-2.4.20.patch
patch
|
blob
|
history
diff --git
a/lustre/kernel_patches/patches/ext3-noread-2.4.20.patch
b/lustre/kernel_patches/patches/ext3-noread-2.4.20.patch
index
275c6df
..
b14b869
100644
(file)
--- a/
lustre/kernel_patches/patches/ext3-noread-2.4.20.patch
+++ b/
lustre/kernel_patches/patches/ext3-noread-2.4.20.patch
@@
-158,8
+158,8
@@
+ block_end = block + NUM_INODE_PREREAD;
+ if (block_end > itable_end)
+ block_end = itable_end;
-+
block++;
-+ for (; block < block_end; block++) {
++
++ for (
++block
; block < block_end; block++) {
+ bh[count] = sb_getblk(inode->i_sb, block);
+ if (count && (buffer_uptodate(bh[count]) ||
+ buffer_locked(bh[count]))) {