HomeFreeBSD

Fix time database update calculations

Description

Fix time database update calculations

The time database update math assumed that the timestamps were in
nanoseconds, but at some point in the development or review process they
changed to seconds. This PR fixes the math to use seconds instead.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #17735

Details

Provenance
pcd_delphix.comAuthored on Sep 12 2025, 11:33 PM
GitHub <noreply@github.com>Committed on Sep 12 2025, 11:33 PM
Parents
rG455c36156c4e: ZTS: refreserv/refreserv_raidz improvements
Branches
Unknown
Tags
Unknown