bug#53037: df/total-verify fail with cephfs

2022-01-05 Thread Dylan Simon
>From Paul Eggert , Wed, Jan 05, 2022 at 03:07:42PM -0800: > On 1/5/22 14:11, Dylan Simon wrote: > > Then it will look like this (I'm inferring, haven't actually tried it): > > I'm still not quite following, but does the attached patch address the > problem? Hrm, no, wit

bug#53037: df/total-verify fail with cephfs

2022-01-05 Thread Dylan Simon
>From Paul Eggert , Wed, Jan 05, 2022 at 01:05:03PM -0800: > On 1/5/22 11:27, Dylan Simon wrote: > > Only adding rows with all known values > > might make sense but would still break the test (wrong total total instead): > > > >if (known_value (iv->tot

bug#53037: df/total-verify fail with cephfs

2022-01-05 Thread Dylan Simon
We have a filesystem that reports statfs f_files = nfiles, f_ffree = -1 (UINTMAX_MAX). (See rationale https://github.com/ceph/ceph/pull/36127) Unfortunately this breaks df -i --total and in particular the df/total-verify test fails. Example output: > df -i --total / /mnt/ceph Filesystem