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:
79353de
)
branch: HEAD
author
ericm
<ericm>
Sat, 23 May 2009 00:22:46 +0000
(
00:22
+0000)
committer
ericm
<ericm>
Sat, 23 May 2009 00:22:46 +0000
(
00:22
+0000)
disable transaction for the final object releasing.
b=19385
r=wangdi
r=rread
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
2eb0293
..
87b0568
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-2685,6
+2685,11
@@
static void mdt_thread_info_fini(struct mdt_thread_info *info)
req_capsule_fini(info->mti_pill);
if (info->mti_object != NULL) {
+ /*
+ * freeing an object may lead to OSD level transaction, do not
+ * let it mess with MDT. bz19385.
+ */
+ info->mti_no_need_trans = 1;
mdt_object_put(info->mti_env, info->mti_object);
info->mti_object = NULL;
}