cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH dlm/tool] plock: move clear waiter to debug info
@ 2021-08-04 14:31 Alexander Aring
  0 siblings, 0 replies; only message in thread
From: Alexander Aring @ 2021-08-04 14:31 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This patch moves the clear waiter log message for a killed/interrupted
posix lock of a user space from error to debug. It can be confused to
see it as error in the log but it's necessary to cleanup all waiters who
are waiting for the lock.

Reported-by: Shane Bradley <sbradley@redhat.com>
---
 dlm_controld/plock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlm_controld/plock.c b/dlm_controld/plock.c
index 992fb16f..692787e2 100644
--- a/dlm_controld/plock.c
+++ b/dlm_controld/plock.c
@@ -660,7 +660,7 @@ static void clear_waiters(struct lockspace *ls, struct resource *r,
 
 		list_del(&w->list);
 
-		log_elock(ls, "clear waiter %llx %llx-%llx %d/%u/%llx",
+		log_dlock(ls, "clear waiter %llx %llx-%llx %d/%u/%llx",
 			  (unsigned long long)in->number,
 			  (unsigned long long)in->start,
 			  (unsigned long long)in->end,
-- 
2.27.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-04 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-04 14:31 [Cluster-devel] [PATCH dlm/tool] plock: move clear waiter to debug info Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).