X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Fllite_lib.c;h=f7c4c0d373d8225ccaa4548b5dfc4fb99e2ed2ba;hp=109c45b15c23304b345beb0bd00afa294f29d326;hb=41d99c4902836b7265db946dfa49cf99381f0db4;hpb=32304d863ae98c641f541362f54e7b1f24b350a6 diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 109c45b..f7c4c0d 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -199,6 +199,11 @@ static struct ll_sb_info *ll_init_sbi(void) /* Per-filesystem file heat */ sbi->ll_heat_decay_weight = SBI_DEFAULT_HEAT_DECAY_WEIGHT; sbi->ll_heat_period_second = SBI_DEFAULT_HEAT_PERIOD_SECOND; + + /* Per-fs open heat level before requesting open lock */ + sbi->ll_oc_thrsh_count = SBI_DEFAULT_OPENCACHE_THRESHOLD_COUNT; + sbi->ll_oc_max_ms = SBI_DEFAULT_OPENCACHE_THRESHOLD_MAX_MS; + sbi->ll_oc_thrsh_ms = SBI_DEFAULT_OPENCACHE_THRESHOLD_MS; RETURN(sbi); out_destroy_ra: if (sbi->ll_foreign_symlink_prefix)