From: Nikolay Borisov <nborisov@suse.com>
To: Omar Sandoval <osandov@osandov.com>
Cc: Qu Wenruo <wqu@suse.com>, linux-btrfs@vger.kernel.org, dsterba@suse.cz
Subject: Re: [RFC PATCH] btrfs: qgroup: Deprecate the ability to manually inherit rfer/excl numbers
Date: Wed, 20 Dec 2017 08:50:11 +0200 [thread overview]
Message-ID: <f2c5c069-2daa-3ed9-490a-88fb487c4b80@suse.com> (raw)
In-Reply-To: <20171219193658.GA22017@vader.DHCP.thefacebook.com>
On 19.12.2017 21:36, Omar Sandoval wrote:
> On Tue, Dec 19, 2017 at 09:19:10PM +0200, Nikolay Borisov wrote:
>>
>>
>> On 19.12.2017 21:01, Omar Sandoval wrote:
>>> My only objection is that we shouldn't rename the field names in the
>>> UAPI header. Let's just add a comment that the two counters are ignored.
>>> Besides that,
>>
>> Why is that?
>
> We don't know if anyone is including the UAPI header and referring to
> these fields for whatever reason. A quick Google search doesn't turn up
> anything, but it has been there forever so I think we should err on the
> side of not breaking the API.
So it makes sense, but I think we can be brave in this case and really
obscure them. Since from where I'm standing it looks someone made a
_really_ bad decision in making this debug aid part of the on-disk
format and now we have to live with that decision for eternity. I think
teh fact this was not documented provides enough safety for allowing us
to rename the members.
What if in the future we'd like to repurpose those values and use them
for something else it would make sense to rename an unused member to
something meaningful. "I know we have the don't break userspace" rule
but in this case I'm more inclined to disregard for the sake of
long-term maintainability. In the end it's not _that_ big of an issue so
I won't be anal about it but I really hate the situation we find
ourselves in - shit is merged and subsequently we can't really fix it ...
prev parent reply other threads:[~2017-12-20 6:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-19 10:45 [RFC PATCH] btrfs: qgroup: Deprecate the ability to manually inherit rfer/excl numbers Qu Wenruo
2017-12-19 11:12 ` Nikolay Borisov
2017-12-19 11:20 ` Qu Wenruo
2017-12-19 11:24 ` Nikolay Borisov
2017-12-19 11:28 ` Qu Wenruo
2017-12-19 19:01 ` Omar Sandoval
2017-12-19 19:19 ` Nikolay Borisov
2017-12-19 19:36 ` Omar Sandoval
2017-12-19 19:44 ` Omar Sandoval
2017-12-20 6:50 ` Nikolay Borisov [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=f2c5c069-2daa-3ed9-490a-88fb487c4b80@suse.com \
--to=nborisov@suse.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=osandov@osandov.com \
--cc=wqu@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