From a9bb6c60885f7c7ed6f52bc7c1dd508a51f8e452 Mon Sep 17 00:00:00 2001 From: Laura Hild Date: Thu, 12 Dec 2024 12:09:42 -0500 Subject: [PATCH] LUDOC-547: max statahead_max no longer 8192 Fixes: e10bf68d7c3e ("LU-14361 statahead: regularized fname statahead pattern") Fixes: b52a1221bf1d ("LU-11079 llite: control concurrent statahead instances") Fixes: 164231a7a29b ("LU-11079 llite: control concurrent statahead instances") Signed-off-by: Laura Hild Change-Id: I66c5ff5f654a6b9ec61e9bdae7db80689302e036 Reviewed-on: https://review.whamcloud.com/c/doc/manual/+/57403 Tested-by: jenkins Reviewed-by: Andreas Dilger --- LustreProc.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LustreProc.xml b/LustreProc.xml index 1dba27d..753b0e1 100644 --- a/LustreProc.xml +++ b/LustreProc.xml @@ -1399,13 +1399,16 @@ write RPCs in flight: 0 statahead_max - Controls the maximum number of file attributes that will be prefetched by the statahead thread. By default, statahead is - enabled and statahead_max is 32 files. + enabled and statahead_max is 128 files + (32 prior to Lustre 2.16.0). To disable statahead, set statahead_max to zero via the following command on the client: lctl set_param llite.*.statahead_max=0 To change the maximum statahead window size on a client: lctl set_param llite.*.statahead_max=n - The maximum statahead_max is 8192 files. + The maximum statahead_max is 2048. + Prior to Lustre 2.16.0, the maximum was 512, and + prior to 2.12.0 and 2.10.5, it was 8192. The directory statahead thread will also prefetch the file size/block attributes from the OSTs, so that all file attributes -- 1.8.3.1