xfs
[Top] [All Lists]

XFS corruption during power-blackout

To: <linux-xfs@xxxxxxxxxxx>
Subject: XFS corruption during power-blackout
From: "Al Boldi" <a1426z@xxxxxxxxx>
Date: Tue, 28 Jun 2005 12:08:05 +0300
Sender: linux-xfs-bounce@xxxxxxxxxxx
Thread-index: AcV7VVlEB06iPAm0R0SOBxzhNMKQcAAU5UMQAAW/rMA=
 
Hans Reiser wrote:
> Steve, there is a remark about XFS below which you are going to be 
> more expert on.
> 
> Theodore Ts'o wrote:
> 
>>
>>XFS has similar issues where it assumes that hardware has powerfail 
>>interrupts, and that the OS can use said powerfail interrupt to stop 
>>DMA's in its tracks on an power failure, so that you don't have 
>>garbage written to key filesystem data structures when the memory 
>>starts suffering from the dropping voltage on the power bus faster 
>>than the DMA engine or the disk drives.  So XFS is a great filesystem
>>--- but you'd better be running it on a UPS, or on a system which has 
>>power fail interrupts and an OS that knows what to do.  Ext3, because 
>>it does physical block journalling, does not suffer from this problem.
>>(Yes, Resierfs uses logical journalling as well, so it suffers from 
>>the same problem.)
>>

True now, not so around 2.4.20 when XFS was rock-solid. I think they tried
to improve on performance and broke something. I wish they would fix that
because it forced me back to ext3, as in consistency over performance any
time.




<Prev in Thread] Current Thread [Next in Thread>