Whamcloud - gitweb
LU-4423 mgc: remove llog_process_lock 93/35293/2
authorNeilBrown <neilb@suse.com>
Sun, 23 Jun 2019 13:28:24 +0000 (09:28 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jul 2019 03:16:17 +0000 (03:16 +0000)
This mutex is never used, so remove it.

Test-Parameters: trivial

Change-Id: I53ce68beafcf8b895c1db138a6eff2ade2994832
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35293
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mgc/mgc_request.c

index d646c7f..2c111b6 100644 (file)
@@ -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 <fsname>-sptlrpc
         */
        if (rc == 0 && cld_is_sptlrpc(cld))