On Fri, Oct 28 2016, Theodore Ts'o wrote:
> On Fri, Oct 28, 2016 at 07:21:58PM +0300, Evgeniy Berdnikov wrote:
>> 
>>  Userspace process generally DO NOT read raw blocks from disk.
>>  It uses kernel's buffer space, so buffered data should be consistent
>>  regardless of disk contents.
>> 
>>  Oswald is right, process completion (by exit() or interrupt by signal)
>>  can only truncate data, but can not corrupt. Only system crash can
>>  lead to data corruption.
>
> I could be confused, but I thought the original bug report involved
> the journal containing unexpected zero bytes after a system crash?

It can also happen (this is a laptop, and when the battery goes the fs
is not synced), and from this instance it can be the case.

But it's too frequent to be always the case. I'll collect one broken
journal making sure the system didn't go down for some reason.


------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to