Skip to content

Commit 1325e4a

Browse files
dhowellsmartinetd
authored andcommitted
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 <[email protected]> cc: Eric Van Hensbergen <[email protected]> cc: Latchesar Ionkov <[email protected]> cc: Dominique Martinet <[email protected]> cc: Christian Schoenebeck <[email protected]> cc: Jeff Layton <[email protected]> cc: Matthew Wilcox <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] Message-ID: <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
1 parent 38d222b commit 1325e4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/9p/vfs_inode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ int v9fs_init_inode(struct v9fs_session_info *v9ses,
295295
inode->i_op = &v9fs_file_inode_operations;
296296
inode->i_fop = &v9fs_file_operations;
297297
}
298+
mapping_set_large_folios(inode->i_mapping);
298299

299300
break;
300301
case S_IFLNK:

0 commit comments

Comments
 (0)