From: Lukas Herbolt <lukas@herbolt.com>
To: linux-xfs@vger.kernel.org
Cc: cem@kernel.org, hch@infradead.org, djwong@kernel.org,
p.raghav@samsung.com
Subject: [PATCH 0/2] Addadd FALLOC_FL_WRITE_ZEROES support to xfs
Date: Mon, 9 Mar 2026 19:07:07 +0100 [thread overview]
Message-ID: <20260309180708.427553-2-lukas@herbolt.com> (raw)
This is addtion of the FALLOC_FL_WRITE_ZEROES into the XFS.
As suggested this is split into two patches firts one introduce the
bmapi_flags for xfs_alloc_file_space. Second patch implements the
FALLOC_FL_WRITE_ZEROES doing it in two steps, first preallocates
and then converts it to zeroed. Sending first patch as v0 and second
as v11 to make the changes visible.
The first patch is just changes to
Doing the tho phase allocation t
Lukas Herbolt (2):
xfs: Introduce 'bmapi_flags' parameter to xfs_alloc_file_space()
xfs: add FALLOC_FL_WRITE_ZEROES to XFS code base
fs/xfs/xfs_bmap_util.c | 5 +++--
fs/xfs/xfs_bmap_util.h | 2 +-
fs/xfs/xfs_file.c | 47 ++++++++++++++++++++++++++++++------------
3 files changed, 38 insertions(+), 16 deletions(-)
--
2.53.0
next reply other threads:[~2026-03-09 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 18:07 Lukas Herbolt [this message]
2026-03-09 18:07 ` [PATCH 1/2] xfs: Introduce 'bmapi_flags' parameter to xfs_alloc_file_space() Lukas Herbolt
2026-03-10 0:31 ` Darrick J. Wong
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=20260309180708.427553-2-lukas@herbolt.com \
--to=lukas@herbolt.com \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=hch@infradead.org \
--cc=linux-xfs@vger.kernel.org \
--cc=p.raghav@samsung.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