On Mon, Jun 09, 2008 at 02:54:43PM +0200, Louis Rilling wrote:
Ugh, thanks for catching this :-(
What actual targets are you renaming? Sibling default groups?
I think the former actually works nicely. We are playing with
the subtree, and want to keep all operations out of it. Except, of
course, that we come into rmdir() with our parent i_mutex taken, so that
violates the ordering of the rename locks, right?
I'm not against the latter AT ALL. I just haven't come up with
it yet - we can't remove parts of the tree, it must be all or none.
Hence, we lock them all speculatively.
Joel
--
Life's Little Instruction Book #15
"Own a great stereo system."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
--