[gvfs] daemon: Add debug print with blocking job
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] daemon: Add debug print with blocking job
- Date: Fri, 23 Mar 2018 10:10:17 +0000 (UTC)
commit b8216b7589c974877187b04eecb4ef57e0171248
Author: Ondrej Holy <oholy redhat com>
Date: Fri Mar 23 10:08:02 2018 +0100
daemon: Add debug print with blocking job
Unmounting may finish with "File system is busy" error, but doesn't
have to be obvious why. Let's print one job which blocks for easier
debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=794487
daemon/gvfsdaemon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsdaemon.c b/daemon/gvfsdaemon.c
index 09336ec..1f4849a 100644
--- a/daemon/gvfsdaemon.c
+++ b/daemon/gvfsdaemon.c
@@ -1104,6 +1104,7 @@ g_vfs_daemon_has_blocking_processes (GVfsDaemon *daemon)
{
if (!G_VFS_IS_JOB_UNMOUNT (l->data))
{
+ g_debug ("blocking job: %p\n", l->data);
g_mutex_unlock (&daemon->lock);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]