All of lore.kernel.org
 help / color / mirror / Atom feed
* pynfs and server attributes?
@ 2007-12-10 21:30 Jeff Garzik
  2007-12-10 21:45 ` Fredric Isaman
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2007-12-10 21:30 UTC (permalink / raw)
  To: NFS list; +Cc: Fredric Isaman

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.


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

* Re: pynfs and server attributes?
  2007-12-10 21:30 pynfs and server attributes? Jeff Garzik
@ 2007-12-10 21:45 ` Fredric Isaman
  2007-12-10 22:19   ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Fredric Isaman @ 2007-12-10 21:45 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: NFS list

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


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

* Re: pynfs and server attributes?
  2007-12-10 21:45 ` Fredric Isaman
@ 2007-12-10 22:19   ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2007-12-10 22:19 UTC (permalink / raw)
  To: Fredric Isaman; +Cc: NFS list

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




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

end of thread, other threads:[~2007-12-10 22:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-10 21:30 pynfs and server attributes? Jeff Garzik
2007-12-10 21:45 ` Fredric Isaman
2007-12-10 22:19   ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.