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>
Thu, 2 Aug 2012 13:42:47 +0000 (09:42 -0400)
commit94ae23e66d411745a866119c3b896616fa6c2e6d
tree22ed05950cf0ec6de789f4edb4091fe88d20624e
parentc48b95bf86c2596cd2972ada07d25df53173c8cb
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>
Xyratex-bug-id: MRP-456
Signed-off-by: Bob Glossman <bogl@whamcloud.com>
Change-Id: I896519ed11abd301a889f658f96950ec15e76f97
Reviewed-on: http://review.whamcloud.com/3480
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