public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Pankaj Raghav <pankaj.raghav@linux.dev>
To: "Darrick J. Wong" <djwong@kernel.org>,
	Pankaj Raghav <p.raghav@samsung.com>
Cc: zlang@redhat.com, fstests@vger.kernel.org, lukas@herbolt.com,
	dgc@kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH] ltp: add support for FALLOC_FL_WRITE_ZEROES to fsx and fsstress
Date: Sun, 15 Mar 2026 09:35:19 +0100	[thread overview]
Message-ID: <ce1eff29-c52d-43a1-96a9-c4be0fafa3d0@linux.dev> (raw)
In-Reply-To: <20260313235259.GH6023@frogsfrogsfrogs>



On 3/14/2026 12:52 AM, Darrick J. Wong wrote:
> On Thu, Mar 12, 2026 at 08:53:08PM +0100, Pankaj Raghav wrote:
>> Add FALLOC_FL_WRITE_ZEROES support to both fsx and fsstress.
>> FALLOC_FL_WRITE_ZEROES flag was added in the kernel as a part of Zhang
>> Yi's series [1].
>>
>> FALLOC_FL_KEEP_SIZE is not supported when FALLOC_FL_WRITE_ZEROES is
>> used.
>>
>> [1] https://lore.kernel.org/linux-fsdevel/20250619111806.3546162-1-yi.zhang@huaweicloud.com/
>>
>> Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
> 
> Looks like a clone of the ZERO_RANGE code so I think this is ready for
> wider testing...

Yeah. Except the FALLOC_FL_KEEP_SIZE part, it is exactly like ZERO_RANGE.

> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
> 
> --D
> 

      reply	other threads:[~2026-03-15  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 19:53 [PATCH] ltp: add support for FALLOC_FL_WRITE_ZEROES to fsx and fsstress Pankaj Raghav
2026-03-13 23:52 ` Darrick J. Wong
2026-03-15  8:35   ` Pankaj Raghav [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=ce1eff29-c52d-43a1-96a9-c4be0fafa3d0@linux.dev \
    --to=pankaj.raghav@linux.dev \
    --cc=dgc@kernel.org \
    --cc=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=lukas@herbolt.com \
    --cc=p.raghav@samsung.com \
    --cc=zlang@redhat.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