From: Mike Snitzer <snitzer@kernel.org>
To: Jonathan Curley <jcurley@purestorage.com>
Cc: Trond Myklebust <trondmy@kernel.org>,
Anna Schumaker <anna@kernel.org>,
Luis Chamberlain <mcgrof@kernel.org>,
linux-nfs@vger.kernel.org
Subject: Re: [RFC PATCH v4 0/9] NFSv4/flexfiles: Add support for striped layouts
Date: Mon, 20 Oct 2025 15:58:43 -0400 [thread overview]
Message-ID: <aPaUc8jzDWu7bhn_@kernel.org> (raw)
In-Reply-To: <aO-dE5-Rou92f9BU@kernel.org>
FYI, I really don't think your flexfiles striped changes have anything
to do with the reported mtls client mount issue. Sorry for the noise.
Mike
On Wed, Oct 15, 2025 at 09:09:39AM -0400, Mike Snitzer wrote:
> Hi Jon,
>
> I got a report that TLS no longer works with flexfiles. For context, I
> made TLS possible with flexfiles with commit 04a15263662a
> ("pnfs/flexfiles: connect to NFSv3 DS using TLS if MDS connection uses
> TLS").
>
> If I revert your flexfiles striped patchset then TLS works with
> flexfiles again.
>
> I haven't looked closely to try to find the issue yet, but I wanted
> to let you (and others) know about this regression.
>
> Mike
>
> On Wed, Sep 24, 2025 at 04:20:41PM +0000, Jonathan Curley wrote:
> > This patch series introduces support for striped layouts:
> >
> > The first 2 patches are simple preparation changes. There should be
> > no logical impact to the code.
> >
> > The 3rd patch refactors the nfs4_ff_layout_mirror struct to have an
> > array of a new nfs4_ff_layout_ds_stripe type. The
> > nfs4_ff_layout_ds_stripe has all the contents of ff_data_server4 per
> > the flexfile rfc. I called it ds_stripe because ds was already taken
> > by the deviceid side of the code.
> >
> > The patches 4-8 update various paths to be dss_id aware. Most of this
> > consists of either adding a new parameter to the function or adding a
> > loop. Depending on which is appropriate.
> >
> > The final patch 9 updates the layout creation path to populate the
> > array and turns the feature on.
> >
> > v1:
> > - Fixes function parameter 'dss_id' not described in
> > 'nfs4_ff_layout_prepare_ds'
> >
> > v2:
> > - Fixes layout stat error reporting path for commit to properly
> > calculate dss_id.
> >
> > v3:
> > - Fixes do_div dividend to be u64.
> >
> > v4:
> > - Use regular division operators for u32 commit path math.
> > - Fix mirror null check in ff_rw_layout_has_available_ds.
> >
> > Jonathan Curley (9):
> > NFSv4/flexfiles: Remove cred local variable dependency
> > NFSv4/flexfiles: Use ds_commit_idx when marking a write commit
> > NFSv4/flexfiles: Add data structure support for striped layouts
> > NFSv4/flexfiles: Update low level helper functions to be DS stripe
> > aware.
> > NFSv4/flexfiles: Read path updates for striped layouts
> > NFSv4/flexfiles: Commit path updates for striped layouts
> > NFSv4/flexfiles: Write path updates for striped layouts
> > NFSv4/flexfiles: Update layout stats & error paths for striped layouts
> > NFSv4/flexfiles: Add support for striped layouts
> >
> > fs/nfs/flexfilelayout/flexfilelayout.c | 778 +++++++++++++++-------
> > fs/nfs/flexfilelayout/flexfilelayout.h | 64 +-
> > fs/nfs/flexfilelayout/flexfilelayoutdev.c | 105 +--
> > fs/nfs/write.c | 2 +-
> > 4 files changed, 635 insertions(+), 314 deletions(-)
> >
> > --
> > 2.34.1
> >
> >
>
prev parent reply other threads:[~2025-10-20 19:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 16:20 [RFC PATCH v4 0/9] NFSv4/flexfiles: Add support for striped layouts Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 1/9] NFSv4/flexfiles: Remove cred local variable dependency Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 2/9] NFSv4/flexfiles: Use ds_commit_idx when marking a write commit Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 3/9] NFSv4/flexfiles: Add data structure support for striped layouts Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 4/9] NFSv4/flexfiles: Update low level helper functions to be DS stripe aware Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 5/9] NFSv4/flexfiles: Read path updates for striped layouts Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 6/9] NFSv4/flexfiles: Commit " Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 7/9] NFSv4/flexfiles: Write " Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 8/9] NFSv4/flexfiles: Update layout stats & error paths " Jonathan Curley
2025-09-24 16:20 ` [RFC PATCH v4 9/9] NFSv4/flexfiles: Add support " Jonathan Curley
2025-10-07 14:05 ` [RFC PATCH v4 0/9] " Mike Snitzer
2025-10-07 14:50 ` Mike Snitzer
2025-10-07 16:10 ` [PATCH] NFSv4/flexfiles: fix to allocate mirror->dss before use Mike Snitzer
2025-10-07 17:39 ` [PATCH v2] " Mike Snitzer
2025-10-07 18:03 ` Jon Curley
2025-10-15 13:09 ` [RFC PATCH v4 0/9] NFSv4/flexfiles: Add support for striped layouts Mike Snitzer
2025-10-20 19:58 ` Mike Snitzer [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=aPaUc8jzDWu7bhn_@kernel.org \
--to=snitzer@kernel.org \
--cc=anna@kernel.org \
--cc=jcurley@purestorage.com \
--cc=linux-nfs@vger.kernel.org \
--cc=mcgrof@kernel.org \
--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.