Whamcloud - gitweb
- add an AST which returns a snapshot of the LVB (glimpse)
authorphil <phil>
Thu, 1 Jan 2004 22:27:50 +0000 (22:27 +0000)
committerphil <phil>
Thu, 1 Jan 2004 22:27:50 +0000 (22:27 +0000)
- 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

index 9a2f6a5..181c72e 100644 (file)
@@ -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;