[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp never unmounts sshfs volumes
From: |
Michael Albinus |
Subject: |
Re: Tramp never unmounts sshfs volumes |
Date: |
Tue, 05 Oct 2021 11:29:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stephen Gildea <stepheng+emacs@gildea.com> writes:
Hi Stephen,
> After 10 seconds, Emacs recovers by re-opening the connection. I like it.
> Most of the time, the recovery is completely smooth. I have to be fast
> (under 10 seconds) to see Emacs get surprised by a closed connection.
> This works even if the mount point is shared by two Emacs processes. Nice.
While testing, I've increased `tramp-fuse-mount-timeout' :-)
> The call to tramp-flush-file-property added to tramp-fuse-unmount is
> missing the KEY argument. I can reproduce this by running
> tramp-cleanup-this-connection, which gives a "Wrong number of arguments"
> error.
Oops. I didn't test with tramp-cleanup, instead I've used fusermount3 -u
from the shell. Thanks for reporting!
> There is one comment in tramp-fuse-mounted-p that could be clearer:
> the sentence 'We use file property "/" in order to apply a timeout, for
> regular recheck.' I think this change is an important point of this
> patch, and I want to make sure the design is understood correctly.
>
> How about this wording:
>
> Remember the mount status by using a file property on "/", instead of
> using a connection property, because a file property has a timeout.
> Having a timeout lets us regularly recheck the mount status, as
> requested by `tramp-fuse-mount-timeout'.
Taken.
I have pushed everything to the emacs-28 branch, as usual.
Best regards, Michael.
- Re: Tramp never unmounts sshfs volumes, (continued)
- Re: Tramp never unmounts sshfs volumes, Stephen Gildea, 2021/10/03
- Re: Tramp never unmounts sshfs volumes, Michael Albinus, 2021/10/03
- Re: Tramp never unmounts sshfs volumes, Stephen Gildea, 2021/10/03
- Re: Tramp never unmounts sshfs volumes, Michael Albinus, 2021/10/03
- Re: Tramp never unmounts sshfs volumes, Michael Albinus, 2021/10/04
- Re: Tramp never unmounts sshfs volumes, Stephen Gildea, 2021/10/04
- Re: Tramp never unmounts sshfs volumes,
Michael Albinus <=
fusermount vs fusermount3, Stephen Gildea, 2021/10/02