Hi Jeff, On Mon, Aug 25, 2025 at 12:33:46PM -0400, Jeff Layton wrote: > This seems like a reasonable thing to do, but I wonder if it makes > sense across all different pNFS layout types? This restriction is > definitely not needed for the (trivial) in-kernel flexfiles server, for > instance. > > Maybe it'd be best to push this down into the individual layout drivers > and let them make the decision? Good point. The spec says: "If the metadata server is in a grace period, and does not persist layouts and device ID to device address mappings, then it MUST return NFS4ERR_GRACE". As far as I understand, this is a requirement for a specific implementation option. So moving this logic to the layout driver level seems reasonable to me. Will submit new patch. -- Sergey Bashirov