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-6698 kernel: kernel update RHEL 6.6 [2.6.32-504.23.4.el6]
[fs/lustre-release.git]
/
lustre
/
osp
/
osp_trans.c
diff --git
a/lustre/osp/osp_trans.c
b/lustre/osp/osp_trans.c
index
6d0067a
..
c1d1950
100644
(file)
--- a/
lustre/osp/osp_trans.c
+++ b/
lustre/osp/osp_trans.c
@@
-545,11
+545,12
@@
int osp_trans_update_request_create(struct thandle *th)
return PTR_ERR(our);
}
- if (dt2osp_dev(th->th_dev)->opd_connect_mdt)
- our->our_flags = UPDATE_FL_SYNC;
-
oth->ot_our = our;
our->our_th = oth;
+
+ if (oth->ot_super.th_sync)
+ oth->ot_our->our_flags |= UPDATE_FL_SYNC;
+
return 0;
}