Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b9abe
)
- send the lock value block over the wire in the "enqueue" reply
author
phil
<phil>
Wed, 31 Dec 2003 05:37:25 +0000
(
05:37
+0000)
committer
phil
<phil>
Wed, 31 Dec 2003 05:37:25 +0000
(
05:37
+0000)
- store it in the lock on the client
- use the same struct for filter/llite (ost_lvb)
- replace separate files with a single lock_desc in the reply
- add some plumbing to ldlm_cli_create et al to pass LVB size down
lustre/ldlm/ldlm_flock.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_flock.c
b/lustre/ldlm/ldlm_flock.c
index
57c09c5
..
9a2f6a5
100644
(file)
--- a/
lustre/ldlm/ldlm_flock.c
+++ b/
lustre/ldlm/ldlm_flock.c
@@
-312,7
+312,8
@@
ldlm_process_flock_lock(struct ldlm_lock *req, int *flags, int first_enq,
* release the ns_lock, allocate the new lock,
* and restart processing this lock. */
new2 = ldlm_lock_create(ns, NULL, res->lr_name, LDLM_FLOCK,
- lock->l_granted_mode, NULL, NULL, NULL);
+ lock->l_granted_mode, NULL, NULL, NULL,
+ 0);
if (!new2) {
ldlm_flock_destroy(req, lock->l_granted_mode, *flags);
*err = -ENOLCK;