Whamcloud - gitweb
LU-10224 obd: free obd_svc_stats when all users are gone 49/30249/4
authorBruno Faccini <bruno.faccini@intel.com>
Tue, 28 Nov 2017 15:15:16 +0000 (10:15 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 11 Dec 2017 03:45:42 +0000 (03:45 +0000)
commitffc843a0aacd78495b1cff51344aaee3e32fc2de
tree7fb0e1f7ee8817b2526648de83ad53963ecd3b02
parent18ebd8cbe9dabe0f8c2da36fe6d146d977b500ae
LU-10224 obd: free obd_svc_stats when all users are gone

During object device shutdown obd_svc_stats must only be freed
after all access methods from user-land are no longer possible
to prevent any race and further crash.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Iea4f5b0486779c1721c90f32538af1a723f76a79
Reviewed-on: https://review.whamcloud.com/30249
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdc/mdc_request.c
lustre/osc/osc_request.c
lustre/osp/lwp_dev.c
lustre/osp/osp_dev.c
lustre/ptlrpc/lproc_ptlrpc.c