Re: [PATCH] nfsd: don't offer flexfiles layouts when NFSv3 isn't being served
From: Chuck Lever
Date: Fri Sep 04 2026 - 14:17:55 EST
On Fri, 04 Sep 2026 12:11:37 -0400, Jeff Layton wrote:
> The flexfiles layout driver hands out a deviceinfo that names this server
> as an NFSv3 DS (flexfilelayout.c hardcodes da->version = 3). With v3
> disabled, the client can't talk to the DS: it loops on v3 NULL calls that
> the server answers with PROG_MISMATCH, and I/O hangs in D state.
>
> Skip LAYOUT_FLEX_FILES in nfsd4_setup_layout_type() unless v3 is enabled.
>
> [...]
Applied to nfsd-testing, thanks! I can drop this one if you find a
better solution.
[1/1] nfsd: don't offer flexfiles layouts when NFSv3 isn't being served
commit: c1efd0d304fb61af95f4919936dc11a94845532d
--
Chuck Lever