[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240129115512.1281624-2-dhowells@redhat.com>
Date: Mon, 29 Jan 2024 11:54:35 +0000
From: David Howells <dhowells@...hat.com>
To: Eric Van Hensbergen <ericvh@...nel.org>,
Dominique Martinet <asmadeus@...ewreck.org>,
Latchesar Ionkov <lucho@...kov.net>
Cc: David Howells <dhowells@...hat.com>,
Christian Schoenebeck <linux_oss@...debyte.com>,
Matthew Wilcox <willy@...radead.org>,
Jeff Layton <jlayton@...nel.org>,
Christian Brauner <christian@...uner.io>,
netfs@...ts.linux.dev,
v9fs@...ts.linux.dev,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 1/3] 9p: Enable large folio support
From: Dominique Martinet <asmadeus@...ewreck.org>
Enable large folio support in 9P now that the VM/VFS data I/O interface is
handled through netfslib.
Signed-off-by: David Howells <dhowells@...hat.com>
cc: Eric Van Hensbergen <ericvh@...nel.org>
cc: Latchesar Ionkov <lucho@...kov.net>
cc: Dominique Martinet <asmadeus@...ewreck.org>
cc: Christian Schoenebeck <linux_oss@...debyte.com>
cc: Matthew Wilcox <willy@...radead.org>
cc: v9fs@...ts.linux.dev
cc: netfs@...ts.linux.dev
---
fs/9p/vfs_inode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 32572982f72e..ca9f504b9daf 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -262,6 +262,7 @@ int v9fs_init_inode(struct v9fs_session_info *v9ses,
inode->i_rdev = rdev;
simple_inode_init_ts(inode);
inode->i_mapping->a_ops = &v9fs_addr_operations;
+ mapping_set_large_folios(inode->i_mapping);
inode->i_private = NULL;
switch (mode & S_IFMT) {
Powered by blists - more mailing lists