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
LU-7304 ldiskfs: fix bug when bigalloc is enabled
[fs/lustre-release.git]
/
ldiskfs
/
kernel_patches
/
patches
/
sles12
/
ext4-prealloc.patch
diff --git
a/ldiskfs/kernel_patches/patches/sles12/ext4-prealloc.patch
b/ldiskfs/kernel_patches/patches/sles12/ext4-prealloc.patch
index
394c3e9
..
914e338
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/sles12/ext4-prealloc.patch
+++ b/
ldiskfs/kernel_patches/patches/sles12/ext4-prealloc.patch
@@
-30,7
+30,7
@@
Index: linux-3.12.39-47.1/fs/ext4/mballoc.c
+{
+ int i;
+
-+ if (value > (sbi->s_
block
s_per_group - 1 - 1 - sbi->s_itb_per_group))
++ if (value > (sbi->s_
cluster
s_per_group - 1 - 1 - sbi->s_itb_per_group))
+ return;
+
+ for (i = 0; i < sbi->s_mb_prealloc_table_size; i++) {