https://bugs.kde.org/show_bug.cgi?id=272361

--- Comment #27 from Méven <[email protected]> ---
Git commit 6dc684c2fc2437f4f023b51efe3480dc7635f5a5 by Méven Car.
Committed on 18/10/2026 at 08:31.
Pushed by meven into branch 'master'.

urlutils: look up the mount of a file with currentMountPointForPath()

urlIsFastLocalFile() read the whole mount table with currentMountPoints(),
which stats every mount point. A mount that did not answer, such as an offline
autofs or NFS mount, blocked Gwenview while it opened a file on a local disk.

KMountPoint::currentMountPointForPath() finds the mount by the mount id of the
path, and caches it. With KIO's statmount() support, a cache miss reads only
that one mount. KIO older than 6.30 keeps the old lookup.

M  +5    -0    lib/urlutils.cpp

https://invent.kde.org/graphics/gwenview/-/commit/6dc684c2fc2437f4f023b51efe3480dc7635f5a5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to