summaryrefslogtreecommitdiff
path: root/fs/dlm
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-06-22 21:45:06 +0300
committerDavid Teigland <teigland@redhat.com>2022-06-23 22:41:39 +0300
commit19d7ca051d303622c423b4cb39e6bde5d177328b (patch)
treeaf7f3c511fc78ebcb66afe0d2b1aebdc364c89a0 /fs/dlm
parent976a062434739dffa1f5eec77f254109247a5a00 (diff)
downloadlinux-19d7ca051d303622c423b4cb39e6bde5d177328b.tar.xz
fs: dlm: add pid to debug log
This patch adds the pid information which requested the lock operation to the debug log output. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/plock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c
index 7cab5d27132b..59113d65e8d7 100644
--- a/fs/dlm/plock.c
+++ b/fs/dlm/plock.c
@@ -163,9 +163,9 @@ int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
spin_lock(&ops_lock);
list_del(&op->list);
spin_unlock(&ops_lock);
- log_print("%s: wait interrupted %x %llx, op removed",
+ log_print("%s: wait interrupted %x %llx pid %d, op removed",
__func__, ls->ls_global_id,
- (unsigned long long)number);
+ (unsigned long long)number, op->info.pid);
dlm_release_plock_op(op);
do_unlock_close(ls, number, file, fl);
goto out;