DragonFly bugs List (threaded) for 2009-03
DragonFly BSD
DragonFly bugs List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Simon 'corecode' Schubert \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 06 Mar 2009 14:08:00 +0000

New submission from Simon 'corecode' Schubert <corecode@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1308>
_____________________________________________________



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