[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 7/7] Mini-OS: add read and write support to 9pfsfront



On 06.02.23 13:05, Samuel Thibault wrote:
Juergen Gross, le lun. 06 févr. 2023 11:17:27 +0100, a ecrit:
On 06.02.23 11:13, Samuel Thibault wrote:

Juergen Gross, le ven. 03 févr. 2023 10:18:09 +0100, a ecrit:
This patch is missing the limitation of read/write messages to stay
below the max. supported message size.

It should at least be asserted.

It can easily be limited by returning the resulting limit as the
number of processed bytes.

Strictly speaking, posix allows to return short reads, but that's
usually only handled by applications when they know that they may get
signals. I'd thus rather have read/write loop over the size.

Okay.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.