GNU bug report logs - #54025
27.2; dired-do-find-regexp skips occurences

Previous Next

Package: emacs;

Reported by: Петров Андрей <an.petrov <at> pay-lab.ru>

Date: Wed, 16 Feb 2022 11:41:01 UTC

Severity: normal

Found in version 27.2

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: "54025 <at> debbugs.gnu.org" <54025 <at> debbugs.gnu.org>, Петров Андрей <an.petrov <at> pay-lab.ru>
Subject: bug#54025: 27.2; dired-do-find-regexp skips occurences
Date: Sat, 26 Feb 2022 02:28:49 +0200
Hi Michael,

On 25.02.2022 17:05, Michael Albinus wrote:

>> On 25.02.2022 10:13, Michael Albinus wrote:
>>> Tramp does not use caches when computing
>>> verify-visited-file-modtime. Let's see how it goes.
>>
>> I certainly hope that it doesn't invoke a remote call every time this
>> function is called (when called locally, it hits the disk).
> 
> verify-visited-file-modtime needs to read the file-attributes. That's
> the idea of this function.

IIUC Tramp caches some information about files, and flushes those cashes 
after "destructive" operations. "Last modification time" could reside in 
such a cache.

> Yes, every time it is called, it goes remote.

Thanks for the confirmation. I guess we need to predicate that check on 
the file being local, because the worst-case performance in our scenario 
(remote system with high rtt) could be very bad.

We might even drop if later if some hdd users see a slowdown in common 
scenarios. It's a secondary check, after all.

Commit 018eeb655a.




This bug report was last modified 3 years and 114 days ago.

Previous Next


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