Skip to content

fix: do not block ui on dead fuse mount#2645

Open
valoq wants to merge 1 commit into
gokcehan:masterfrom
valoq:filesys
Open

fix: do not block ui on dead fuse mount#2645
valoq wants to merge 1 commit into
gokcehan:masterfrom
valoq:filesys

Conversation

@valoq

@valoq valoq commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

os.Stat blocks indefinitely on an unresponsive filesystem such as a dead sshfs mount, and both checkDir and checkReg are reached from ui.loadFile whenever the cursor moves. lf hangs as soon as such a mount is highlighted, showing the loading message.

Reproduction is a bit difficult, I ran into this when the server of a sshfs mount killed itself in a special way and the fuse mount remained strangely broken.
But this should fix the root cause

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant