summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2024-10-24 08:29:19 +0900
committerLinus Torvalds <torvalds@linux-foundation.org>2024-10-24 11:24:05 -0700
commitf009e946c15540cdff2974771fb979f40b794153 (patch)
tree4b521fe63e2f12771b2e43562bb52aead22cb216 /fs/9p
parentc2ee9f594da826bea183ed14f2cc029c719bf4da (diff)
downloadlinux-f009e946c15540cdff2974771fb979f40b794153.tar.gz
linux-f009e946c15540cdff2974771fb979f40b794153.tar.bz2
linux-f009e946c15540cdff2974771fb979f40b794153.zip
Revert "9p: Enable multipage folios"
This reverts commit 1325e4a91a405f88f1b18626904d37860a4f9069. using multipage folios apparently break some madvise operations like MADV_PAGEOUT which do not reliably unload the specified page anymore, Revert the patch until that is figured out. Reported-by: Andrii Nakryiko <andrii@kernel.org> Fixes: 1325e4a91a40 ("9p: Enable multipage folios") Signed-off-by: Dominique Martinet <asmadeus@codewreck.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index effb3aa1f3ed..fd72fc38c8f5 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -295,7 +295,6 @@ int v9fs_init_inode(struct v9fs_session_info *v9ses,
inode->i_op = &v9fs_file_inode_operations;
inode->i_fop = &v9fs_file_operations;
}
- mapping_set_large_folios(inode->i_mapping);
break;
case S_IFLNK: