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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jan 2025 17:38:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210671

Alexander Motin <mav@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |mav@FreeBSD.org
         Resolution|---                         |Works As Intended

--- Comment #3 from Alexander Motin <mav@FreeBSD.org> ---
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 uses
until transaction group is committed, that might take several seconds.  People
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, since it
will be too expensive for unprivileged user to do without reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.