Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Land b_smallfix onto HEAD (20040423_1603)
[fs/lustre-release.git]
/
lustre
/
kernel_patches
/
patches
/
ext3-mballoc-2.4.21-suse2.patch
diff --git
a/lustre/kernel_patches/patches/ext3-mballoc-2.4.21-suse2.patch
b/lustre/kernel_patches/patches/ext3-mballoc-2.4.21-suse2.patch
index
3fb5fda
..
d9196dd
100644
(file)
--- a/
lustre/kernel_patches/patches/ext3-mballoc-2.4.21-suse2.patch
+++ b/
lustre/kernel_patches/patches/ext3-mballoc-2.4.21-suse2.patch
@@
-67,7
+67,7
@@
Index: linux-2.4.21-suse2/fs/ext3/balloc.c
+ return 1;
+ }
+
+ return 1;
+ }
+
-+ /* if found extent has leng
ht
we need, return it right now */
++ /* if found extent has leng
th
we need, return it right now */
+ if (as->target_len == len)
+ goto nice;
+
+ if (as->target_len == len)
+ goto nice;
+
@@
-85,7
+85,7
@@
Index: linux-2.4.21-suse2/fs/ext3/balloc.c
+
+ /* 1) closeness to goal */
+
+
+ /* 1) closeness to goal */
+
-+ /* 2) extent leng
ht
*/
++ /* 2) extent leng
th
*/
+ /* 3) number of tested extent (we check all found extents) */
+ /* */
+ return 0;
+ /* 3) number of tested extent (we check all found extents) */
+ /* */
+ return 0;
@@
-93,7
+93,7
@@
Index: linux-2.4.21-suse2/fs/ext3/balloc.c
+
+/*
+ * this routine tries to find upto *len free contig. blocks
+
+/*
+ * this routine tries to find upto *len free contig. blocks
-+ * return number of found block (+ leng
ht
of extent in *len)
++ * return number of found block (+ leng
th
of extent in *len)
+ * or -1 if no free blocks at all
+ */
+int ext3_find_free_extent(struct buffer_head *bh, int goal, int *len, int max)
+ * or -1 if no free blocks at all
+ */
+int ext3_find_free_extent(struct buffer_head *bh, int goal, int *len, int max)