Whamcloud - gitweb
LU-4724 hsm: Safe copytool event logging 53/9553/5
authorMichael MacDonald <michael.macdonald@intel.com>
Fri, 7 Mar 2014 16:18:10 +0000 (11:18 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 11 Mar 2014 09:25:41 +0000 (09:25 +0000)
commit8bad2c91692e570bb3c8bfa36e053dc4bc72a292
tree61f753ac8d69779523fed1ac74ae82a70bf925ad
parent4d6e8873a13bedac1a7c92549c0337337f54cef2
LU-4724 hsm: Safe copytool event logging

Protect against concurrent event log writes by multiple
threads within a copytool process. Fixes sanity-hsm test_71
failures.

Signed-off-by: Michael MacDonald <michael.macdonald@intel.com>
Change-Id: Ie18f7368f386acf0949a038e6bdb2ba7dca5c3a3
Reviewed-on: http://review.whamcloud.com/9553
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/liblustreapi_hsm.c
lustre/utils/liblustreapi_json.c