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:
b752129
)
Branch HEAD
author
huanghua
<huanghua>
Thu, 6 Mar 2008 01:02:00 +0000
(
01:02
+0000)
committer
huanghua
<huanghua>
Thu, 6 Mar 2008 01:02:00 +0000
(
01:02
+0000)
b=15025
i=yong.fan
i=yury.umanets
- set reply message size for CLOSE RPC
lustre/mdc/mdc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_request.c
b/lustre/mdc/mdc_request.c
index
ee3481b
..
9228231
100644
(file)
--- a/
lustre/mdc/mdc_request.c
+++ b/
lustre/mdc/mdc_request.c
@@
-818,7
+818,14
@@
int mdc_close(struct obd_export *exp, struct md_op_data *op_data,
CDEBUG(D_HA, "couldn't find open req; expecting close error\n");
mdc_close_pack(req, op_data);
+
+ req_capsule_set_size(&req->rq_pill, &RMF_MDT_MD, RCL_SERVER,
+ obd->u.cli.cl_max_mds_easize);
+ req_capsule_set_size(&req->rq_pill, &RMF_LOGCOOKIES, RCL_SERVER,
+ obd->u.cli.cl_max_mds_cookiesize);
+
ptlrpc_request_set_replen(req);
+
req->rq_commit_cb = mdc_commit_delayed;
req->rq_replay = 1;
LASSERT(req->rq_cb_data == NULL);