Re: [PATCH] backport iget_locked from 2.5/2.6

From: Oleg Drokin
Date: Tue Aug 26 2003 - 06:28:02 EST


Helllo!

On Mon, Aug 25, 2003 at 04:07:14PM +0200, Christoph Hellwig wrote:

> Provide an iget variant without unlocking the inode and ->read_inode
> call. This is needed for XFS and IIRC the reiserfs folks wanted it,
> too.

No. This patch is useless for our purposes. (and coda/nfs ).
We wanted to get rid of a race where inode allocation and
filling fs specific parts are done non-atomically.
The patch below does not achieve this. We still fill inode private part
outside of inode_lock locked region.

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