Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Thu, 9 Jun 2005 08:03:34 +0000 (08:03 +0000)
committeradilger <adilger>
Thu, 9 Jun 2005 08:03:34 +0000 (08:03 +0000)
Restore the "too long searching" message as a warning (though not an error).
b=6449

ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch
ldiskfs/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch
lustre/kernel_patches/patches/ext3-mballoc2-2.6-suse.patch
lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch

index cd6a3ad..36b4c5d 100644 (file)
@@ -932,8 +932,8 @@ Index: linux-2.6.5-suse/fs/ext3/mballoc.c
 +               * We've been searching too long. Let's try to allocate
 +               * the best chunk we've found so far
 +               */
-+              ext3_debug("too long searching (%d/%d)\n",
-+                              ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);
++              ext3_warning(inode->i_sb,"too long searching: got %d want %d\n",
++                           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) {
 +                      /*
index c49605f..1fb2b56 100644 (file)
@@ -932,8 +932,8 @@ Index: linux-stage/fs/ext3/mballoc.c
 +               * We've been searching too long. Let's try to allocate
 +               * the best chunk we've found so far
 +               */
-+              ext3_debug("too long searching (%d/%d)\n",
-+                              ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);
++              ext3_warning(inode->i_sb,"too long searching: got %d want %d\n",
++                           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) {
 +                      /*
index cd6a3ad..36b4c5d 100644 (file)
@@ -932,8 +932,8 @@ Index: linux-2.6.5-suse/fs/ext3/mballoc.c
 +               * We've been searching too long. Let's try to allocate
 +               * the best chunk we've found so far
 +               */
-+              ext3_debug("too long searching (%d/%d)\n",
-+                              ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);
++              ext3_warning(inode->i_sb,"too long searching: got %d want %d\n",
++                           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) {
 +                      /*
index c49605f..1fb2b56 100644 (file)
@@ -932,8 +932,8 @@ Index: linux-stage/fs/ext3/mballoc.c
 +               * We've been searching too long. Let's try to allocate
 +               * the best chunk we've found so far
 +               */
-+              ext3_debug("too long searching (%d/%d)\n",
-+                              ac.ac_b_ex.fe_len, ac.ac_g_ex.fe_len);
++              ext3_warning(inode->i_sb,"too long searching: got %d want %d\n",
++                           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) {
 +                      /*