Whamcloud - gitweb
LU-6846 llog: combine cancel rec and destroy 30/15730/7
authorwang di <di.wang@intel.com>
Sat, 25 Jul 2015 16:21:46 +0000 (09:21 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Aug 2015 16:01:50 +0000 (16:01 +0000)
commita96be7018d90585dce16ce4b126485ce41629cd2
tree92d6ad144f188adaddb387b2993b5aacae4708be
parent7e0e87e6f2dbd04e6fb94123f453ad8f2806dc8b
LU-6846 llog: combine cancel rec and destroy

Merge cancel llog record and llog object destroy in
a single transaction. Otherwise it will cause the
race between cancel record and llog object destroy,
especally when deleting remote record, i.e. if delete
record RPC arrives after destroy, then delete record
will not find the object, cause LBUG.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I33773eeb859fffa871ce01689c5bf1b4196a6658
Reviewed-on: http://review.whamcloud.com/15730
Tested-by: Jenkins
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_log.h
lustre/obdclass/llog.c
lustre/obdclass/llog_osd.c
lustre/osp/osp_md_object.c
lustre/ptlrpc/llog_client.c