Re: [WTF] ... is going on with current->fs->{root,mnt} accesses in pohmelfs

From: Evgeniy Polyakov
Date: Wed Feb 10 2010 - 16:29:47 EST


On Wed, Feb 10, 2010 at 09:02:48PM +0000, Al Viro (viro@xxxxxxxxxxxxxxxxxx) wrote:
> Which would be... ? E.g. between writepages() and rename(). What serializes
> your write_inode_create() wrt renames? IOW, how can the server decide that
> data from writepages() should go to the same object regardless of the
> rename?

rename and some other metadata operations as well as write itself
request remote lock (if not grabbed already), acknowledge forces writeback to old path.

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