Revert "ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()"
commitaccfdeb948dab87a9576084a582f5bfeda0bd2f2
authorTony Hutter <hutter2@llnl.gov>
Tue, 18 Apr 2023 15:41:52 +0000 (18 08:41 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2023 15:41:52 +0000 (18 08:41 -0700)
tree15f4fcc7d425a586bbc3a049d0d8089846cf28b0
parent8ed62440eff5a3ea93b0a9b6f0b7e5e7290b667a
Revert "ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()"

This reverts commit 4b3133e671b958fa2c915a4faf57812820124a7b.

Users identified this commit as a possible source of data
corruption:
https://github.com/openzfs/zfs/issues/14753

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Issue #14753
Closes #14761
module/zfs/dnode.c