You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
format_timespan: work with nsec instead of usec, remove unused USEC_* symbols
Lennart:
Hmm, let's stick to uint64_t as type in casync, and only deal with ns
as unit. Patching through format_timespan() fixing up the factor sounds
easy enough to me. Yes, this means systemd and casync will deviate from
each other in this case, but I think that's fine, if we do it for a
reason.
In casync we mostly deal with ns, since we mostly deal with file system
objects, and Linux exposes ns granularity for those, hence I think it
is a good idea to standardize on ns time units. In systemd that's a bit
different though...
Signed-off-by: Arnaud Rebillout <[email protected]>
0 commit comments