* [PATCH 2/4] fs/9p: drop inodes immediately on non-.L too
@ 2024-03-15 14:57 Joakim Sindholt
0 siblings, 0 replies; only message in thread
From: Joakim Sindholt @ 2024-03-15 14:57 UTC (permalink / raw)
To: v9fs
I assume this was an oversight but non-.L v9fs doesn't currently have
the drop_inode callback declared. This causes effectively unbounded
growth of the inode table and after a good while it becomes enormously
expensive to look through all the qid matches.
From e47d28e0fdc42819e7d7ce9d5e7f5bc8f189aee1 Mon Sep 17 00:00:00 2001
From: Joakim Sindholt <opensource@zhasha.com>
Date: Fri, 15 Mar 2024 15:13:48 +0100
Subject: [PATCH 2/4] fs/9p: drop inodes immediately on non-.L too
---
fs/9p/vfs_super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 941f7d0e0bfa..23cc67f29af2 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -310,6 +310,7 @@ static const struct super_operations v9fs_super_ops = {
.alloc_inode = v9fs_alloc_inode,
.free_inode = v9fs_free_inode,
.statfs = simple_statfs,
+ .drop_inode = v9fs_drop_inode,
.evict_inode = v9fs_evict_inode,
.show_options = v9fs_show_options,
.umount_begin = v9fs_umount_begin,
--
2.43.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-15 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15 14:57 [PATCH 2/4] fs/9p: drop inodes immediately on non-.L too Joakim Sindholt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox