[Haiku-commits] r31010 - haiku/trunk/src/system/kernel/fs
axeld at pinc-software.de
Sun Jun 14 23:28:29 CEST 2009
Ingo Weinhold <ingo_weinhold at gmx.de> wrote:
> > Well, we have the source, haven't we? But apart from that, we can
> > keep
> > it in as well, as most file systems cannot deliver the extra
> > resolution, anyway.
> Then they should set it to 0. No reason to do extra work for file
> that can (e.g. BFS).
You would wish it could ;-)
But seriously, I've already changed it to do so. It's just not that
clean, as Be went with a very strange mechanism for this - they shift a
time_t value 16 bits to the left, and than or a random 16 bit value in,
to make duplicate values less probable. So we have only 16 bits
resolution for the nanoseconds - I cut that down even more to 12 in
order to avoid the duplicates.
In any case, I'll finish that up tomorrow. Comments welcome.
More information about the Haiku-commits