From: Anand Jain <anand.jain@oracle.com>
To: fdmanana@kernel.org, fstests@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org, Filipe Manana <fdmanana@suse.com>
Subject: Re: [PATCH] btrfs/228: sync filesystem after creating subvolume
Date: Wed, 10 May 2023 20:22:01 +0800 [thread overview]
Message-ID: <baf6b593-c3f9-47fa-a6eb-df18a639596b@oracle.com> (raw)
In-Reply-To: <6553d98ab74fe2fd627749f368d9623a0b12ee4f.1683716041.git.fdmanana@suse.com>
> +# Subvolume creation used to commit the transaction used to create it, but after
> +# the patch "btrfs: don't commit transaction for every subvol create", that
> +# changed, so sync the fs to commit any open transaction.
> +$BTRFS_UTIL_PROG filesystem sync $SCRATCH_MNT
> +
> $BTRFS_UTIL_PROG inspect-internal dump-tree -t1 $SCRATCH_DEV \
> | grep -q "256 ROOT_ITEM" || _fail "First subvol with id 256 doesn't exist"
>
Oh yes. Nice catch.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Thanks
next prev parent reply other threads:[~2023-05-10 12:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-10 10:55 [PATCH] btrfs/228: sync filesystem after creating subvolume fdmanana
2023-05-10 12:22 ` Anand Jain [this message]
2023-05-11 0:55 ` Qu Wenruo
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=baf6b593-c3f9-47fa-a6eb-df18a639596b@oracle.com \
--to=anand.jain@oracle.com \
--cc=fdmanana@kernel.org \
--cc=fdmanana@suse.com \
--cc=fstests@vger.kernel.org \
--cc=linux-btrfs@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