Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/tmpfs



hi,

> Mindaugas Rasiukevicius wrote:
> 
>> Module Name: src
>> Committed By:        rmind
>> Date:                Wed Nov 11 09:59:42 UTC 2009
>> 
>> Modified Files:
>> 
>>      src/sys/fs/tmpfs: tmpfs_subr.c
>> 
>> Log Message:
>> 
>> Simplify tmpfs_itimes() and use vfs_timestamp().  [ ... ]
> 
> Was changing from getnanotime() to effectively nanotime() (via
> vfs_timestamp()) deliberate?  The original intention of using
> getnanotime() for filesystem timestamps was that having a "perfect"
> timestamp was less important than the time taken to obtain the
> timestamp itself.
> 
> Cheers,
> Simon.

"perfect" timestamp is important for nfs.

freebsd has a knob to switch getnanotime/nanotime for vfs_timestamp
for the tradeoff.

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index