From d1eca19753e844373d1fdfc84e6438dba1a6175c Mon Sep 17 00:00:00 2001
From: alex <alex>
Date: Fri, 2 Sep 2005 21:15:46 +0000
Subject: [PATCH] - revert hacks back

---
 lustre/include/linux/lustre_net.h | 2 +-
 lustre/obdfilter/filter_io_26.c   | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/lustre/include/linux/lustre_net.h b/lustre/include/linux/lustre_net.h
index 5f65c9beab..9b64f633b9 100644
--- a/lustre/include/linux/lustre_net.h
+++ b/lustre/include/linux/lustre_net.h
@@ -128,7 +128,7 @@
  */
 #define MDS_MAXREQSIZE  (5 * 1024)
 
-#define OST_MAX_THREADS 48UL
+#define OST_MAX_THREADS 36UL
 #define OST_NUM_THREADS max(min_t(unsigned long, num_physpages / 8192, \
                                   OST_MAX_THREADS), 2UL)
 #define OST_NBUFS       (64 * smp_num_cpus)
diff --git a/lustre/obdfilter/filter_io_26.c b/lustre/obdfilter/filter_io_26.c
index c09586e241..ad109e4b00 100644
--- a/lustre/obdfilter/filter_io_26.c
+++ b/lustre/obdfilter/filter_io_26.c
@@ -534,11 +534,9 @@ int filter_commitrw_write(struct obd_export *exp, struct obdo *oa,
 
         fsfilt_check_slow(now, obd_timeout, "direct_io");
 
-#if 0   /* disabled to evaluate impact -bzzz */
         err = fsfilt_commit_wait(obd, inode, wait_handle);
         if (rc == 0)
                 rc = err;
-#endif
 
         fsfilt_check_slow(now, obd_timeout, "commitrw commit");
 
-- 
GitLab