rpms/kernel/devel linux-2.6-ext4-quiet-already.patch, NONE, 1.1 linux-2.6-fiemap-header-install.patch, NONE, 1.1 kernel.spec, 1.1491, 1.1492
Eric Sandeen
sandeen at fedoraproject.org
Tue Mar 31 17:42:03 UTC 2009
Author: sandeen
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28007
Modified Files:
kernel.spec
Added Files:
linux-2.6-ext4-quiet-already.patch
linux-2.6-fiemap-header-install.patch
Log Message:
* Thu Mar 12 2009 Eric Sandeen <sandeen at redhat.com>
- Add patches for ext4 flush behavior in some situations
(Safer for apps which aren't fsyncing properly)
linux-2.6-ext4-quiet-already.patch:
--- NEW FILE linux-2.6-ext4-quiet-already.patch ---
From: Theodore Ts'o <tytso at mit.edu>
Date: Thu, 12 Mar 2009 16:20:01 +0000 (-0400)
Subject: ext4: Print the find_group_flex() warning only once
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftytso%2Fext4.git;a=commitdiff_plain;h=e8eb6f8319eb2536d292fc18fe14e745c97
ext4: Print the find_group_flex() warning only once
This is a short-term warning, and even printk_ratelimit() can result
in too much noise in system logs. So only print it once as a warning.
Signed-off-by: "Theodore Ts'o" <tytso at mit.edu>
---
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c
index 627f8c3..2d2b358 100644
--- a/fs/ext4/ialloc.c
+++ b/fs/ext4/ialloc.c
@@ -698,6 +698,7 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode)
struct inode *ret;
ext4_group_t i;
int free = 0;
+ static int once = 1;
ext4_group_t flex_group;
/* Cannot create files in a deleted directory */
@@ -719,7 +720,8 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode)
ret2 = find_group_flex(sb, dir, &group);
if (ret2 == -1) {
ret2 = find_group_other(sb, dir, &group);
- if (ret2 == 0 && printk_ratelimit())
+ if (ret2 == 0 && once)
+ once = 0;
printk(KERN_NOTICE "ext4: find_group_flex "
"failed, fallback succeeded dir %lu\n",
dir->i_ino);
linux-2.6-fiemap-header-install.patch:
--- NEW FILE linux-2.6-fiemap-header-install.patch ---
Index: linux-2.6.29.noarch/include/linux/Kbuild
===================================================================
--- linux-2.6.29.noarch.orig/include/linux/Kbuild
+++ linux-2.6.29.noarch/include/linux/Kbuild
@@ -67,6 +67,7 @@ header-y += falloc.h
header-y += fd.h
header-y += fdreg.h
header-y += fib_rules.h
+header-y += fiemap.h
header-y += firewire-cdev.h
header-y += firewire-constants.h
header-y += fuse.h
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1491
retrieving revision 1.1492
diff -u -r1.1491 -r1.1492
--- kernel.spec 31 Mar 2009 04:09:01 -0000 1.1491
+++ kernel.spec 31 Mar 2009 17:41:33 -0000 1.1492
@@ -687,6 +687,7 @@
Patch2920: linux-2.6-ext4-flush-on-close.patch
Patch3000: linux-2.6-btrfs-experimental-branch.patch
Patch3010: linux-2.6-relatime-by-default.patch
+Patch3020: linux-2.6-fiemap-header-install.patch
Patch4000: linux-2.6-bootarg-strict-devmem.patch
@@ -1142,6 +1143,9 @@
# relatime
#ApplyPatch linux-2.6-relatime-by-default.patch
+# get fiemap.h into kernel-headers
+ApplyPatch linux-2.6-fiemap-header-install.patch
+
# Make strict devmem a boot arg
ApplyPatch linux-2.6-bootarg-strict-devmem.patch
@@ -1870,6 +1874,9 @@
# and build.
%changelog
+* Tue Mar 31 2009 Eric Sandeen <sandeen at redhat.com>
+- add fiemap.h to kernel-headers
+
* Tue Mar 31 2009 Kyle McMartin <kyle at redhat.com>
- Linux 2.6.29-git7
- fix-staging-at76.patch: pull patch from linux-wireless to fix...
More information about the fedora-extras-commits
mailing list