From: David Sterba <dsterba@suse.cz>
To: Boris Burkov <boris@bur.io>
Cc: Mark Harmstone <maharmstone@fb.com>,
linux-btrfs@vger.kernel.org,
Mark Harmstone <maharmstone@meta.com>,
Omar Sandoval <osandov@fb.com>
Subject: Re: [PATCH 0/3] btrfs-progs: use libbtrfsutil for subvolume creation
Date: Fri, 26 Jul 2024 19:17:06 +0200 [thread overview]
Message-ID: <20240726171706.GL17473@twin.jikos.cz> (raw)
In-Reply-To: <ZqFCce87fcBxgdc9@devvm12410.ftw0.facebook.com>
On Wed, Jul 24, 2024 at 11:05:37AM -0700, Boris Burkov wrote:
> On Fri, Jun 28, 2024 at 03:56:46PM +0100, Mark Harmstone wrote:
> > From: Mark Harmstone <maharmstone@meta.com>
> >
> > These patches are a resending of Omar Sandoval's patch from 2018, which
> > appears to have been overlooked [0], split up and rebased against the
> > current code.
> >
> > We change btrfs subvol create and btrfs subvol snapshot so that they use
> > libbtrfsutil rather than calling the ioctl directly.
> >
> > [0] https://lore.kernel.org/linux-btrfs/ab09ba595157b7fb6606814730508cae4da48caf.1516991902.git.osandov@fb.com/
>
> The series looks good to me, you can add
> Reviewed-by: Boris Burkov <boris@bur.io>
> to it.
>
> Two high level questions:
> 1. I think you put duplicate Signed-off-by: and Co-authored-by: lines on
> each patch. Did you mean to put Omar as the Co-authored-by: ?
I think Omar's signed-off could be there in case the code is the same
except some minor adjustments to fix conflicts, or co-authored-by.
> 2. Have you run fstests with this patch applied? We have recently had
> some test failures from stdout in create subvol/snapshot changing, so I
> would like to avoid that fiasco again.
If the output changed then a filter needs to be added to fstests. I
don't see any for subvolume creation, only _filter_btrfs_subvol_delete.
Besides, the tests of btrfs-progs don't pass,
https://github.com/kdave/btrfs-progs/actions/runs/10114811661
misc test 033-filename-length-limit fails, subvolume length,
"unexpected success: subvolume with name 256 bytes long succeeded"
and cli test 019-subvolume-create-parents
"unexpected success: was able to create subvolume without an intermediate directory"
prev parent reply other threads:[~2024-07-26 17:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 14:56 [PATCH 0/3] btrfs-progs: use libbtrfsutil for subvolume creation Mark Harmstone
2024-06-28 14:56 ` [PATCH 1/3] btrfs-progs: use libbtrfsutil for btrfs subvolume create Mark Harmstone
2024-07-26 17:19 ` David Sterba
2024-06-28 14:56 ` [PATCH 2/3] btrfs-progs: use libbtrfsutil for btrfs subvolume snapshot Mark Harmstone
2024-07-26 17:22 ` David Sterba
2024-06-28 14:56 ` [PATCH 3/3] btrfs-progs: remove unused qgroup functions Mark Harmstone
2024-07-24 18:05 ` [PATCH 0/3] btrfs-progs: use libbtrfsutil for subvolume creation Boris Burkov
2024-07-26 17:17 ` David Sterba [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=20240726171706.GL17473@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=boris@bur.io \
--cc=linux-btrfs@vger.kernel.org \
--cc=maharmstone@fb.com \
--cc=maharmstone@meta.com \
--cc=osandov@fb.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