9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [patch] sync cdfs with IOUNIT
@ 2023-08-26 18:37 Arne Meyer
  2023-09-08 16:34 ` Arne Meyer
  2023-09-09 21:55 ` ori
  0 siblings, 2 replies; 3+ messages in thread
From: Arne Meyer @ 2023-08-26 18:37 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]

Hello,
this updates cdfs to use the new IOUNIT constant.

Greetings,
Arne

[-- Attachment #2: cdfs.patch --]
[-- Type: application/octet-stream, Size: 567 bytes --]

diff 44a2f89a03c370940fa0f4747c2357c73984d653 uncommitted
--- 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;

[-- Attachment #3: cdfs.patch --]
[-- Type: application/octet-stream, Size: 567 bytes --]

diff 44a2f89a03c370940fa0f4747c2357c73984d653 uncommitted
--- 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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] [patch] sync cdfs with IOUNIT
  2023-08-26 18:37 [9front] [patch] sync cdfs with IOUNIT Arne Meyer
@ 2023-09-08 16:34 ` Arne Meyer
  2023-09-09 21:55 ` ori
  1 sibling, 0 replies; 3+ messages in thread
From: Arne Meyer @ 2023-09-08 16:34 UTC (permalink / raw)
  To: 9front

ping

> Arne Meyer <meyer.arne83@netcologne.de> hat am 26.08.2023 20:37 CEST geschrieben:
> 
>  
> Hello,
> this updates cdfs to use the new IOUNIT constant.
> 
> Greetings,
> Arne

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] [patch] sync cdfs with IOUNIT
  2023-08-26 18:37 [9front] [patch] sync cdfs with IOUNIT Arne Meyer
  2023-09-08 16:34 ` Arne Meyer
@ 2023-09-09 21:55 ` ori
  1 sibling, 0 replies; 3+ messages in thread
From: ori @ 2023-09-09 21:55 UTC (permalink / raw)
  To: 9front

Quoth Arne Meyer <meyer.arne83@netcologne.de>:
> Hello,
> this updates cdfs to use the new IOUNIT constant.
> 
> Greetings,
> Arne

committed, thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-09 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26 18:37 [9front] [patch] sync cdfs with IOUNIT Arne Meyer
2023-09-08 16:34 ` Arne Meyer
2023-09-09 21:55 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).