diff options
author | David Howells <dhowells@redhat.com> | 2024-06-20 18:31:24 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2024-09-23 05:51:27 +0900 |
commit | 1325e4a91a405f88f1b18626904d37860a4f9069 (patch) | |
tree | 33c46909e8ad9aa4b59e4b33e51b64d51868191b | |
parent | 38d222b3163f7b7d737e5d999ffc890a12870e36 (diff) | |
download | linux-1325e4a91a405f88f1b18626904d37860a4f9069.tar.gz linux-1325e4a91a405f88f1b18626904d37860a4f9069.tar.bz2 linux-1325e4a91a405f88f1b18626904d37860a4f9069.zip |
9p: Enable multipage folios
Enable support for multipage folios on the 9P filesystem. This is all
handled through netfslib and is already enabled on AFS and CIFS also.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Eric Van Hensbergen <ericvh@kernel.org>
cc: Latchesar Ionkov <lucho@ionkov.net>
cc: Dominique Martinet <asmadeus@codewreck.org>
cc: Christian Schoenebeck <linux_oss@crudebyte.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: Matthew Wilcox <willy@infradead.org>
cc: v9fs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Message-ID: <20240620173137.610345-7-dhowells@redhat.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
-rw-r--r-- | fs/9p/vfs_inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index fd72fc38c8f5..effb3aa1f3ed 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -295,6 +295,7 @@ 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: |