Whamcloud - gitweb
LU-1194 llog: fix for not sync llcd at thread stop
authorAlexander.Boyko <alexander_boyko@xyratex.com>
Tue, 15 May 2012 08:55:40 +0000 (12:55 +0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 26 Jun 2012 02:59:51 +0000 (22:59 -0400)
commit6ad1581bf6003631d87e8365c01c03b06be136de
treef86f0a29ba0ea2ae770a539a4b3892ca3acf2cfa
parent25766da50b627648b04549ff3fb55af12acbcb4b
LU-1194 llog: fix for not sync llcd at thread stop

If llog_obd_repl_cancel() happend between llog_sync() and
class_import_put() at filter_llog_finish(), llog_recov_thread_stop()
throw LBUG. This patch fix this issue by adding new flags to llog_ctxt.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Reviewed-by: Andriy Skulysh <andriy_skulysh@xyratex.com>
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Xyratex-bug-id: MRP-456
Change-Id: Ife79adfe6cde0f2090776cd27cd87f65c1e988e2
Reviewed-on: http://review.whamcloud.com/2789
Reviewed-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_log.h
lustre/include/obd.h
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_obd.c
lustre/obdfilter/filter.c
lustre/osc/osc_request.c
lustre/ptlrpc/recov_thread.c