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:
03b1894
)
last_commit transno is needed in any request
author
tappro
<tappro>
Tue, 19 Sep 2006 07:00:57 +0000
(07:00 +0000)
committer
tappro
<tappro>
Tue, 19 Sep 2006 07:00:57 +0000
(07:00 +0000)
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
b42cb26
..
6f18cce
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-1437,13
+1437,9
@@
static int mdt_req_handle(struct mdt_thread_info *info,
/* If we're DISCONNECTing, the mdt_export_data is already freed */
-#if 0
- if (h->mh_opc != MDS_DISCONNECT &&
- h->mh_opc != MDS_READPAGE &&
- h->mh_opc != LDLM_ENQUEUE) {
- mdt_finish_reply(info, req->rq_status);
+ if (rc == 0 && h->mh_opc != MDS_DISCONNECT) {
+ target_committed_to_req(req);
}
-#endif
RETURN(rc);
}