[issue1308] hammer: stat returns wrong time when using tids

Simon 'corecode' Schubert (via DragonFly issue tracker) sinknull at crater.dragonflybsd.org
Fri Mar 6 06:09:10 PST 2009


New submission from Simon 'corecode' Schubert <corecode at fs.ei.tum.de>:

When stat'ing a file with tid, hammer seems to always return the "first" time
for mtime, not the real mtime.  However undo -i can retrieve this time, so it
possibly isn't lost.

How to reproduce:

touch foo2 && fsync foo2 && sleep 5 && echo foo >> foo2 && fsync foo2 && sleep 5
&& echo foo2 >> foo2 && fsync foo2

then undo -i and stat any given foo2@@0x..., you'll always see the initial time,
except if you use tid -1.

----------
messages: 6296
nosy: corecode
status: unread
title: hammer: stat returns wrong time when using tids

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1308>
_____________________________________________________





More information about the Bugs mailing list