From 0fa4d2c08a5e362384f5cd2604721820c0e89c7b Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 25 Nov 2005 22:03:04 +0000 Subject: [PATCH] Branch b_release_1_4_6 Fix typo in filename. --- .../ext3-remove-cond_resched-calls-2.6.12.patch | 0 .../ext3-remove-cond_resched-calls-2.6.12.patch | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) rename lustre/kernel_patches/patches/ext3-remove-cond-resched-calls-2.6.12.patch => ldiskfs/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch (100%) create mode 100644 lustre/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch diff --git a/lustre/kernel_patches/patches/ext3-remove-cond-resched-calls-2.6.12.patch b/ldiskfs/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch similarity index 100% rename from lustre/kernel_patches/patches/ext3-remove-cond-resched-calls-2.6.12.patch rename to ldiskfs/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch diff --git a/lustre/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch b/lustre/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch new file mode 100644 index 0000000..57898d5 --- /dev/null +++ b/lustre/kernel_patches/patches/ext3-remove-cond_resched-calls-2.6.12.patch @@ -0,0 +1,29 @@ +Index: linux-stage/fs/ext3/ialloc.c +=================================================================== +--- linux-stage.orig/fs/ext3/ialloc.c 2005-06-26 10:59:43.048185981 +0200 ++++ linux-stage/fs/ext3/ialloc.c 2005-06-26 11:01:21.317716027 +0200 +@@ -775,7 +775,6 @@ + if (!gdp) + continue; + desc_count += le16_to_cpu(gdp->bg_free_inodes_count); +- cond_resched(); + } + return desc_count; + #endif +Index: linux-stage/fs/ext3/super.c +=================================================================== +--- linux-stage.orig/fs/ext3/super.c 2005-06-26 10:59:43.205412542 +0200 ++++ linux-stage/fs/ext3/super.c 2005-06-26 11:02:29.599941754 +0200 +@@ -2236,11 +2232,9 @@ + * block group descriptors. If the sparse superblocks + * feature is turned on, then not all groups have this. + */ +- for (i = 0; i < ngroups; i++) { ++ for (i = 0; i < ngroups; i++) + overhead += ext3_bg_has_super(sb, i) + + ext3_bg_num_gdb(sb, i); +- cond_resched(); +- } + + /* + * Every block group has an inode bitmap, a block -- 1.8.3.1