From bf097009ce763c91757fefa4f2fc5ecabbb55e31 Mon Sep 17 00:00:00 2001 From: zab Date: Tue, 18 Nov 2003 18:43:55 +0000 Subject: [PATCH] - fix the osc histogram spinlock inits that my uml build missed. take a shot. --- lustre/ldlm/ldlm_lib.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index c4e7571..825d409 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -105,8 +105,10 @@ int client_obd_setup(struct obd_device *obddev, obd_count len, void *buf) INIT_LIST_HEAD(&cli->cl_loi_ready_list); spin_lock_init(&cli->cl_loi_list_lock); cli->cl_brw_in_flight = 0; - spin_lock_init(&cli->cl_rpc_concurrency_oh.oh_lock); - spin_lock_init(&cli->cl_pages_per_rpc_oh.oh_lock); + spin_lock_init(&cli->cl_read_rpc_hist.oh_lock); + spin_lock_init(&cli->cl_write_rpc_hist.oh_lock); + spin_lock_init(&cli->cl_read_page_hist.oh_lock); + spin_lock_init(&cli->cl_write_page_hist.oh_lock); cli->cl_max_pages_per_rpc = PTL_MD_MAX_PAGES; cli->cl_max_rpcs_in_flight = 8; -- 1.8.3.1