From: Carlos Maiolino <cem@kernel.org>
To: linux-xfs@vger.kernel.org, Daejun Park <daejun7.park@samsung.com>
Cc: Christoph Hellwig <hch@lst.de>,
Dave Chinner <david@fromorbit.com>,
"Darrick J. Wong" <djwong@kernel.org>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] xfs: break layouts before swapping extents
Date: Wed, 18 Nov 2026 09:58:50 +0100 [thread overview]
Message-ID: <179499233058.5574.6177455515756441128.b4-ty@kernel.org> (raw)
In-Reply-To: <20261109-xfs-swapext-break-layout-v1-1-7f6f137d18bb@samsung.com>
On Mon, 09 Nov 2026 17:26:56 +0900, Daejun Park wrote:
> XFS_IOC_SWAPEXT does not break pNFS layouts. A client can keep writing
> to blocks that the swap moved to the temporary file. xfs_fsr frees
> those blocks when it closes that file. The writes then land in whatever
> reuses them.
>
> Lock with xfs_ilock2_io_mmap(), as the exchange-range ioctls do.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: break layouts before swapping extents
commit: 0d8026c7ac0c79a8ebe2942a3c3114c06aced734
Best regards,
--
Carlos Maiolino <cem@kernel.org>
prev parent reply other threads:[~2026-11-18 8:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 8:26 Daejun Park via B4 Relay
2026-11-11 15:10 ` Christoph Hellwig
2026-11-18 8:58 ` Carlos Maiolino [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=179499233058.5574.6177455515756441128.b4-ty@kernel.org \
--to=cem@kernel.org \
--cc=daejun7.park@samsung.com \
--cc=david@fromorbit.com \
--cc=djwong@kernel.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=stable@vger.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
all inboxes | Powered by JetHome®