fs: dlm: add pid to debug log
[ Upstream commit19d7ca051d] 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> Stable-dep-of:57e2c2f2d9("fs: dlm: fix mismatch of plock results from userspace") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e850cd32df
commit
1652bcbf9e
+2
-2
@@ -164,9 +164,9 @@ int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
|
|||||||
spin_lock(&ops_lock);
|
spin_lock(&ops_lock);
|
||||||
list_del(&op->list);
|
list_del(&op->list);
|
||||||
spin_unlock(&ops_lock);
|
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,
|
__func__, ls->ls_global_id,
|
||||||
(unsigned long long)number);
|
(unsigned long long)number, op->info.pid);
|
||||||
dlm_release_plock_op(op);
|
dlm_release_plock_op(op);
|
||||||
do_unlock_close(ls, number, file, fl);
|
do_unlock_close(ls, number, file, fl);
|
||||||
goto out;
|
goto out;
|
||||||
|
|||||||
Reference in New Issue
Block a user