fs/9p: drop inodes immediately on non-.L too
PATCH 2/4 fs/9p: drop inodes immediately on non-.L too
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 <[email protected]>
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(+)
fs/9p/vfs_super.c +1 -0
@@ -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,
Signature · 1 line
2.43.2