Re: [solved] Re: SMP, ext2, again: rm: cannot remove file: Input/output errors

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Feb 21 2000 - 12:47:59 EST


On Sun, 20 Feb 2000, Andrea Arcangeli wrote:

> Today I looked into this and I found a few ext2 and othe fses SMP races
> and a genuine UP race in wait_on_inode (iget/iput). I also fixed the not
> necessary double calling of clear_inode and added some commentary (see
> mainly the fs.h commentary). I am been careful only about ext2 and nfs and
> proc. I also checked fat and it seems to have its own locking so it should
> work fine in SMP too (I haven't tried fat though). (right fix for proc
> should be to change the proc_dir_entry->count to atomic_t but I didn't do
> that to not bloat the patch with details, it can be trivially improved
> with an incremental patch)

You also didn't care to look at sysvfs, ufs, etc.

BTW, _where_ can one call ext2_put_inode() without the big lock?

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:28 EST