From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: zlang@redhat.com, fstests@vger.kernel.org, guan@eryu.me,
linux-xfs@vger.kernel.org, allison.henderson@oracle.com,
catherine.hoang@oracle.com
Subject: Re: [PATCH 04/11] populate: create hardlinks for parent pointers
Date: Wed, 19 Jun 2024 10:00:50 -0700 [thread overview]
Message-ID: <20240619170050.GP103034@frogsfrogsfrogs> (raw)
In-Reply-To: <ZnJ3L5eEz1iLmACd@infradead.org>
On Tue, Jun 18, 2024 at 11:14:07PM -0700, Christoph Hellwig wrote:
> On Mon, Jun 17, 2024 at 05:50:24PM -0700, Darrick J. Wong wrote:
> > From: Darrick J. Wong <djwong@kernel.org>
> >
> > Create some hardlinked files so that we can exercise parent pointers.
> >
> > Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> > ---
> > common/populate | 38 ++++++++++++++++++++++++++++++++++++++
> > src/popdir.pl | 11 +++++++++++
> > 2 files changed, 49 insertions(+)
> >
> >
> > diff --git a/common/populate b/common/populate
> > index 15f8055c2c..d80e78f386 100644
> > --- a/common/populate
> > +++ b/common/populate
> > @@ -464,6 +464,44 @@ _scratch_xfs_populate() {
> > +
> > + # Create a couple of parent pointers
> > + __populate_create_dir "${SCRATCH_MNT}/PPTRS" 1 '' --hardlink --format "two_%d"
>
> > + __populate_create_dir "${SCRATCH_MNT}/PPTRS" ${nr} '' --hardlink --format "many%04d"
>
> > + __populate_create_dir "${SCRATCH_MNT}/PPTRS" ${nr} '' --hardlink --format "y%0254d"
>
> > + ln "${SCRATCH_MNT}/PPTRS/vlength" "${SCRATCH_MNT}/PPTRS/${fname}"
>
> Can you break these lines to make the code a little easier to read?
Will do.
> Otherwise looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
Thanks!
--D
next prev parent reply other threads:[~2024-06-19 17:00 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 0:46 [PATCHSET v13.5 3/6] fstests: adjust tests for xfs parent pointers Darrick J. Wong
2024-06-18 0:49 ` [PATCH 01/11] generic: test recovery of extended attribute updates Darrick J. Wong
2024-06-19 6:12 ` Christoph Hellwig
2024-06-18 0:49 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong
2024-06-19 6:12 ` Christoph Hellwig
2024-06-18 0:50 ` [PATCH 03/11] xfs/122: update for parent pointers Darrick J. Wong
2024-06-19 6:12 ` Christoph Hellwig
2024-06-18 0:50 ` [PATCH 04/11] populate: create hardlinks " Darrick J. Wong
2024-06-19 6:14 ` Christoph Hellwig
2024-06-19 17:00 ` Darrick J. Wong [this message]
2024-06-18 0:50 ` [PATCH 05/11] xfs/021: adapt golden output files " Darrick J. Wong
2024-06-19 6:14 ` Christoph Hellwig
2024-06-18 0:50 ` [PATCH 06/11] xfs/{018,191,288}: disable parent pointers for this test Darrick J. Wong
2024-06-19 6:15 ` Christoph Hellwig
2024-06-19 17:03 ` Darrick J. Wong
2024-06-18 0:51 ` [PATCH 07/11] xfs/306: fix formatting failures with parent pointers Darrick J. Wong
2024-06-19 6:16 ` Christoph Hellwig
2024-06-18 0:51 ` [PATCH 08/11] common: add helpers for parent pointer tests Darrick J. Wong
2024-06-19 6:17 ` Christoph Hellwig
2024-06-19 17:28 ` Darrick J. Wong
2024-06-18 0:51 ` [PATCH 09/11] xfs: add parent pointer test Darrick J. Wong
2024-06-19 6:17 ` Christoph Hellwig
2024-06-18 0:51 ` [PATCH 10/11] xfs: add multi link " Darrick J. Wong
2024-06-19 6:18 ` Christoph Hellwig
2024-06-18 0:52 ` [PATCH 11/11] xfs: add parent pointer inject test Darrick J. Wong
2024-06-19 6:18 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2024-06-20 20:53 [PATCHSET v13.6 3/6] fstests: adjust tests for xfs parent pointers Darrick J. Wong
2024-06-20 20:57 ` [PATCH 04/11] populate: create hardlinks for " Darrick J. Wong
2023-12-31 19:59 [PATCHSET v13.0 1/3] fstests: adjust tests for xfs " Darrick J. Wong
2023-12-27 13:47 ` [PATCH 04/11] populate: create hardlinks for " 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=20240619170050.GP103034@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=allison.henderson@oracle.com \
--cc=catherine.hoang@oracle.com \
--cc=fstests@vger.kernel.org \
--cc=guan@eryu.me \
--cc=hch@infradead.org \
--cc=linux-xfs@vger.kernel.org \
--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