From: Tariq Toukan <ttoukan.linux@gmail.com>
To: Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
Anna Schumaker <Anna.Schumaker@Netapp.com>,
Trond Myklebust <trondmy@kernel.org>,
linux-nfs@vger.kernel.org, Boris Pismenny <borisp@nvidia.com>,
John Fastabend <john.fastabend@gmail.com>,
Jakub Kicinski <kuba@kernel.org>
Cc: Saeed Mahameed <saeedm@nvidia.com>, Gal Pressman <gal@nvidia.com>,
Networking <netdev@vger.kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>,
"David S. Miller" <davem@davemloft.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Leon Romanovsky <leon@kernel.org>,
Tariq Toukan <tariqt@nvidia.com>,
Dragos Tatulea <dtatulea@nvidia.com>
Subject: Re: [Bug report] NFS patch breaks TLS device-offloaded TX zerocopy
Date: Thu, 14 Nov 2024 21:05:00 +0200 [thread overview]
Message-ID: <bfeeaccd-dc8f-4f9b-bbae-4b13547bd04d@gmail.com> (raw)
In-Reply-To: <aeea3ae5-5c0b-48fa-942b-4d17acfd8cba@gmail.com>
On 05/08/2024 13:40, Tariq Toukan wrote:
> Hi,
>
> A recent patch [1] to 'fs' broke the TX TLS device-offloaded flow
> starting from v6.11-rc1.
>
> The kernel crashes. Different runs result in different kernel traces.
> See below [2].
> All of them disappear once patch [1] is reverted.
>
> The issues appears only with "sendfile on and zerocopy on".
> We couldn't repro with "sendfile off", or with "sendfile on and zerocopy
> off".
>
> The repro test is as simple as a repeated client/server communication
> (wrk/nginx), with sendfile on and zc on, and with "tls-hw-tx-offload: on".
>
> $ for i in `seq 10`; do wrk -b::2:2:2:3 -t10 -c100 -d15 --timeout 5s
> https://[::2:2:2:2]:20448/16000b.img; done
>
> We can provide more details if needed, to help with the analysis and debug.
>
> Regards,
> Tariq
>
> [1]
> commit 49b29a573da83b65d5f4ecf2db6619bab7aa910c
> Author: Christoph Hellwig <hch@lst.de>
> Date: Mon May 27 18:36:09 2024 +0200
>
> nfs: add support for large folios
>
> NFS already is void of folio size assumption, so just pass the
> chunk size
> to __filemap_get_folio and set the large folio address_space flag
> for all
> regular files.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Tested-by: Sagi Grimberg <sagi@grimberg.me>
> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
>
> fs/nfs/file.c | 4 +++-
> fs/nfs/inode.c | 1 +
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
>
Hi all,
FYI, issue is fixed by:
commit dd6e972cc589 ("net/mlx5e: kTLS, Fix incorrect page refcounting")
https://lore.kernel.org/netdev/20241107183527.676877-5-tariqt@nvidia.com/
Thanks,
Tariq
prev parent reply other threads:[~2024-11-14 19:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 10:40 [Bug report] NFS patch breaks TLS device-offloaded TX zerocopy Tariq Toukan
2024-08-05 11:43 ` Sagi Grimberg
2024-08-06 4:43 ` Tariq Toukan
2024-08-06 8:09 ` Sagi Grimberg
2024-08-06 10:07 ` Tariq Toukan
2024-08-11 11:21 ` Tariq Toukan
2024-08-11 18:33 ` Sagi Grimberg
2024-08-12 13:15 ` Tariq Toukan
2024-08-12 13:23 ` Christoph Hellwig
2024-08-12 9:02 ` Christoph Hellwig
2024-08-12 9:13 ` Sagi Grimberg
2024-08-12 11:06 ` Christoph Hellwig
2024-08-12 23:23 ` Jakub Kicinski
2024-11-14 19:05 ` Tariq Toukan [this message]
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=bfeeaccd-dc8f-4f9b-bbae-4b13547bd04d@gmail.com \
--to=ttoukan.linux@gmail.com \
--cc=Anna.Schumaker@Netapp.com \
--cc=borisp@nvidia.com \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--cc=edumazet@google.com \
--cc=gal@nvidia.com \
--cc=hch@lst.de \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.com \
--cc=sagi@grimberg.me \
--cc=tariqt@nvidia.com \
--cc=trondmy@kernel.org \
/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.