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:
874008f
)
rpc/service.c: set max_offset when creating service MDs
author
pschwan
<pschwan>
Tue, 5 Mar 2002 22:02:59 +0000
(22:02 +0000)
committer
pschwan
<pschwan>
Tue, 5 Mar 2002 22:02:59 +0000
(22:02 +0000)
added lustre debugging draft
lustre/ptlrpc/service.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/service.c
b/lustre/ptlrpc/service.c
index
f87ca83
..
82507e9
100644
(file)
--- a/
lustre/ptlrpc/service.c
+++ b/
lustre/ptlrpc/service.c
@@
-305,6
+305,7
@@
int rpc_register_service(struct ptlrpc_service *service, char *uuid)
service->srv_md[i].options = PTL_MD_OP_PUT;
service->srv_md[i].user_ptr = service;
service->srv_md[i].eventq = service->srv_eq_h;
+ service->srv_md[i].max_offset = service->srv_buf_size;
rc = PtlMDAttach(service->srv_me_h[i], service->srv_md[i],
PTL_RETAIN, &(service->srv_md_h[i]));