Whamcloud - gitweb
LU-10224 obd: free obd_svc_stats when all users are gone 97/31197/5
authorBruno Faccini <bruno.faccini@intel.com>
Tue, 28 Nov 2017 15:15:16 +0000 (10:15 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 3 May 2018 18:16:25 +0000 (18:16 +0000)
commitd9c595b530c5bc5f112698151bd1e9f4d74080cb
treee862fe8c65b5df65c7a3f2bf4a682b0713028270
parentd345b8980770a981ed0a87cc9a64a5444152d0ba
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.

Lustre-change: https://review.whamcloud.com/30249
Lustre-commit: ffc843a0aacd78495b1cff51344aaee3e32fc2de

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Iea4f5b0486779c1721c90f32538af1a723f76a79
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>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31197
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@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