2009/6/22 Bob Doolittle <Robert.Doolittle at sun.com>: > J?rgen Keil wrote: >> A workaround that survives a reboot is >> to add the following line to /etc/system: >> >> ? ?set stat_force_usec_granularity = 0 >> > > Can anyone comment on what the result of this setting is (besides less CPU > consumption, of course)? > There has to be some purpose to this setting (besides slowing the system > down :) ), so what has been lost?
See the bug report for 6539657 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6539657 The fix for 6539657 tries to work around an issue with touch -r on zfs; apparently the stat system calls are able to return full nanosecond resolution timestamps on zfs (and some other filesystems), but the system call used by touch -r to set the timestamps of a file only allows microsecond resolution. When copying a timestamp with touch -r the sub-microsecond part of the timestamp isn't copied. The fix for 6539657 tries to work around the problem by stripping the sub-microsecond part of zfs timestamps; but that fix seems to break kernel file events.
