From ca1d9b7a023d1a04e1773b6ac5bbd86a7d5a9ca3 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Sun, 20 Dec 2009 01:43:56 +0800 Subject: [PATCH] b=18213 really interrupt the sleep in osc_enter_cache on signals i=zhanghc i=yangsheng --- lustre/osc/osc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index abb9096..587656c 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2737,7 +2737,7 @@ static int osc_enter_cache(struct client_obd *cli, struct lov_oinfo *loi, struct osc_async_page *oap) { struct osc_cache_waiter ocw; - struct l_wait_info lwi = { 0 }; + struct l_wait_info lwi = LWI_INTR(LWI_ON_SIGNAL_NOOP, NULL); ENTRY; CDEBUG(D_CACHE, "dirty: %ld/%d dirty_max: %ld/%d dropped: %lu " -- 1.8.3.1