After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737371 - gvfsd-trash polls mounts without read access
gvfsd-trash polls mounts without read access
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: trash backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gvfs-maint
Depends on: 522314
Blocks:
 
 
Reported: 2014-09-25 15:39 UTC by Ondrej Holy
Modified: 2014-12-11 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not care about mount points without read access (1.15 KB, patch)
2014-09-25 15:39 UTC, Ondrej Holy
committed Details | Review

Description Ondrej Holy 2014-09-25 15:39:21 UTC
Created attachment 287092 [details] [review]
Do not care about mount points without read access

The g_file_monitor_directory polls the directory every 2 seconds if we try to monitor mount points without read access. It prevents autofs mounts from being expired and causes high system load. Don't watch mount points without read access at all to fix the problem.

There are two downstream bugs with more debug info:
https://bugzilla.redhat.com/show_bug.cgi?id=1145651
https://bugzilla.redhat.com/show_bug.cgi?id=998061
Comment 1 Ondrej Holy 2014-09-25 15:54:34 UTC
But this is just workaround and it should be fixed in glib, see Bug 522314 for details.
Comment 2 Ross Lagerwall 2014-09-27 11:05:06 UTC
Review of attachment 287092 [details] [review]:

Looks good!
Comment 3 Ondrej Holy 2014-09-29 12:07:31 UTC
Comment on attachment 287092 [details] [review]
Do not care about mount points without read access

commit 60f96a4cdd942fcb52e470cbb1437f6eafdc3f04