From 8c414d4c61b1fa0fc91d8ff1cb99962bb7788f33 Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 18 Nov 2008 20:57:17 +0000 Subject: [PATCH] b=17686 r=panda,shadow - fixes race in ptlrpcd (happens when stopping ptlrpcd right after adding new req to it) which leads to hanging new added rpc whcih in turn leads to keeping ref to import, obd that makes it impossible to cleanup; - cleanups and more debugs in recov_thread to detect things like this. --- lustre/obdfilter/filter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index ea5e55f..f6b9834 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -2151,6 +2151,7 @@ static int filter_llog_finish(struct obd_device *obd, int count) * not come being marked rq_no_resend = 1. */ llog_sync(ctxt, NULL); + /* * Balance class_import_get() called in llog_receptor_accept(). * This is safe to do here, as llog is already synchronized and -- 1.8.3.1