Skip to content

GVFS lock stalls indefinitely #1519

Open

Description

@alameenshah

When there are files/directories with long paths in the GVFS root folder, gvfs gets locked (git commands gets stuck with console message - Waiting for GVFS to release the lock …).

gvfs mount logs show multiple lines of PathTooLongExceptions, causing GVFS’s background operations to repeatedly fail, which is why it’s never releasing its lock. The specific error is:
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters

GVFS repository gets locked up, because the background queue gets clogged with multiple file IO operations that it needs to catch up to, the vast majority of which are under the long path folder.

Activity

  1. added this to the Backlog milestone on Sep 11, 2019
  2. turbonaitis commented on Sep 24, 2019

    @turbonaitis
    Contributor

    Related to this issue #1251 - essentially if there's any persistent error with the background task, it will block everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions