From: NeilBrown Date: Sun, 23 Jun 2019 13:28:24 +0000 (-0400) Subject: LU-4423 mgc: remove llog_process_lock X-Git-Tag: 2.12.56~54 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a3c59c2823adadf4be50bc1bd48bb67909dc2bf0;p=fs%2Flustre-release.git LU-4423 mgc: remove llog_process_lock This mutex is never used, so remove it. Test-Parameters: trivial Change-Id: I53ce68beafcf8b895c1db138a6eff2ade2994832 Signed-off-by: NeilBrown Reviewed-on: https://review.whamcloud.com/35293 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Petros Koutoupis Reviewed-by: Andreas Dilger --- diff --git a/lustre/mgc/mgc_request.c b/lustre/mgc/mgc_request.c index d646c7f..2c111b6 100644 --- a/lustre/mgc/mgc_request.c +++ b/lustre/mgc/mgc_request.c @@ -447,8 +447,6 @@ out_sptlrpc: return ERR_PTR(rc); } -DEFINE_MUTEX(llog_process_lock); - static inline void config_mark_cld_stop(struct config_llog_data *cld) { if (cld) { @@ -1972,9 +1970,7 @@ static int mgc_process_cfg_log(struct obd_device *mgc, &cld->cld_cfg); /* - * update settings on existing OBDs. doing it inside - * of llog_process_lock so no device is attaching/detaching - * in parallel. + * update settings on existing OBDs. * the logname must be -sptlrpc */ if (rc == 0 && cld_is_sptlrpc(cld))