Re: NFS over RDMA issues on Linux 5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04.08.2020 17:46, Chuck Lever wrote:


On Aug 4, 2020, at 11:39 AM, Timo Rothenpieler <timo@xxxxxxxxxxxxxxxx> wrote:

On 04.08.2020 17:34, Chuck Lever wrote:
I see a LOC_LEN_ERR on a Receive. Leon, doesn't that mean the server's
Send was too large?
Timo, what filesystem are you sharing on your NFS server? The thing that
comes to mind is https://bugzilla.kernel.org/show_bug.cgi?id=198053

The filesystem on the server is indeed a zfs-on-linux (version 0.8.4), just as in that bug report.

Should I try to apply the proposed fix you posted on that bug report on the client (and server?).

If you are hitting that bug, the server is the problem. The client
should work fine once the server is fixed. (I'm not happy about
the client's looping behavior either, but that will go away once
the server behaves).

I'm not hopeful that the fix applies cleanly to v4.19, but it
might. Another option would be upgrading your NFS server.

It's running on 5.4.54 and the patch applies with no fuzz whatsoever:

patching file fs/nfsd/nfs4xdr.c
Hunk #1 succeeded at 3530 (offset 9 lines).
Hunk #2 succeeded at 3556 (offset 9 lines).
patching file include/linux/sunrpc/svc.h
patching file include/linux/sunrpc/svc_rdma.h
Hunk #2 succeeded at 172 (offset 1 line).
Hunk #3 succeeded at 192 (offset 1 line).
patching file include/linux/sunrpc/svc_xprt.h
patching file net/sunrpc/svc.c
Hunk #1 succeeded at 1635 (offset -2 lines).
patching file net/sunrpc/svcsock.c
Hunk #2 succeeded at 660 (offset 2 lines).
Hunk #3 succeeded at 1181 (offset 4 lines).
patching file net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
Hunk #1 succeeded at 193 (offset 2 lines).
patching file net/sunrpc/xprtrdma/svc_rdma_rw.c
Hunk #1 succeeded at 481 (offset -3 lines).
Hunk #2 succeeded at 500 (offset -3 lines).
Hunk #3 succeeded at 510 (offset -3 lines).
Hunk #4 succeeded at 524 (offset -3 lines).
Hunk #5 succeeded at 538 (offset -3 lines).
Hunk #6 succeeded at 578 (offset -3 lines).
patching file net/sunrpc/xprtrdma/svc_rdma_sendto.c
Hunk #1 succeeded at 856 (offset -15 lines).
Hunk #2 succeeded at 891 with fuzz 2 (offset -22 lines).
patching file net/sunrpc/xprtrdma/svc_rdma_transport.c
Hunk #1 succeeded at 81 (offset -1 lines).

I will deploy the patch to both server and client and report back.



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux