public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux 5.13 kernel regression for NFS server
@ 2021-06-29 10:39 Justin Piszcz
  2021-06-29 13:01 ` Chuck Lever III
  0 siblings, 1 reply; 3+ messages in thread
From: Justin Piszcz @ 2021-06-29 10:39 UTC (permalink / raw)
  To: linux-kernel, linux-nfs

Hello,

ISSUE: Can no longer mount NFS server(5.13) share.
WORKAROUND: Reverting back to the 5.13-rc7 kernel for the NFS server, all
clients can then mount the share.

Kernel 5.13 vs. 5.13-rc7 for x86_64

With Kernel 5.13-rc7:

## mount is successful (from multiple clients, phone, tv, other Linux
client)
# mount 192.168.1.2:/r1 /r1
#

With Kernel 5.13 (hangs from multiple clients, phone, tv, other Linux
client)

## mount hangs:
# mount 192.168.1.2:/r1 /r1

(strace output where it is hanging)
...
clone(child_stack=NULL,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f2285e303d0) = 1741
wait4(1741, 0x7ffeaab6ce08, 0, NULL)    = ? ERESTARTSYS (To be restarted if
SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(1741,

No user changes in the kernel .config other than the comment for the version
text:

--- config-20210628.1624867695  2021-06-28 04:08:15.152781940 -0400
+++ config-20210628.1624867962  2021-06-28 04:12:42.591981706 -0400
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.13.0-rc7 Kernel Configuration
+# Linux/x86 5.13.0 Kernel Configuration
 #
 CONFIG_CC_VERSION_TEXT="gcc (Debian 10.2.1-6) 10.2.1 20210110"
 CONFIG_CC_IS_GCC=y

Justin.


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

* Re: linux 5.13 kernel regression for NFS server
  2021-06-29 10:39 linux 5.13 kernel regression for NFS server Justin Piszcz
@ 2021-06-29 13:01 ` Chuck Lever III
  2021-07-07 14:03   ` Justin Piszcz
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Lever III @ 2021-06-29 13:01 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-kernel@vger.kernel.org, Linux NFS Mailing List

Hi Justin-

> On Jun 29, 2021, at 6:39 AM, Justin Piszcz <jpiszcz@lucidpixels.com> wrote:
> 
> Hello,
> 
> ISSUE: Can no longer mount NFS server(5.13) share.
> WORKAROUND: Reverting back to the 5.13-rc7 kernel for the NFS server, all
> clients can then mount the share.
> 
> Kernel 5.13 vs. 5.13-rc7 for x86_64
> 
> With Kernel 5.13-rc7:
> 
> ## mount is successful (from multiple clients, phone, tv, other Linux
> client)
> # mount 192.168.1.2:/r1 /r1
> #
> 
> With Kernel 5.13 (hangs from multiple clients, phone, tv, other Linux
> client)
> 
> ## mount hangs:
> # mount 192.168.1.2:/r1 /r1
> 
> (strace output where it is hanging)
> ...
> clone(child_stack=NULL,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x7f2285e303d0) = 1741
> wait4(1741, 0x7ffeaab6ce08, 0, NULL)    = ? ERESTARTSYS (To be restarted if
> SA_RESTART is set)
> --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
> wait4(1741,
> 
> No user changes in the kernel .config other than the comment for the version
> text:
> 
> --- config-20210628.1624867695  2021-06-28 04:08:15.152781940 -0400
> +++ config-20210628.1624867962  2021-06-28 04:12:42.591981706 -0400
> @@ -1,6 +1,6 @@
> #
> # Automatically generated file; DO NOT EDIT.
> -# Linux/x86 5.13.0-rc7 Kernel Configuration
> +# Linux/x86 5.13.0 Kernel Configuration
> #
> CONFIG_CC_VERSION_TEXT="gcc (Debian 10.2.1-6) 10.2.1 20210110"
> CONFIG_CC_IS_GCC=y

It's likely this regression is due to a last minute change to
alloc_pages_bulk_array() done just before v5.13. See:

https://lore.kernel.org/linux-nfs/20210629081432.GE3840@techsingularity.net/T/#t

for details.

--
Chuck Lever




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

* Re: linux 5.13 kernel regression for NFS server
  2021-06-29 13:01 ` Chuck Lever III
@ 2021-07-07 14:03   ` Justin Piszcz
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Piszcz @ 2021-07-07 14:03 UTC (permalink / raw)
  To: Chuck Lever III; +Cc: linux-kernel@vger.kernel.org, Linux NFS Mailing List

On Tue, Jun 29, 2021 at 9:01 AM Chuck Lever III <chuck.lever@oracle.com> wrote:
>
> Hi Justin-
..
> > --- config-20210628.1624867695  2021-06-28 04:08:15.152781940 -0400
> > +++ config-20210628.1624867962  2021-06-28 04:12:42.591981706 -0400
> > @@ -1,6 +1,6 @@
> > #
> > # Automatically generated file; DO NOT EDIT.
> > -# Linux/x86 5.13.0-rc7 Kernel Configuration
> > +# Linux/x86 5.13.0 Kernel Configuration
> > #
> > CONFIG_CC_VERSION_TEXT="gcc (Debian 10.2.1-6) 10.2.1 20210110"
> > CONFIG_CC_IS_GCC=y
>
> It's likely this regression is due to a last minute change to
> alloc_pages_bulk_array() done just before v5.13. See:
>
> https://lore.kernel.org/linux-nfs/20210629081432.GE3840@techsingularity.net/T/#t
>
> for details.
>
> --
> Chuck Lever

Hello, thank you!  Confirmed that 5.13.1 includes the fix and it is working.

Justin.

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

end of thread, other threads:[~2021-07-07 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-29 10:39 linux 5.13 kernel regression for NFS server Justin Piszcz
2021-06-29 13:01 ` Chuck Lever III
2021-07-07 14:03   ` Justin Piszcz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox