xfs
[Top] [All Lists]

Re: XFS (Linux) and locking problems

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: XFS (Linux) and locking problems
From: Dan Rich <drich@xxxxxxxxxxxxx>
Date: Thu, 6 Dec 2001 22:37:33 -0800 (PST)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1007680518.13468.22.camel@stout.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On 6 Dec 2001, Eric Sandeen wrote:

> On Thu, 2001-12-06 at 17:11, Dan Rich wrote:
> > I am seeing odd problems on a Linux XFS filesystem that appear to be
> > caused by a locking issue.  I have had several files dissapear and I
> > believe it is due to two processes (mail filters) opening the file at the
> > same time and steping on each other's toes.  Have you seen anything like
> > this on other systems?  I'm seeing this with the XFS 1.0.1 release on
> > the 2.4.9 kernel.
>
> Hm, there was no 1.0.1 release for the 2.4.9 kernel...

What are the patches in ftp://oss.sgi.com/projects/xfs/download/patches/2.4.9/?

> Disappear... as in, no longer in the directory listing?  Or contents
> disappear?

I have seen both happen.  The first problem I noticed was a mailbox that
ended up with only a few messages in it and all of the old messages
missing.  I have also seen files that showed in the directory inode but
not in the filesystem, i.e. running ls on a directory would return a list
of file not found errors followed by a few of the files that were left in
the directory.  I have also seen pine hang while trying to read a mailbox,
I assume becuase it was trying to get a lock on a file (in one case I
managed to get it to sieze the lock eventually).

> > I haven't tested the 1.0.2 release yet due to problems with the 2.4.14
> > kernel and the 1.0.2 build on my system.
> >
> > Also, is there a timetable for releaseing XFS patches for 2.4.16?
>
> They're available in the patches/ dir as of last night or so.

The only thing in 
ftp://oss.sgi.com/projects/xfs/download/Release-1.0.2/kernel_patches/i386/
at the moment is the 2.4.14 patches.  Interestingly enough, I now see them
in the directory above where I found the 2.4.9 patches.

-- 
Dan Rich <drich@xxxxxxxxxxxxx> |   http://www.employees.org/~drich/
                               |  "Step up to red alert!"  "Are you sure, sir?
                               |   It means changing the bulb in the sign..."
                               |          - Red Dwarf (BBC)



<Prev in Thread] Current Thread [Next in Thread>