Whamcloud - gitweb
LU-6846 llog: create remote llog synchronously 33/16333/5
authorwang di <di.wang@intel.com>
Mon, 7 Sep 2015 15:27:34 +0000 (08:27 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 19 Sep 2015 03:25:04 +0000 (03:25 +0000)
commit36f59f94c06c74887a32f2a7757e7c962c6cf8dd
treee0974a71a2504aef59b07a3c67d401a3692d534a
parentd06433141bbd83e523bc611f23cb1b42935830f4
LU-6846 llog: create remote llog synchronously

Create remote llog synchronously, because llog_create
for remote object only pack the RPC in the buffer,
instead the real llog object will be created until
transaction stop. If other thread happens to use
this llog object and send RPC before the creation,
which might cause the failure.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I6c806174381b87836b1f6dd833cda50f0ab2d168
Reviewed-on: http://review.whamcloud.com/16333
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/llog.c
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_osd.c