Re: [RFC] parallel directory operations

From: Andi Kleen (ak@suse.de)
Date: Tue Jul 08 2003 - 06:46:01 EST


On Tue, 08 Jul 2003 15:28:27 +0000
bzzz@tmi.comex.ru wrote:

> dynlocks implements 'lock namespace', so you can lock A for namepace N1 and
> lock B for namespace N1 and so on. we need this because we want to take lock
> on _part_ of directory.

Ok, a mini database lock manager. Wouldn't it be better to use a small hash
table and lock escalation on overflow for this? Otherwise you could
have quite a lot of entries queued up in the list if the server is slow.

-Andi
-
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 : Tue Jul 15 2003 - 22:00:27 EST