Whamcloud - gitweb
LU-4778 llog: update catlog when plain log destroyed 02/9702/5
authorNiu Yawei <yawei.niu@intel.com>
Tue, 18 Mar 2014 09:04:18 +0000 (05:04 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 24 Mar 2014 16:13:08 +0000 (16:13 +0000)
commit6760f383f6cd0964e70250723b9d24bce13b5318
treedc1bd8d2a80ac8151eed5c1e65fb85cc1830234b
parenta8daf3e7b31a44f0b76a406661d59075f11c5bbe
LU-4778 llog: update catlog when plain log destroyed

When the empty plain log is destroyed while processing
catlog, we should call llog_cat_cleanup() to close the
plain log and update in catlog.

Intel-bug-id: INTL-64

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I97b1d5cc59e84fdb4888274b48f223a063293647
Reviewed-on: http://review.whamcloud.com/9702
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_log.h
lustre/obdclass/llog.c
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_test.c