Re: git: 953688e823a6 - main - linux(4): Rework statfs conversion routine.
Date: Mon, 30 Jan 2023 17:02:49 UTC
On Sat, Jan 28, 2023 at 10:20:46AM +0000, Dmitry Chagin wrote: D> The branch main has been updated by dchagin: D> D> URL: https://cgit.FreeBSD.org/src/commit/?id=953688e823a67c3e9c0096252c33b1e7ecf9a095 D> D> commit 953688e823a67c3e9c0096252c33b1e7ecf9a095 D> Author: Dmitry Chagin <dchagin@FreeBSD.org> D> AuthorDate: 2023-01-28 10:19:41 +0000 D> Commit: Dmitry Chagin <dchagin@FreeBSD.org> D> CommitDate: 2023-01-28 10:19:41 +0000 D> D> linux(4): Rework statfs conversion routine. D> D> Rework the routines to convert a native statfs structure (with fixed-size 64-bit D> counters) to a Linux statfs structure (with long-sized counters) for 32-bit apps. D> D> Instead of following Linux and return an EOVERFLOW error from statfs() family of D> syscalls when actual fs stat value(s) are large enough to not fit into 32 bits, D> apply scale logics used by FreeBSD to convert a 5.x statfs structure to a 4.x D> statfs structure. D> D> For more details see cc479dda. D> D> Tested by: glebius D> MFC after: 1 week This is very important fix! It allows to run Linux version of Heroes of Might & Magic III Restoration of Erathia with your home directory residing on a large dataset. Thanks! -- Gleb Smirnoff