From: Qu Wenruo <wqu@suse.com>
To: dsterba@suse.cz
Cc: Cheng Yongkang <teel4res@gmail.com>,
David Sterba <dsterba@suse.com>, Chris Mason <mason@kernel.org>,
linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH v2] btrfs: reject refs=0 subvolume without DEAD in SUBVOL_SYNC_WAIT
Date: Tue, 10 Nov 2026 07:00:34 +1030 [thread overview]
Message-ID: <70aa1a4e-895b-416f-a3cb-195af489b55e@suse.com> (raw)
In-Reply-To: <20261109184712.GF4186782@twin.jikos.cz>
在 2026/11/10 05:17, David Sterba 写道:
> On Sun, Nov 01, 2026 at 05:48:21PM +1030, Qu Wenruo wrote:
>> With that said, there are more problems with the ioctl.
>>
>> - No real user
>> No one is utilizing BTRFS_SUBVOL_SYNC* flags. Btrfs-progs itself
>> doesn't even bother it.
>>
>> So all these fixes are very low priority, unless there are some wild
>> programs utilizing this.
>>
>> But even btrfs-progs doesn't utilize them, the possibility are very
>> low.
>
> Obviously the ioctl was added so progs 'subvol sync' can use it for
> non-root users. I started working on it but there's a problem with the
> behaviour change between the user types. Root has full access and
> reports the progress while with this ioctl there were some problems I
> don't remember. The ioctl was designed to emulate all modes that root
> can do so it should be possible to get 1:1 output.
Are you still planning to implement the full root-less subvolume wait in
progs?
Or is this feature deprecated and we can eventually remove it to reduce
LLM bug reports?
prev parent reply other threads:[~2026-11-09 20:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 6:25 Cheng Yongkang
2026-11-01 6:51 ` Qu Wenruo
2026-11-01 7:18 ` Qu Wenruo
2026-11-01 7:33 ` Cheng Yongkang
2026-11-01 8:27 ` Qu Wenruo
2026-11-09 18:47 ` David Sterba
2026-11-09 20:30 ` Qu Wenruo [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=70aa1a4e-895b-416f-a3cb-195af489b55e@suse.com \
--to=wqu@suse.com \
--cc=dsterba@suse.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@kernel.org \
--cc=stable@vger.kernel.org \
--cc=teel4res@gmail.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
all inboxes | Powered by JetHome®