GNU bug report logs - #19607
issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk; really edit the buffer

Previous Next

Package: emacs;

Reported by: Bertrand Brelier <bertrand.brelier <at> gmail.com>

Date: Thu, 15 Jan 2015 16:51:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #56 received at 19607 <at> debbugs.gnu.org (full text, mbox):

From: Jakob Unterwurzacher <jakobunt <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 19607 <at> debbugs.gnu.org, Bertrand Brelier <bertrand.brelier <at> gmail.com>
Subject: Re: issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk;
 really edit the buffer
Date: Wed, 28 Jan 2015 00:04:26 +0100
Looks like that's it. I have added printfs so I understand what is 
going on:

   CIFS:

       Emacs should work around this POSIX-conformance bug.
       stat #1: 1422398418.561215369
       stat #2: 1422398418.561215300
       stat #3: 1422398418.561215300


   CIFS + encfs:

       Emacs does not work around this POSIX-conformance bug.
       stat #1: 1422398433.735274107
       stat #2: 1422398433.735274107
       stat #3: 1422398433.735274100


   CIFS + "encfs -o attr_timeout=0":

       Emacs should work around this POSIX-conformance bug.
       stat #1: 1422398527.607547169
       stat #2: 1422398527.607547100
       stat #3: 1422398527.607547100


The kernel caches FUSE stat() values for 1 second by default, this 
defeats emacs' workaround.
Passing "-o attr_timeout=0" to encfs disables that cache.





This bug report was last modified 10 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.