From: kalpak Date: Mon, 21 Jul 2008 18:28:13 +0000 (+0000) Subject: b=13387 X-Git-Tag: v1_9_50~1^3~13 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=52faf1e79dc0e987c8cfd042757442e5a06bb24d;p=fs%2Flustre-release.git b=13387 i=alex, adilger release pre-allocation on time --- diff --git a/ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch b/ldiskfs/kernel_patches/patches/ext3-mballoc3-core.patch index f4ee150..f4da14e 100644 --- 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.16.54-0.2.5/fs/ext3/mballoc.c + + /* 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; + }