Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 1998 11:24:11 -0700 (PDT)
From:      Matt Dillon <dillon@best.net>
To:        Mika Nystroem <mika@cs.caltech.edu>
Cc:        Peter Hawkins <thepish@FreeBSD.ORG>, mika@varese.cs.caltech.edu, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/7596: serious data integrity problem when reading WHILE writing NFSv3 client-end 
Message-ID:  <199808131824.LAA02830@flea.best.net>

next in thread | raw e-mail | index | archive | help
:Peter Hawkins writes:
:>See also PR 7418 - the plot thickens...
:>
:
:Hmm, this is very curious.  You don't think the page boundary 
:business could have to do with stdio buffering (or some other
:mechanism for delaying writes at the page boundaries)?
:
:I've managed to whittle down my test case to the following:
:...
:
:
:The random stuff is actually unnecessary, but it shows that the
:problem is not page-boundary-related.  The sine business is just
:a delay loop, and is necessary.  If the code looks a bit weird,
:it's because it's "emulating" the I/O behavior of a version of
:SPICE that exhibits the same problem.  Here's what I do:  run the
:...
:
:Sure, I normally run these applications against a FreeBSD NFS server
:with a four-way CCD, but this particular case was on a Slowaris
:2.5 (sparcstation 1) machine with perfectly standard UFS.  I haven't
:been able to exhibit it on a local FFS disk.  I also haven't been
:able to exhibit it with a NetBSD NFS client, which is a bit odd
:because all the code that my untrained eye found in /sys/nfs that
:looked suspicious was the same on NetBSD and FreeBSD :)
:
:  Mika
:  <mika@cs.caltech.edu>

    I'm not sure in what circumstances you are seeing the problem.  You
    are seeing it locally on a sun and on a sun client with a FreeBSD NFS
    server?  Is the file corrupted on the FreeBSD NFS server itself when you
    access it locally?

						-Matt

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications.
    <dillon@best.net> (Please include portions of article in any response)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808131824.LAA02830>