Re: Corrupted inode list?

Stephen C. Tweedie (sct@dcs.ed.ac.uk)
Thu, 12 Dec 1996 22:57:04 GMT


Hi,

In article <Pine.LNX.3.91.961209124713.20928A-100000@dot.superaje.com>
Benjamin C R LaHaise <blah@dot.superaje.com> writes:

> On Mon, 9 Dec 1996, Andrew E. Mileski wrote:

>> After exhaustive testing, and the loss of several hundred MB of data,
>> I can assure everyone that the FAT race fix in v2.1.14 doesn't work :-(
>> (this also affects VFAT of course)
>>
>> To review for anxious readers, three different solutions have been
>> posted on linux-kernel for this problem:
>> #1 by Benjamin LaHaise - see linux-kernel-digest #635
>> #2 by Stephen Tweedie - see linux-kernel-digest #636
>> #3 by Stephen Tweedie - see linux-kernel-digest #638
>> Solution #2 seems to be incorporated into v2.1.14 now.
>>
>> I'll try #3 now and report back after wringing it out a while.

> Hmmm... I haven't seen #3, but how about the patch below (untested,
> against 2.1.14). I investigated the msdos/vfat code a bit more, and
> depend/linked only seem to be used when renaming across directories
> (explains why most tests don't show the problem).

> ... [patch deleted]

Yup, this appears to be a reasonable approach. If you could give it a
testing and it seems to work OK, I'll forward the patch to Linus.

Cheers,
Stephen.