ref: 23340038acdd28b710adba14d8b899a2ec9d5720
parent: 8575acfca4cec8a6148961f6b1a41f1252a36a04
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);