From: Michael Albinus <michael.albinus@gmx.de>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 54126@debbugs.gnu.org
Subject: bug#54126: 29.0.50; C-x x g doesn't always correctly revert SSHFS files
Date: Fri, 18 Mar 2022 18:53:11 +0100 [thread overview]
Message-ID: <875yobdu60.fsf@gmx.de> (raw)
In-Reply-To: <CAArVCkSq60VQTyWVVTzo-cKxts2cogJBJE=+O1MnWQRyqq9+Tw@mail.gmail.com> (Philipp Stephani's message of "Fri, 18 Mar 2022 17:21:54 +0100")
Philipp Stephani <p.stephani2@gmail.com> writes:
Hi Philipp,
>> Another cache might come from sshfs itself. Tramp calls sshfs like
>> "sshfs localhost:/ /tmp/tramp.sshfs.localhost -C -o idmap=user,reconnect".
>> See tramp-mount-args settings in tramp-sshfs.el, line 33-34. You might
>> try to add other options, like "-o no_readahead" or "-o sync_readdir",
>> see sshfs(1). Don't forget to unmount the sshfs mount point, before you
>> start a new Emacs session with changed options.
>
> I'll play around with that, thanks for the hint.
> If this turns out to be the problem, then caching should probably be
> disabled by default, because sequential consistency is more important
> than potential speed-ups.
This is fixed already in git master, see my other message. The trick was
to set "-o dir_cache=no", which disables the sshfs directory cache.
Best regards, Michael.
prev parent reply other threads:[~2022-03-18 17:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 13:43 bug#54126: 29.0.50; C-x x g doesn't always correctly revert SSHFS files Philipp Stephani
2022-02-23 15:14 ` Michael Albinus
2022-03-10 13:09 ` Michael Albinus
2022-03-17 8:15 ` Michael Albinus
2022-03-18 16:21 ` Philipp Stephani
2022-03-18 17:53 ` Michael Albinus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yobdu60.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=54126@debbugs.gnu.org \
--cc=p.stephani2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).