Skip to contentSkip to conversation

9p: Enable multipage folios

PATCH New David Howells 1 participant 1 message May 22, 2024

Subsystems (4)
lore
Share & tools
lore

David Howells

author maintainer
#0 lore raw

PATCH 1/1 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.

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]>
---
 fs/9p/vfs_inode.c |    1 +
 1 file changed, 1 insertion(+)
fs/9p/vfs_inode.c +1 -0
index 7a3308d77606..8c9a896d691e 100644
@@ -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: