Whamcloud - gitweb
b=15962 disable statahead by default due to important races found in the code
authorJohann Lombardi <johann.lombardi@oracle.com>
Thu, 20 Jan 2011 13:15:47 +0000 (14:15 +0100)
committerJohann Lombardi <johann.lombardi@oracle.com>
Thu, 20 Jan 2011 13:15:47 +0000 (14:15 +0100)
lustre/ChangeLog
lustre/llite/llite_lib.c

index 9956537..5744be9 100644 (file)
@@ -17,6 +17,11 @@ Bugzilla   : 23081
 Description: llap pages are moved to head of LRU list instead of tail
 
 Severity   : normal
+Bugzilla   : 15962
+Description: disable statahead by default due to important races found in the
+             statahead implementation.
+
+Severity   : normal
 Bugzilla   : 21804
 Description: release request ref through ptlrpc_server_drop_request()
 Details    : make sure the request is protected by rq_refcount while
index 4c60593..dcc0862 100644 (file)
@@ -205,8 +205,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);