From 0bf3d71676c5c26b7f47debb594f60285a987222 Mon Sep 17 00:00:00 2001 From: zab Date: Fri, 17 Oct 2003 00:26:16 +0000 Subject: [PATCH] b=2127 A dbench run that ran into ENOSPC got stuck in the osc waiting for rpcs to complete and free up room in the cache. These changes make the mechanics of waiting for the cache space less fragile. After the changes dbench could run into the ENOSPC condition and not get stuck. --- lustre/ptlrpc/ptlrpc_lib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/ptlrpc/ptlrpc_lib.c b/lustre/ptlrpc/ptlrpc_lib.c index 7f1853f..a7569c7 100644 --- a/lustre/ptlrpc/ptlrpc_lib.c +++ b/lustre/ptlrpc/ptlrpc_lib.c @@ -101,7 +101,6 @@ int client_obd_setup(struct obd_device *obddev, obd_count len, void *buf) cli->cl_dirty_max = 64*1024*1024; /* some default */ cli->cl_ost_can_grant = 1; INIT_LIST_HEAD(&cli->cl_cache_waiters); - init_waitqueue_head(&cli->cl_cache_waitq); INIT_LIST_HEAD(&cli->cl_loi_ready_list); spin_lock_init(&cli->cl_loi_list_lock); cli->cl_brw_in_flight = 0; -- 1.8.3.1