From 6eb0fbbc744c9dd6ab6b26157af447764afcbcab Mon Sep 17 00:00:00 2001 From: Swift42 <1180176+Swift42@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:03:37 +0200 Subject: [PATCH] Update csd-disk-space-helper.c We now also ignore FUSE-based network mounts. FUSE network filesystems (e.g. sshfs) can block on statvfs() when the remote host is unreachable, causing the process to enter uninterruptible sleep (D state) and preventing system suspend. --- plugins/housekeeping/csd-disk-space-helper.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/plugins/housekeeping/csd-disk-space-helper.c b/plugins/housekeeping/csd-disk-space-helper.c index 5b494209..65cf597b 100644 --- a/plugins/housekeeping/csd-disk-space-helper.c +++ b/plugins/housekeeping/csd-disk-space-helper.c @@ -42,7 +42,13 @@ csd_should_ignore_unix_mount (GUnixMountEntry *mount) * purpose */ - /* We also ignore network filesystems */ + /* We also ignore network filesystems and FUSE-based + * network mounts. FUSE network filesystems (e.g. sshfs) + * can block on statvfs() when the remote host is + * unreachable, causing the process to enter + * uninterruptible sleep (D state) and preventing + * system suspend. + */ const gchar *ignore_fs[] = { "adfs", @@ -56,6 +62,13 @@ csd_should_ignore_unix_mount (GUnixMountEntry *mount) "devpts", "ecryptfs", "fdescfs", + "fuse.cephfuse", + "fuse.davfs2", + "fuse.glusterfs", + "fuse.gvfsd-fuse", + "fuse.rclone", + "fuse.s3fs", + "fuse.sshfs", "gfs", "gfs2", "kernfs",