shithub: gefs

Download patch

ref: d0b5ff011177eeca69181f15166660fcb27f8ed2
parent: fe5f23104b4d5d753b8a82a6d6f6117080c58f29
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Apr 29 18:57:20 EDT 2023

9p: increase max message size

--- a/dat.h
+++ b/dat.h
@@ -38,7 +38,7 @@
 	Nrefbuf	= 1024,			/* number of ref incs before syncing */
 	Nfidtab	= 1024,			/* number of fit hash entries */
 	Ndtab	= 1024,			/* number of dir tab entries */
-	Max9p	= 16*KiB,		/* biggest message size we're willing to negotiate */
+	Max9p	= 32*KiB,		/* biggest message size we're willing to negotiate */
 	Nsec	= 1000LL*1000*1000,	/* nanoseconds to the second */
 	Maxname	= 256,			/* maximum size of a name element */
 	Maxent	= 9+Maxname+1,		/* maximum size of ent key, with terminator */