linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFSv4.1 regression with v4.15-rc
@ 2017-12-27 20:40 Chuck Lever
  2017-12-30 18:05 ` Bruce Fields
  0 siblings, 1 reply; 7+ messages in thread
From: Chuck Lever @ 2017-12-27 20:40 UTC (permalink / raw)
  To: Bruce Fields, Bruce Fields; +Cc: Trond Myklebust, Linux NFS Mailing List

Hi Bruce-

Last week I updated my test server from v4.14 to v4.15-rc4, and began to
observe intermittent failures in the git regression suite on NFSv4.1. I
was able to reproduce these failures with NFSv4.1 on both TCP and RDMA,
yet there has not been a reproduction with NFSv3 or NFSv4.0.

The server hardware is a single-socket 4-core system with 32GB of RAM.
The export is a tmpfs. Networking is 56Gb InfiniBand (or IPoIB).

The git regression suite reports individual test failures in the SVN
and CVS tests. On occasion, the client mount point freezes, requiring
that the client be rebooted in order to unstick the mount.

Just before Christmas, I bisected the problem to:

commit 659aefb68eca28ba9aa482a9fc64de107332e256
Author: Trond Myklebust <trond.myklebust@primarydata.com>
Date:   Fri Nov 3 08:00:13 2017 -0400

    nfsd: Ensure we don't recognise lock stateids after freeing them
   =20
    In order to deal with lookup races, nfsd4_free_lock_stateid() needs
    to be able to signal to other stateful functions that the lock =
stateid
    is no longer valid. Right now, nfsd_lock() will check whether or not =
an
    existing stateid is still hashed, but only in the "new lock" path.
   =20
    To ensure the stateid invalidation is also recognised by the =
"existing lock"
    path, and also by a second call to nfsd4_free_lock_stateid() itself, =
we can
    change the type to NFS4_CLOSED_STID under the stp->st_mutex.
   =20
    Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>


Since we're already at v4.15-rc5 I thought it would be best to break the
holiday moratorium instead of waiting another week to report this.


--
Chuck Lever




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

end of thread, other threads:[~2018-01-12 22:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-27 20:40 NFSv4.1 regression with v4.15-rc Chuck Lever
2017-12-30 18:05 ` Bruce Fields
2017-12-30 18:14   ` Chuck Lever
2017-12-31 18:35     ` Chuck Lever
2018-01-09 20:26       ` Trond Myklebust
2018-01-09 20:28         ` Chuck Lever
2018-01-12 22:07           ` Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).