git: 9front

Download patch

ref: 76d022ad3114601670342a2ed6637c19dc540818
parent: 0004ea924e1b0fa985bbdd08c910dc593fe9e577
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:51:02 EDT 2023

sshfs: use MAXWRITE for I/O unit

--- a/sys/src/cmd/sshfs.c
+++ b/sys/src/cmd/sshfs.c
@@ -834,6 +834,7 @@
 					putsreq(r);
 					break;
 				}
+				r->req->ofcall.iounit = MAXWRITE;
 				if((x & OTRUNC) != 0)
 					y |= SSH_FXF_TRUNC;
 				rlock(sf);
--