Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9514 ptlrpc: free reply buffer earlier for open RPC
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
ptlrpc_internal.h
diff --git
a/lustre/ptlrpc/ptlrpc_internal.h
b/lustre/ptlrpc/ptlrpc_internal.h
index
a37be57
..
cfd1de5
100644
(file)
--- a/
lustre/ptlrpc/ptlrpc_internal.h
+++ b/
lustre/ptlrpc/ptlrpc_internal.h
@@
-356,6
+356,7
@@
static inline void ptlrpc_reqset_put(struct ptlrpc_request_set *set)
static inline void ptlrpc_req_comm_init(struct ptlrpc_request *req)
{
spin_lock_init(&req->rq_lock);
+ spin_lock_init(&req->rq_early_free_lock);
atomic_set(&req->rq_refcount, 1);
INIT_LIST_HEAD(&req->rq_list);
INIT_LIST_HEAD(&req->rq_replay_list);