ref: 9fabc3bb22c9d6e6f2901dfa806d3882bdb84144
parent: 41a932f370cee1423827e0c0175ba457d3cacd82
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Sep 9 17:54:28 EDT 2023
cdfs: use IOUNIT for maxrpc (thanks Arne Meyer)
--- a/sys/src/cmd/cdfs/dat.h
+++ b/sys/src/cmd/cdfs/dat.h
@@ -132,12 +132,7 @@
CDNblock = 12, /* chosen for CD */
DVDNblock = 16, /* DVD ECC block is 16 sectors */
BDNblock = 32, /* BD ECC block (`cluster') is 32 sectors */
- /*
- * number of blocks read/written must fit in this. if we don't do this,
- * remote access (e.g., via /mnt/term/dev/sd* or nusb/disk) fails mysteriously.
- * see /sys/src/9/port/devmnt.c MAXRPC.
- */
- Maxrpc = 8192,
+ Maxrpc = IOUNIT,
};
typedef struct Buf Buf;