[lustre-devel] [PATCH 24/33] lustre: statahead: using try lock for batched RPCs
James Simmons <[email protected]> Sun, 2 Feb 2025 15:46:24 -0500
| Newsgroups | org.lustre.lists.lustre-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Qian Yingjin <[email protected]> In this patch, we set "statahead_batch_max" with 64 to enable batched statahead by default. WC-bug-id: https://jira.whamcloud.com/browse/LU-15562 Lustre-commit; 58549f9780418d548 ("LU-15562 statahead: using try lock for batched RPCs") Signed-off-by: Qian Yingjin <[email protected]> Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/46549 Reviewed-by: Andreas Dilger <[email protected]> Reviewed-by: Mikhail Pershin <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: James Simmons <[email protected]> --- fs/lustre/llite/llite_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/lustre/llite/llite_internal.h b/fs/lustre/llite/llite_internal.h index 42f991ea9a7e..93743d27739c 100644 --- a/fs/lustre/llite/llite_internal.h +++ b/fs/lustre/llite/llite_internal.h @@ -1518,7 +1518,7 @@ void ll_ra_stats_inc(struct inode *inode, enum ra_stat which); /* statahead.c */ #define LL_SA_RPC_MIN 8 -#define LL_SA_RPC_DEF 32 +#define LL_SA_RPC_DEF 128 #define LL_SA_RPC_MAX 2048 /* XXX: If want to support more concurrent statahead instances, @@ -1530,7 +1530,7 @@ void ll_ra_stats_inc(struct inode *inode, enum ra_stat which); #define LL_SA_RUNNING_DEF 16 #define LL_SA_BATCH_MAX 1024 -#define LL_SA_BATCH_DEF 0 +#define LL_SA_BATCH_DEF 64 #define LL_SA_CACHE_BIT 5 #define LL_SA_CACHE_SIZE BIT(LL_SA_CACHE_BIT) -- 2.39.3 _______________________________________________ lustre-devel mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org