lkml.org 
[lkml]   [2006]   [Nov]   [3]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateFri, 3 Nov 2006 12:56:36 +0100 (CET)
FromMikulas Patocka <>
SubjectRe: New filesystem for Linux
>>>> new method to keep data consistent in case of crashes (instead of
>>>> journaling),
>>>
>>> Your 32-bit transaction counter will overflow in the real world.  It
>>> will take a setup with millions of transactions per second and even
>>> then not trigger for a few years, but when it hits your filesystem,
>>> the administrator of such a beast won't be happy at all. :)
>>
>> If it overflows, it increases crash count instead. So really you have 2^47
>> transactions or 65536 crashes and 2^31 transactions between each crash.
>
> I am fully aware the counters are effectively 48-bit.  If they were
> just 32-bit, you would likely have hit the problem yourself already.
>
> Jörn

Given the seek time 0.01s, 31-bit value would last for minimum time of 248 
days when doing only syncs and nothing else. 47-bit value will last for 
reasonably long.

Mikulas
\
 
 \ /
  Last update: 2006-11-03 10:59    [from the cache]
©2003-2008