Re: Locks used in the FAT file system are non-atomic and in fact, don't work on SMP systems

Jeff Merkey (jmerkey@timpanogas.com)
Thu, 26 Aug 1999 14:38:52 -0600


Alan,

You're the man! Thanks.

Jeff

----- Original Message -----
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Jeff Merkey <jmerkey@timpanogas.com>
Cc: <alan@lxorguk.ukuu.org.uk>; <linux-kernel@vger.rutgers.edu>
Sent: Thursday, August 26, 1999 1:26 PM
Subject: Re: Locks used in the FAT file system are non-atomic and in fact,
don't work on SMP systems

> > Already tried this -- it seems to work (this is what the buffer cache is
> > using). The other versions of "lock" however are probably broken. Up()
and
> > Down() also work great. I think the FAT file system probably needs to
do
> > what you suggest so it wont be broken.
>
> The fat stuff was ok for 2.0 and 2.2 because of the big lock. Its
definitely
> not safe now. I'll nail that one now
>
>

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