From: Florian Weimer <fweimer@redhat.com>
To: Goffredo Baroncelli <kreijack@inwind.it>
Cc: Neal Gompa <ngompa13@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: btrfs loses 32-bit application compatibility after a while
Date: Sun, 16 Jul 2023 11:01:46 +0200 [thread overview]
Message-ID: <87edl85ix1.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <b332fcc8-b060-8646-775f-f4b52f0363d7@inwind.it> (Goffredo Baroncelli's message of "Sat, 15 Jul 2023 11:30:15 +0200")
* Goffredo Baroncelli:
> On 15/07/2023 11.09, Neal Gompa wrote:
>> On Sat, Jul 15, 2023 at 4:32 AM Goffredo Baroncelli <kreijack@libero.it> wrote:
>>>
> [..]
>> It was somewhat common for Fedora users. A number of Fedora 32-bit
>> ARM
>> variants used Btrfs until 32-bit ARM was discontinued in Fedora 37[1].
>> openSUSE still has 32-bit ARM and x86 support in Tumbleweed.
>> This issue is also possible on 64-bit x86 systems where 32-bit x86
>> applications run on it. That's what this report is about. We're
>> hitting it in Fedora because our 32-bit x86 builds in Fedora
>> infrastructure run on 64-bit x86 environments and triggered this[2].
>>
>
> From what you wrote, it is seems more "it is technically supported" but not
> big users. Otherwise I expected that a lot of bugs or complaints happened
> when it was deprecated from 5.9 and removed in 5.11.
I think that for most users, it will take some time (years?) until they
hit this issue. The builders are a bit of a special case.
This is something where telemetry really could help.
> Despite that, I am curious about what could happen when a 32 bit
> application tries to access a 64 bit inode: does the kernel return only
> the lower part of the inode number ? How this is handled in
> other FS: what happens when an fs hosts more than 2^32 files ?
> Unlikely but this may happen. BTRFS makes this more easy to happen.
The expectation is that the kernel interfaces return EOVERFLOW, the same
error code that is used for file sizes that cannot be represented using
the 32-bit interfaces.
Thanks,
Florian
prev parent reply other threads:[~2023-07-16 9:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 8:09 btrfs loses 32-bit application compatibility after a while Florian Weimer
2023-07-15 7:55 ` Goffredo Baroncelli
2023-07-15 9:09 ` Neal Gompa
2023-07-15 9:30 ` Goffredo Baroncelli
2023-07-16 9:01 ` Florian Weimer [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=87edl85ix1.fsf@oldenburg.str.redhat.com \
--to=fweimer@redhat.com \
--cc=kreijack@inwind.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=ngompa13@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