Re: file offset corruption on 32-bit machines?

From: Andi Kleen
Date: Thu Apr 10 2008 - 11:36:13 EST


Michal Hocko <mhocko@xxxxxxx> writes:

> [Adding fsdevel list]
>
> On Tuesday 08 April 2008 10:05:47 am Meelis Roos wrote:
>> Jeff Robertson analyzes the behaviour of different operating systems'
>> 64-bit file offset implementation and concludes that on 32-bit
>> machines, Linux and Solaris lack any locking to keep the two 32-bit
>> halves in sync and this could cause rare file offset corruption.
>>
>> http://jeffr-tech.livejournal.com/21014.html
>
> AFAICS, this race is theoretically possible, but it is very hard (almost
> impossible) to trigger with a sane file usage pattern.

We discussed this extensively some time ago in

http://thread.gmane.org/gmane.linux.file-systems/20712/focus=20771

No solution so far

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/