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:
0a9c9e4
)
Branch HEAD
author
johann
<johann>
Mon, 19 Jan 2009 12:36:03 +0000
(12:36 +0000)
committer
johann
<johann>
Mon, 19 Jan 2009 12:36:03 +0000
(12:36 +0000)
b=18044
i=bobijam
i=vitaly
copy DISCARD_DATA flag if cp ast includes bl ast.
lustre/ldlm/ldlm_lockd.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lockd.c
b/lustre/ldlm/ldlm_lockd.c
index
b849987
..
4b55123
100644
(file)
--- a/
lustre/ldlm/ldlm_lockd.c
+++ b/
lustre/ldlm/ldlm_lockd.c
@@
-867,6
+867,8
@@
int ldlm_server_completion_ast(struct ldlm_lock *lock, int flags, void *data)
lock_res_and_lock(lock);
if (lock->l_flags & LDLM_FL_AST_SENT) {
body->lock_flags |= LDLM_FL_AST_SENT;
+ /* copy ast flags like LDLM_FL_DISCARD_DATA */
+ body->lock_flags |= (lock->l_flags & LDLM_AST_FLAGS);
/* We might get here prior to ldlm_handle_enqueue setting
* LDLM_FL_CANCEL_ON_BLOCK flag. Then we will put this lock