Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 09:02:49 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Dmitry Chagin <dchagin@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 953688e823a6 - main - linux(4): Rework statfs conversion routine.
Message-ID:  <Y9f4OTMvlolz5jmk@FreeBSD.org>
In-Reply-To: <202301281020.30SAKkMB004493@gitrepo.freebsd.org>
References:  <202301281020.30SAKkMB004493@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y9f4OTMvlolz5jmk>