2007-12-10 21:30:35

by Jeff Garzik

[permalink] [raw]
Subject: pynfs and server attributes?

Is there a pynfs list somewhere?

The pynfs tests for too-long strings, too-long reads and writes do not
seem to take into account maxname, maxread and maxwrite attributes.

I actually have to _increase_ the python "longname" test variable in
order for the test to behave properly on my server :)

Jeff



P.S. Thanks to all who contributed to pynfs, it's been a great help.



2007-12-10 22:06:26

by Fred Isaman

[permalink] [raw]
Subject: Re: pynfs and server attributes?

On Mon, 10 Dec 2007, Jeff Garzik wrote:

> Is there a pynfs list somewhere?
>

Not that I know of.


> The pynfs tests for too-long strings, too-long reads and writes do not seem
> to take into account maxname, maxread and maxwrite attributes.
>
> I actually have to _increase_ the python "longname" test variable in order
> for the test to behave properly on my server :)
>
> Jeff


The fixed (but easily changeable) "longname" was intentional in order to
avoid test dependencies on GETATTR, and non-mandatory attributes at that.

Would making the length of longname a command line option be useful?

>
>
> P.S. Thanks to all who contributed to pynfs, it's been a great help.
>
>

I'm glad it is useful.

Fred


2007-12-10 22:19:20

by Jeff Garzik

[permalink] [raw]
Subject: Re: pynfs and server attributes?

Fredric Isaman wrote:
> On Mon, 10 Dec 2007, Jeff Garzik wrote:
>
>> Is there a pynfs list somewhere?
>>
>
> Not that I know of.
>
>
>> The pynfs tests for too-long strings, too-long reads and writes do not
>> seem to take into account maxname, maxread and maxwrite attributes.
>>
>> I actually have to _increase_ the python "longname" test variable in
>> order for the test to behave properly on my server :)
>>
>> Jeff
>
>
> The fixed (but easily changeable) "longname" was intentional in order to
> avoid test dependencies on GETATTR, and non-mandatory attributes at that.
>
> Would making the length of longname a command line option be useful?


Definitely. That, and the max-read and max-write attributes.

There is at least one test that issues a WARNING when my server returns
128k (its max read size) rather than the requested 9000000 count.

I have not investigated that yet, but I was sorta assuming that my
server was behaving correctly in that case.

Jeff