]> exis.tech > repos - linux.git/commit
9p: Enable symlink caching in page cache
authorRemi Pommarel <repk@triplefau.lt>
Thu, 21 May 2026 09:40:32 +0000 (11:40 +0200)
committerDominique Martinet <asmadeus@codewreck.org>
Sun, 21 Jun 2026 05:22:57 +0000 (05:22 +0000)
commit712da38d134b6681946368dd5c9400b43eb772b0
tree8b05fedc1edbeeefeb1aaae80ea3df704f92a287
parent15bbf82857fa61de9bad9faa7a3cf3a95b1b292a
9p: Enable symlink caching in page cache

Currently, when cache=loose is enabled, file reads are cached in the
page cache, but symlink reads are not. This patch allows the results
of p9_client_readlink() to be stored in the page cache, eliminating
the need for repeated 9P transactions on subsequent symlink accesses.

This change improves performance for workloads that involve frequent
symlink resolution.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Message-ID: <982462d17c0c0d2856763266a25eb04d080c1dbb.1779355927.git.repk@triplefau.lt>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
fs/9p/vfs_addr.c
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c