All of lore.kernel.org
 help / color / mirror / Atom feed
* Short-reads on NFS client
@ 2009-07-30 16:42 Shehjar Tikoo
  0 siblings, 0 replies; only message in thread
From: Shehjar Tikoo @ 2009-07-30 16:42 UTC (permalink / raw)
  To: Linux NFS Mailing List

Hi All

Is there ever a possibility that a read syscall over linux nfs client
will return a short read? I think a short read is what I am observing
on our system with unfs3 as the NFS server. I've instrumented the
server and it seems to be returning the correct amount of data.

Is there any way I can debug this further?

I am running the  2.6.18-92.el5 kernel. The tool I am using is fileop
that is part of the iozone package. The original problem with the test
is that it outputs "Data mis-compare" error messages which means that
while doing a byte-to-byte comparison of what it wrote against the
data it read back from the file, it fails to see same contents as
written by it. On further hacking a bit with the code, I see that it
tries to compare X bytes in its buffer with Y bytes read from the
file, assuming that X will always be equal to Y. Is this assumption
supposed to hold for linux NFS client reads?

Thanks
Shehjar

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-30 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-30 16:42 Short-reads on NFS client Shehjar Tikoo

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.