From: Aaron Straus <aaron-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Neil Brown <neilb@suse.de>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
Trond Myklebust <trond.myklebust@fys.uio.no>,
LKML Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
Date: Fri, 5 Sep 2008 15:14:35 -0700 [thread overview]
Message-ID: <20080905221435.GA12911@merfinllc.com> (raw)
In-Reply-To: <04854041-E23D-48B5-B9FF-0B7ECEB2C371@oracle.com>
[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]
Hi,
On Sep 05 04:36 PM, Chuck Lever wrote:
> I have the latest Fedora 9 kernels on two clients, mounting via NFSv3
> using "actimeo=600" (for other reasons). The server is OpenSolaris
> 2008.5.
>
> reader.py reported zeroes in the test file after about 5 minutes.
Awesome. Thanks for testing! Our actime is much shorter which is
probably why it happens sooner for us.
> Looking at the file a little later, I don't see any problems with it.
>
> Since your scripts are not using any kind of serialization (ie file
> locking) between the clients, I wonder if non-determinant behavior is
> to be expected.
Hmm... yep. I don't know what guarantees we want to make. The
behavior doesn't seem to be consistent with older kernels though... so
I'm thinking it might be a bug.
We hit this particular issue because we have scripts which essentially
'tail -f' log files looking for errors. They miss log messages (and
see corrupted ones) b/c of the NULLs. That's also why there is no
serialization.... we don't need it when grep'ing through log messages.
I'm bisecting now. I see a block of intricate-looking NFS patches, I'll
try to narrow it down to a particular commit.
I'll also get the wireshark data at that point.
Thanks,
=a=
--
===================
Aaron Straus
aaron-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Aaron Straus <aaron@merfinllc.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Neil Brown <neilb@suse.de>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
Trond Myklebust <trond.myklebust@fys.uio.no>,
LKML Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
Date: Fri, 5 Sep 2008 15:14:35 -0700 [thread overview]
Message-ID: <20080905221435.GA12911@merfinllc.com> (raw)
In-Reply-To: <04854041-E23D-48B5-B9FF-0B7ECEB2C371@oracle.com>
[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]
Hi,
On Sep 05 04:36 PM, Chuck Lever wrote:
> I have the latest Fedora 9 kernels on two clients, mounting via NFSv3
> using "actimeo=600" (for other reasons). The server is OpenSolaris
> 2008.5.
>
> reader.py reported zeroes in the test file after about 5 minutes.
Awesome. Thanks for testing! Our actime is much shorter which is
probably why it happens sooner for us.
> Looking at the file a little later, I don't see any problems with it.
>
> Since your scripts are not using any kind of serialization (ie file
> locking) between the clients, I wonder if non-determinant behavior is
> to be expected.
Hmm... yep. I don't know what guarantees we want to make. The
behavior doesn't seem to be consistent with older kernels though... so
I'm thinking it might be a bug.
We hit this particular issue because we have scripts which essentially
'tail -f' log files looking for errors. They miss log messages (and
see corrupted ones) b/c of the NULLs. That's also why there is no
serialization.... we don't need it when grep'ing through log messages.
I'm bisecting now. I see a block of intricate-looking NFS patches, I'll
try to narrow it down to a particular commit.
I'll also get the wireshark data at that point.
Thanks,
=a=
--
===================
Aaron Straus
aaron@merfinllc.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2008-09-05 22:14 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-05 19:19 [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20 Aaron Straus
2008-09-05 19:19 ` Aaron Straus
[not found] ` <20080905191939.GG22796-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-05 19:56 ` [NFS] " Chuck Lever
2008-09-05 19:56 ` Chuck Lever
2008-09-05 20:04 ` Aaron Straus
2008-09-05 20:36 ` Bernd Eckenfels
[not found] ` <20080905200455.GH22796-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-05 20:36 ` Chuck Lever
2008-09-05 20:36 ` Chuck Lever
2008-09-05 22:14 ` Aaron Straus [this message]
2008-09-05 22:14 ` Aaron Straus
2008-09-06 0:03 ` Aaron Straus
2008-09-06 0:03 ` Aaron Straus
2008-09-08 19:02 ` Aaron Straus
2008-09-08 19:02 ` Aaron Straus
[not found] ` <20080908190212.GF28123-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-08 21:15 ` Chuck Lever
2008-09-08 21:15 ` Chuck Lever
[not found] ` <76bd70e30809081415h6b55a8dfl8171634c576ac946-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-08 22:02 ` Aaron Straus
2008-09-08 22:02 ` Aaron Straus
2008-09-09 19:46 ` Aaron Straus
2008-09-09 19:46 ` Aaron Straus
[not found] ` <20080909194644.GI5290-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-11 16:55 ` Chuck Lever
2008-09-11 16:55 ` Chuck Lever
2008-09-11 17:19 ` Aaron Straus
2008-09-11 17:19 ` Aaron Straus
[not found] ` <20080911171908.GE12037-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-11 17:48 ` Chuck Lever
2008-09-11 17:48 ` Chuck Lever
2008-09-11 18:49 ` Aaron Straus
2008-09-11 18:49 ` Aaron Straus
[not found] ` <20080911184951.GB19054-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-22 16:05 ` Hans-Peter Jansen
2008-09-22 16:05 ` Hans-Peter Jansen
[not found] ` <200809221805.48463.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
2008-09-22 16:35 ` Trond Myklebust
2008-09-22 16:35 ` Trond Myklebust
2008-09-22 17:04 ` Aaron Straus
2008-09-22 17:04 ` Aaron Straus
[not found] ` <20080922170414.GC12483-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-22 17:26 ` Chuck Lever
2008-09-22 17:26 ` Chuck Lever
[not found] ` <76bd70e30809221026g7bde774pbffa35881682ea4b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-22 17:37 ` Aaron Straus
2008-09-22 17:37 ` Aaron Straus
2008-09-22 17:29 ` Trond Myklebust
2008-09-22 17:29 ` Trond Myklebust
2008-09-22 17:45 ` Aaron Straus
2008-09-22 17:45 ` Aaron Straus
[not found] ` <20080922174525.GF12483-bYFJunmd+ZV8UrSeD/g0lQ@public.gmane.org>
2008-09-22 18:43 ` Aaron Straus
2008-09-22 18:43 ` Aaron Straus
2008-09-22 18:45 ` Hans-Peter Jansen
2008-09-22 18:45 ` Hans-Peter Jansen
2008-09-22 18:45 ` Hans-Peter Jansen
2008-09-22 18:45 ` Hans-Peter Jansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080905221435.GA12911@merfinllc.com \
--to=aaron-byfjunmd+zv8ursed/g0lq@public.gmane.org \
--cc=chuck.lever@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neilb@suse.de \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.