From 7b066ef980b5a9ceaf4442cbb446fc3f45bafda3 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 1 Jan 2004 22:27:50 +0000 Subject: [PATCH] - add an AST which returns a snapshot of the LVB (glimpse) - add llite and LOV code to respond to glimpse ASTs with the stripe-adjusted size of the inode - add a policy function on the filter; this policy either grants a [0,-1] PR lock, if no conflicts, or performs a glimpse and returns that LVB - send LVB in completion AST - add lvb_swabber pointer to ldlm_lock and enqueue functions - remove never-used parent_lock_handle from enqueue functions - ldlm_intent_policy renamed to mds_intent_policy - filter_lvbo_update can now update LVB from the network message or disk inode, as required --- lustre/ldlm/ldlm_flock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ldlm/ldlm_flock.c b/lustre/ldlm/ldlm_flock.c index 9a2f6a5..181c72e 100644 --- a/lustre/ldlm/ldlm_flock.c +++ b/lustre/ldlm/ldlm_flock.c @@ -313,7 +313,7 @@ ldlm_process_flock_lock(struct ldlm_lock *req, int *flags, int first_enq, * and restart processing this lock. */ new2 = ldlm_lock_create(ns, NULL, res->lr_name, LDLM_FLOCK, lock->l_granted_mode, NULL, NULL, NULL, - 0); + NULL, 0); if (!new2) { ldlm_flock_destroy(req, lock->l_granted_mode, *flags); *err = -ENOLCK; -- 1.8.3.1