From d45491c843949327e3b99037b85ed1502b333cbf Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 12 Dec 2005 23:28:33 +0000 Subject: [PATCH] - disable mballoc "too long search" warning for a while --- ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch | 4 ++-- ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.12.patch | 4 ++-- ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch | 4 ++-- lustre/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch | 4 ++-- lustre/kernel_patches/patches/ext3-mballoc2-2.6.12.patch | 4 ++-- lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch b/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch index f36b90c..ff44238 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch @@ -1207,11 +1207,11 @@ Index: linux-2.6.5-7.201/fs/ext3/mballoc.c + !(ac.ac_flags & EXT3_MB_HINT_FIRST)) { + /* We've been searching too long. Let's try to allocate + * the best chunk we've found so far. */ -+ if (ac.ac_g_ex.fe_len >= 128 && ++ /*if (ac.ac_g_ex.fe_len >= 128 && + ac.ac_b_ex.fe_len < ac.ac_g_ex.fe_len / 4) + ext3_warning(inode->i_sb, __FUNCTION__, + "too long searching: got %d want %d\n", -+ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len); ++ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);*/ + ext3_mb_try_best_found(&ac, &e3b); + if (ac.ac_status != AC_STATUS_FOUND) { + /* diff --git a/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.12.patch b/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.12.patch index a707c93..60c4de1 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.12.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.12.patch @@ -1214,11 +1214,11 @@ Index: linux-2.6.12/fs/ext3/mballoc.c + !(ac.ac_flags & EXT3_MB_HINT_FIRST)) { + /* We've been searching too long. Let's try to allocate + * the best chunk we've found so far. */ -+ if (ac.ac_g_ex.fe_len >= 128 && ++ /*if (ac.ac_g_ex.fe_len >= 128 && + ac.ac_b_ex.fe_len < ac.ac_g_ex.fe_len / 4) + ext3_warning(inode->i_sb, __FUNCTION__, + "too long searching: got %d want %d\n", -+ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len); ++ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);*/ + ext3_mb_try_best_found(&ac, &e3b); + if (ac.ac_status != AC_STATUS_FOUND) { + /* diff --git a/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch b/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch index 72b7926..49dda4c 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch @@ -1224,11 +1224,11 @@ Index: linux-2.6.9/fs/ext3/mballoc.c + !(ac.ac_flags & EXT3_MB_HINT_FIRST)) { + /* We've been searching too long. Let's try to allocate + * the best chunk we've found so far. */ -+ if (ac.ac_g_ex.fe_len >= 128 && ++ /*if (ac.ac_g_ex.fe_len >= 128 && + ac.ac_b_ex.fe_len < ac.ac_g_ex.fe_len / 4) + ext3_warning(inode->i_sb, __FUNCTION__, + "too long searching: got %d want %d\n", -+ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len); ++ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);*/ + ext3_mb_try_best_found(&ac, &e3b); + if (ac.ac_status != AC_STATUS_FOUND) { + /* diff --git a/lustre/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch b/lustre/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch index f36b90c..ff44238 100644 --- a/lustre/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch +++ b/lustre/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch @@ -1207,11 +1207,11 @@ Index: linux-2.6.5-7.201/fs/ext3/mballoc.c + !(ac.ac_flags & EXT3_MB_HINT_FIRST)) { + /* We've been searching too long. Let's try to allocate + * the best chunk we've found so far. */ -+ if (ac.ac_g_ex.fe_len >= 128 && ++ /*if (ac.ac_g_ex.fe_len >= 128 && + ac.ac_b_ex.fe_len < ac.ac_g_ex.fe_len / 4) + ext3_warning(inode->i_sb, __FUNCTION__, + "too long searching: got %d want %d\n", -+ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len); ++ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);*/ + ext3_mb_try_best_found(&ac, &e3b); + if (ac.ac_status != AC_STATUS_FOUND) { + /* diff --git a/lustre/kernel_patches/patches/ext3-mballoc2-2.6.12.patch b/lustre/kernel_patches/patches/ext3-mballoc2-2.6.12.patch index a707c93..60c4de1 100644 --- a/lustre/kernel_patches/patches/ext3-mballoc2-2.6.12.patch +++ b/lustre/kernel_patches/patches/ext3-mballoc2-2.6.12.patch @@ -1214,11 +1214,11 @@ Index: linux-2.6.12/fs/ext3/mballoc.c + !(ac.ac_flags & EXT3_MB_HINT_FIRST)) { + /* We've been searching too long. Let's try to allocate + * the best chunk we've found so far. */ -+ if (ac.ac_g_ex.fe_len >= 128 && ++ /*if (ac.ac_g_ex.fe_len >= 128 && + ac.ac_b_ex.fe_len < ac.ac_g_ex.fe_len / 4) + ext3_warning(inode->i_sb, __FUNCTION__, + "too long searching: got %d want %d\n", -+ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len); ++ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);*/ + ext3_mb_try_best_found(&ac, &e3b); + if (ac.ac_status != AC_STATUS_FOUND) { + /* diff --git a/lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch b/lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch index 72b7926..49dda4c 100644 --- a/lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch +++ b/lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch @@ -1224,11 +1224,11 @@ Index: linux-2.6.9/fs/ext3/mballoc.c + !(ac.ac_flags & EXT3_MB_HINT_FIRST)) { + /* We've been searching too long. Let's try to allocate + * the best chunk we've found so far. */ -+ if (ac.ac_g_ex.fe_len >= 128 && ++ /*if (ac.ac_g_ex.fe_len >= 128 && + ac.ac_b_ex.fe_len < ac.ac_g_ex.fe_len / 4) + ext3_warning(inode->i_sb, __FUNCTION__, + "too long searching: got %d want %d\n", -+ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len); ++ ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);*/ + ext3_mb_try_best_found(&ac, &e3b); + if (ac.ac_status != AC_STATUS_FOUND) { + /* -- 1.8.3.1