From: Qu Wenruo <wqu@suse.com>
To: Nikolay Borisov <nborisov@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 2/2] btrfs-progs: doc: add extra note on flipping read-only on received subvolumes
Date: Fri, 10 Sep 2021 15:30:23 +0800 [thread overview]
Message-ID: <2442d845-76fa-ebe6-ec48-e7d0d8ff278f@suse.com> (raw)
In-Reply-To: <9ad982a7-2a40-5f52-1d88-cca79d9d411f@suse.com>
On 2021/9/10 下午2:33, Nikolay Borisov wrote:
>
>
> On 10.09.21 г. 9:03, Qu Wenruo wrote:
>> Signed-off-by: Qu Wenruo <wqu@suse.com>
>> ---
>> Documentation/btrfs-property.asciidoc | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/Documentation/btrfs-property.asciidoc b/Documentation/btrfs-property.asciidoc
>> index 4796083378e4..8949ea22edae 100644
>> --- a/Documentation/btrfs-property.asciidoc
>> +++ b/Documentation/btrfs-property.asciidoc
>> @@ -42,6 +42,12 @@ the following:
>>
>> ro::::
>> read-only flag of subvolume: true or false
>> ++
>> +NOTE: For recevied subvolumes, flipping from read-only to read-write will
>> +either remove the recevied UUID and prevent future incremental receive
>> +(on newer kernels), or cause future data corruption and recevie failure
>> +(on older kernels).
>
> Hang on a minute, flipping RO->RW won't cause corruption by itself.
It looks like the "future" part is not clear enough.
> So
> flipping will just break incremental sends which is completely fine.
The "breaking" part is more straightforward for newer kernel, but not
older kernels (it's definitely breaking, but not that directly observable)
Thanks,
Qu
>
>> +
>> label::::
>> label of the filesystem. For an unmounted filesystem, provide a path to a block
>> device as object. For a mounted filesystem, specify a mount point.
>>
>
next prev parent reply other threads:[~2021-09-10 7:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 6:03 [PATCH 0/2] btrfs-progs: add educational warning for flipping RO to RW on recevied subvolumes Qu Wenruo
2021-09-10 6:03 ` [PATCH 1/2] btrfs-progs: do extra warning when setting ro false on received subvolume Qu Wenruo
2021-09-10 6:36 ` Nikolay Borisov
2021-09-10 7:28 ` Qu Wenruo
2021-09-10 9:38 ` Graham Cobb
2021-09-10 6:03 ` [PATCH 2/2] btrfs-progs: doc: add extra note on flipping read-only on received subvolumes Qu Wenruo
2021-09-10 6:33 ` Nikolay Borisov
2021-09-10 7:30 ` Qu Wenruo [this message]
2021-09-10 9:48 ` Graham Cobb
2021-09-10 9:45 ` David Sterba
2021-09-10 9:59 ` Qu Wenruo
2021-09-10 10:50 ` Nikolay Borisov
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=2442d845-76fa-ebe6-ec48-e7d0d8ff278f@suse.com \
--to=wqu@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=nborisov@suse.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