Re: Corrupted inode list?

Andrew E. Mileski (aem@nic.ott.hookup.net)
Mon, 9 Dec 1996 14:01:15 -0500 (EST)


> > 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).

Though my fs knowledge is limited, I'd say this seems to be basically
the same as what Stephen was trying to achieve (#3).

I'll beat on this one first.

Thanks.

--
Andrew E. Mileski   mailto:aem@ott.hookup.net
Linux Plug-and-Play Kernel Project http://www.redhat.com/linux-info/pnp/
XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html