Linux-NFS Archive mirror
 help / color / mirror / Atom feed
From: Chuck Lever <cel@kernel.org>
To: jlayton@kernel.org, Olga Kornievskaia <okorniev@redhat.com>
Cc: Chuck Lever <chuck.lever@oracle.com>,
	linux-nfs@vger.kernel.org, neilb@brown.name, Dai.Ngo@oracle.com,
	tom@talpey.com
Subject: Re: [PATCH 1/1] nfsd: fix GET_DIR_DELEGATION when VFS leases are disabled
Date: Fri,  3 Apr 2026 12:14:34 -0400	[thread overview]
Message-ID: <177523286705.3159971.9602666478308753581.b4-ty@b4> (raw)
In-Reply-To: <20260403152055.70311-1-okorniev@redhat.com>

From: Chuck Lever <chuck.lever@oracle.com>

On Fri, 03 Apr 2026 11:20:55 -0400, Olga Kornievskaia wrote:
> When leases are disabled on the server, running xfstest generic/309 leads
> to an error because GET_DIR_DELEGATION returns EINVAL.
> 
> nfsd_get_dir_deleg() can fail in several ways: like memory allocation and
> unable to get a lease because either leases are disable or it's already
> held. Currently only the condition "already held" is translated to
> returning directory-delegation-is-unavailable error. However, other failure
> conditions are likely temporary and thus should result in the same kind
> of error.
> 
> [...]

Applied to nfsd-testing, thanks!

[1/1] nfsd: fix GET_DIR_DELEGATION when VFS leases are disabled
      commit: 374af81f6188dce267a3bd5384fa8981de24d437

--
Chuck Lever


      parent reply	other threads:[~2026-04-03 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03 15:20 [PATCH 1/1] nfsd: fix GET_DIR_DELEGATION when VFS leases are disabled Olga Kornievskaia
2026-04-03 16:00 ` Chuck Lever
2026-04-03 16:01 ` Jeff Layton
2026-04-03 16:14 ` Chuck Lever [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=177523286705.3159971.9602666478308753581.b4-ty@b4 \
    --to=cel@kernel.org \
    --cc=Dai.Ngo@oracle.com \
    --cc=chuck.lever@oracle.com \
    --cc=jlayton@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@brown.name \
    --cc=okorniev@redhat.com \
    --cc=tom@talpey.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).