Re: [2.4] VFS locking problem during concurrent link/unlink

From: Chris Mason (mason@suse.com)
Date: Thu Jan 16 2003 - 10:39:41 EST


On Thu, 2003-01-16 at 06:00, Oleg Drokin wrote:
> Hello!
>
> Debugging reiserfs problem that can be demonstrated with script created by
> Zygo Blaxell, I started to wonder if the problem presented is indeed reiserfs
> fault and not VFS.
> Though the Zygo claims script only produces problems on reiserfs, I am trying
> it now myself on ext2 (which will take some time).
>
> Debugging shows that reiserfs_link is sometimes called for inodes whose
> i_nlink is zero (and all corresponding data is deleted already).
> So my current guess of what's going on is this:
>

No, this is a reiserfs bug, since we schedule after doing link checks in
reiserfs_link and reiserfs_unlink. I sent a patch to reiserfs dev a
while ago, I'll pull it out of the suse kernel and rediff against
2.4.20.

-chris

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



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:13 EST