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

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Thu Jan 16 2003 - 11:06:36 EST


Chris Mason writes:
> On Thu, 2003-01-16 at 10:43, Oleg Drokin wrote:

[...]

>
> link count at 1
> reiserfs_link: make new directory entry for link, schedule()
> reiserfs_unlink: dec link count to zero, remove file stat data
> reiserfs_link: inc link count, return thinking the stat data is still
> there

What protects ext2 from doing the same on the SMP?

>
> All of which leads to expanding chaos as we process this link pointing
> to nowhere but still have a valid in ram inode pointing to it.
>
> -chris

Nikita.

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