]> git.baikalelectronics.ru Git - kernel.git/commit
DLM lock and unlock functions
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Fri, 7 Mar 2014 19:49:26 +0000 (13:49 -0600)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 13:28:42 +0000 (07:28 -0600)
commit7cb7593c76958b30635260abe27d818dd841c69e
tree828b58d3b18618bfe2bf30fde3e44fb93f6efec2
parent9e423c2b733982f920006794c0fdddf3b070a98e
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>
drivers/md/md-cluster.c