[Bug 210671] 'du' may report smaller than expected size(s) when using zfs

[email protected] Mon, 20 Jan 2025 17:38:37 +0000
Newsgroups gmane.os.freebsd.devel.amd64
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210671

Alexander Motin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |[email protected]
         Resolution|---                         |Works As Intended

--- Comment #3 from Alexander Motin <[email protected]> ---
I don't think anything can get out of this bug report.  As was written years
before this is just how ZFS works.  It does not know how much space file us=
es
until transaction group is committed, that might take several seconds.  Peo=
ple
who need the information sooner can use `zpool sync` to trigger and wait for
its completion.  But it can not be done routinely for every `du` call, sinc=
e it
will be too expensive for unprivileged user to do without reason.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=