rpms/kernel/F-10 linux-2.6.27.14-ext4-fix-dont-allow-new-groups.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.23, 1.1206.2.24
Chuck Ebbert
cebbert at fedoraproject.org
Wed Feb 11 23:08:42 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29199
Modified Files:
Tag: private-fedora-10-2_6_27
kernel.spec
Added Files:
Tag: private-fedora-10-2_6_27
linux-2.6.27.14-ext4-fix-dont-allow-new-groups.patch
Log Message:
Fix more ext4 patch queue problems.
(http://marc.info/?l=linux-kernel&m=123433917809157&w=2)
linux-2.6.27.14-ext4-fix-dont-allow-new-groups.patch:
--- NEW FILE linux-2.6.27.14-ext4-fix-dont-allow-new-groups.patch ---
Add missing pieces to the below patch in the 2.6.27 ext4 patchset.
http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git;a=commitdiff;h=fd3bd090d7cc93292d3fa361b9c323752417bd7b
"ext4: Don't allow new groups to be added during block allocation"
Index: linux-2.6.27.noarch/fs/ext4/mballoc.c
===================================================================
--- linux-2.6.27.noarch.orig/fs/ext4/mballoc.c
+++ linux-2.6.27.noarch/fs/ext4/mballoc.c
@@ -1055,7 +1055,8 @@ static void ext4_mb_release_desc(struct
if (e4b->bd_buddy_page)
page_cache_release(e4b->bd_buddy_page);
/* Done with the buddy cache */
- up_read(e4b->alloc_semp);
+ if (e4b->alloc_semp)
+ up_read(e4b->alloc_semp);
}
@@ -1375,6 +1376,9 @@ static void ext4_mb_use_best_found(struc
get_page(ac->ac_bitmap_page);
ac->ac_buddy_page = e4b->bd_buddy_page;
get_page(ac->ac_buddy_page);
+ /* on allocation we use ac to track the held semaphore */
+ ac->alloc_semp = e4b->alloc_semp;
+ e4b->alloc_semp = NULL;
/* store last allocated for subsequent stream allocation */
if ((ac->ac_flags & EXT4_MB_HINT_DATA)) {
spin_lock(&sbi->s_md_lock);
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1206.2.23
retrieving revision 1.1206.2.24
diff -u -r1.1206.2.23 -r1.1206.2.24
--- kernel.spec 11 Feb 2009 17:06:20 -0000 1.1206.2.23
+++ kernel.spec 11 Feb 2009 23:08:12 -0000 1.1206.2.24
@@ -745,6 +745,7 @@
Patch2901: linux-2.6.27.9-ext4-cap-check-delay.patch
Patch2902: linux-2.6.27.14-ext4-patch-queue.patch
Patch2903: linux-2.6.27.14-ext4-fix-cache-init.patch
+Patch2904: linux-2.6.27.14-ext4-fix-dont-allow-new-groups.patch
# Add better support for DMI-based autoloading
Patch3110: linux-2.6-dmi-autoload.patch
@@ -1174,6 +1175,8 @@
ApplyPatch linux-2.6.27.14-ext4-patch-queue.patch
# ext4 queue has a misapplied chunk
ApplyPatch linux-2.6.27.14-ext4-fix-cache-init.patch
+# ext4 patch queue has missing code
+ApplyPatch linux-2.6.27.14-ext4-fix-dont-allow-new-groups.patch
# xfs
@@ -1950,6 +1953,10 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Wed Feb 11 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.15-78.2.24
+- Fix more ext4 patch queue problems.
+ (http://marc.info/?l=linux-kernel&m=123433917809157&w=2)
+
* Wed Feb 11 2009 Jarod Wilson <jarod at redhat.com> 2.6.27.15-170.2.23
- Make Apple wireless keyboards behave as expected (#483168)
More information about the scm-commits
mailing list