Whamcloud - gitweb
disable statahead by default v1_8_1_1_BOM6
authorJohann Lombardi <johann@sun.com>
Wed, 6 Oct 2010 06:50:23 +0000 (08:50 +0200)
committerJohann Lombardi <johann.lombardi@oracle.com>
Wed, 6 Oct 2010 06:50:23 +0000 (08:50 +0200)
lustre/llite/llite_lib.c

index 0da488f..1276a7d 100644 (file)
@@ -207,8 +207,9 @@ static struct ll_sb_info *ll_init_sbi(void)
                 spin_lock_init(&sbi->ll_rw_extents_info.pp_extents[i].pp_w_hist.oh_lock);
         }
 
-        /* metadata statahead is enabled by default */
-        sbi->ll_sa_max = LL_SA_RPC_DEF;
+        /* metadata statahead is disabled by default */
+        sbi->ll_sa_max = 0;
+        //sbi->ll_sa_max = LL_SA_RPC_DEF;
 
         RETURN(sbi);