Skip to contentSkip to conversation

plock: move clear waiter to debug info

PATCH New Alexander Aring 1 participant 1 message Aug 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 plock: move clear waiter to debug info

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.

---
 dlm_controld/plock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dlm_controld/plock.c +1 -1
index 992fb16f..692787e2 100644
@@ -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,
Signature · 1 line
2.27.0