From: John L. Hammond Date: Wed, 14 Oct 2015 16:33:35 +0000 (-0500) Subject: LU-7296 ldlm: improve lock timeout messages X-Git-Tag: 2.7.63~5 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=684705c1a86850b5a53b78bc78331c22061985c8;p=fs%2Flustre-release.git LU-7296 ldlm: improve lock timeout messages In ldlm_expired_completion_wait() remove the useless LCONSOLE_WARN() message and upgrade the LDLM_DEBUG() statement to LDLM_ERROR(). Signed-off-by: John L. Hammond Change-Id: I6293720bf8e038057a2c84a715359cdbb8cebe91 Reviewed-on: http://review.whamcloud.com/16824 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin --- diff --git a/lustre/ldlm/ldlm_request.c b/lustre/ldlm/ldlm_request.c index a4c4ef6..b0a99ce 100644 --- a/lustre/ldlm/ldlm_request.c +++ b/lustre/ldlm/ldlm_request.c @@ -98,12 +98,7 @@ int ldlm_expired_completion_wait(void *data) if (lock->l_conn_export == NULL) { static cfs_time_t next_dump = 0, last_dump = 0; - LCONSOLE_WARN("lock timed out (enqueued at "CFS_TIME_T", " - CFS_DURATION_T"s ago)\n", - lock->l_last_activity, - cfs_time_sub(cfs_time_current_sec(), - lock->l_last_activity)); - LDLM_DEBUG(lock, "lock timed out (enqueued at "CFS_TIME_T", " + LDLM_ERROR(lock, "lock timed out (enqueued at "CFS_TIME_T", " CFS_DURATION_T"s ago); not entering recovery in " "server code, just going back to sleep", lock->l_last_activity,