From: Christoph Hellwig <hch@lst.de>
To: me@noctarius.com
Cc: Trond Myklebust <trondmy@kernel.org>,
Anna Schumaker <anna@kernel.org>,
linux-nfs@vger.kernel.org,
Benjamin Coddington <bcodding@hammerspace.com>,
Christoph Hellwig <hch@lst.de>, Chuck Lever <cel@kernel.org>
Subject: Re: [PATCH 3/4] pNFS: reclaim uncommitted layout writes after a server restart
Date: Fri, 4 Dec 2026 10:43:59 +0100 [thread overview]
Message-ID: <20261204094359.GC23068@lst.de> (raw)
In-Reply-To: <20261201-pnfs-layoutcommit-reclaim-nfs-testing-v1-3-d2b7dff70c94@noctarius.com>
On Tue, Dec 01, 2026 at 03:18:37PM +0100, Christoph Engelbert via B4 Relay wrote:
> + /*
> + * As prepare_layoutcommit, for a LAYOUTCOMMIT with loca_reclaim set
> + * after a server restart: encode every write made under the layout
> + * that the server has not acknowledged, including those of a commit
> + * still in flight. Returns -ENODATA when there is none.
> + */
> + int (*prepare_layoutcommit_reclaim) (struct nfs4_layoutcommit_args *args);
Wouldn't it make a lot more sense to pass the reclaim flag through
nfs4_layoutcommit_args instead of adding another method?
next prev parent reply other threads:[~2026-12-04 9:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 14:18 [PATCH 0/4] pNFS: reclaim uncommitted layout writes after a server restart Christoph Engelbert via B4 Relay
2026-12-01 14:18 ` [PATCH 1/4] NFSv4.1: encode loca_reclaim in LAYOUTCOMMIT Christoph Engelbert via B4 Relay
2026-12-04 9:42 ` Christoph Hellwig
2026-12-01 14:18 ` [PATCH 2/4] NFSv4.1: retry a LAYOUTCOMMIT refused with NFS4ERR_GRACE Christoph Engelbert via B4 Relay
2026-12-04 9:42 ` Christoph Hellwig
2026-12-01 14:18 ` [PATCH 3/4] pNFS: reclaim uncommitted layout writes after a server restart Christoph Engelbert via B4 Relay
2026-12-04 9:43 ` Christoph Hellwig [this message]
2026-12-01 14:18 ` [PATCH 4/4] pnfs/blocklayout: reclaim uncommitted extents " Christoph Engelbert via B4 Relay
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=20261204094359.GC23068@lst.de \
--to=hch@lst.de \
--cc=anna@kernel.org \
--cc=bcodding@hammerspace.com \
--cc=cel@kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=me@noctarius.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox