Re: !corrupted messages!



On Wed, 29 Nov 2000 14:59:54 Jules Bean wrote:
> On Wed, Nov 29, 2000 at 02:15:39PM +0000, Carlos Morgado wrote:
> > 
> > m96: btw, does that happen on messages getting fetched from a pop3 box ?
> or 
> > local mailboxes ? did you delete any message on that mailbox ? 
> > that really sounds like filesystem corruption, some bitmap block that
> didn't
> > get updated or somesuch but it's very unlikely ext2 would get that bent.
> ...
> > i'll ask a few people anyway. if the corruption was crash related balsa
> can
> > only try harder to keep stuff safe, not fix the problem
> 
> You could fsync after every write. (Or gorupof writes, in the case of
> updating a mailbox).
> 

yeah, that's trying harder. if you fsync and get a nice system crash after 
you flush data but before you flush metadata (humm or the other way around -
i forget the current order) you still get that kind of corruption. if you 
sync more often you just get less data corrupted. but i digress about VFS :)


-- 
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds





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