diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2014-03-07 13:49:26 -0600 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-02-23 07:28:42 -0600 |
commit | 47741b7ca7b389d1b45d7cf15edc279c9be32fa8 (patch) | |
tree | 828b58d3b18618bfe2bf30fde3e44fb93f6efec2 /drivers/md/md.h | |
parent | 8e854e9cfd1cc3837b4bd96643d5174a72d9f741 (diff) | |
download | op-kernel-dev-47741b7ca7b389d1b45d7cf15edc279c9be32fa8.zip op-kernel-dev-47741b7ca7b389d1b45d7cf15edc279c9be32fa8.tar.gz |
DLM lock and unlock functions
A dlm_lock_resource is a structure which contains all information
required for locking using DLM. The init function allocates the
lock and acquires the lock in NL mode. The unlock function
converts the lock resource to NL mode. This is done to preserve
LVB and for faster processing of locks. The lock resource is
DLM unlocked only in the lockres_free function, which is the end
of life of the lock resource.
Signed-off-by: Lidong Zhong <lzhong@suse.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions