The following link
http://www.ovirt.org/Features/DetailedLockMechanism contains
description and design of in memory lock infrastructure.
The design is describing already existing infrastructure with additional changes that
should be done in order to improve it.
The idea is to allow using of in memory locks with commands that can create asynchronous
tasks.
Regards Michael