Mark Fasheh 019d1b2247 ocfs2: Create locks at initially requested level
If we have not yet created a cluster lock, ocfs2_cluster_lock() will
first create it at NLMODE, and then convert the lock to either PRMODE or
EXMODE (whichever is requested).

Change ocfs2_cluster_lock() to just create the lock at the initially
requested level. ocfs2_locking_ast() handles this case fine, so the only
update required was in setup of locking state. This should reduce the number
of network messages required for a new lock by one, providing an incremental
performance enhancement.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-11-06 15:31:45 -08:00
..
2007-10-16 09:42:58 -07:00
2007-10-16 09:42:58 -07:00
2007-10-12 11:54:38 -07:00
2007-04-26 15:10:40 -07:00
2007-10-16 09:42:58 -07:00
2007-07-18 08:47:40 -07:00
2007-10-12 11:54:40 -07:00
2007-05-02 15:07:16 -07:00
2007-10-12 11:54:37 -07:00
2007-10-12 11:54:40 -07:00
2006-09-20 15:48:39 -07:00
2007-07-20 08:44:19 -07:00
2007-04-26 14:39:48 -07:00
2007-05-07 12:12:51 -07:00
2007-04-26 14:40:16 -07:00