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:
622b22d
)
b=13387
author
kalpak
<kalpak>
Mon, 21 Jul 2008 18:28:08 +0000
(18:28 +0000)
committer
kalpak
<kalpak>
Mon, 21 Jul 2008 18:28:08 +0000
(18:28 +0000)
i=alex, adilger
release pre-allocation on time
ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch
patch
|
blob
|
history
diff --git
a/ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch
b/ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch
index
2052b65
..
1fbce88
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch
+++ b/
ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch
@@
-3624,7
+3624,7
@@
Index: linux-2.6.5-7.311/fs/ext3/mballoc.c
+
+ /* in this short window concurrent discard can set pa_deleted */
+ spin_lock(&pa->pa_lock);
+
+ /* in this short window concurrent discard can set pa_deleted */
+ spin_lock(&pa->pa_lock);
-+ if (pa->pa_deleted ==
0
) {
++ if (pa->pa_deleted ==
1
) {
+ spin_unlock(&pa->pa_lock);
+ return;
+ }
+ spin_unlock(&pa->pa_lock);
+ return;
+ }