9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] iounit and msize
@ 2015-07-26 23:24 cinap_lenrek
  2015-07-26 23:49 ` Prof Brucee
  0 siblings, 1 reply; 2+ messages in thread
From: cinap_lenrek @ 2015-07-26 23:24 UTC (permalink / raw)
  To: 9fans

why is devmnt using msize-IOHDRSZ to split up reads and writes instead
of the iounit of the channel?

mntrdwr():
	...
		nr = n;
		if(nr > m->msize-IOHDRSZ)
			nr = m->msize-IOHDRSZ;
		r->request.count = nr;

--
cinap



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

* Re: [9fans] iounit and msize
  2015-07-26 23:24 [9fans] iounit and msize cinap_lenrek
@ 2015-07-26 23:49 ` Prof Brucee
  0 siblings, 0 replies; 2+ messages in thread
From: Prof Brucee @ 2015-07-26 23:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

This would appear to be in error. Rob, please?

brucee

On Mon, Jul 27, 2015 at 9:24 AM, <cinap_lenrek@felloff.net> wrote:

> why is devmnt using msize-IOHDRSZ to split up reads and writes instead
> of the iounit of the channel?
>
> mntrdwr():
>         ...
>                 nr = n;
>                 if(nr > m->msize-IOHDRSZ)
>                         nr = m->msize-IOHDRSZ;
>                 r->request.count = nr;
>
> --
> cinap
>
>

[-- Attachment #2: Type: text/html, Size: 853 bytes --]

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

end of thread, other threads:[~2015-07-26 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-26 23:24 [9fans] iounit and msize cinap_lenrek
2015-07-26 23:49 ` Prof Brucee

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).