Revision 3977a4c1
ID | 3977a4c14b93ea833d9e0e1efb9bf2bede70b576 |
Parent | fb8dcb62 |
Child | c4a2fee1 |
Make sharing locks possible
LUs can declare which locks they need by populating the
self.needed_locks dictionary, but those locks are always acquired as
exclusive. Make it possible to acquire shared locks as well, by
declaring a particular level as shared in the self.share_locks
dictionary. By default this dictionary is populated so that all locks
are acquired exclusively.
Reviewed-by: iustinp
Files
- added
- modified
- copied
- renamed
- deleted