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-8367 osp: wait for precreate on reformatted OST
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_dev.c
diff --git
a/lustre/ofd/ofd_dev.c
b/lustre/ofd/ofd_dev.c
index
fdc110d
..
5848454
100644
(file)
--- a/
lustre/ofd/ofd_dev.c
+++ b/
lustre/ofd/ofd_dev.c
@@
-1681,6
+1681,8
@@
static int ofd_create_hdl(struct tgt_session_info *tsi)
/* From last created */
diff = OST_MAX_PRECREATE;
ofd_seq_last_oid_set(oseq, ostid_id(&oa->o_oi) - diff);
+ /* no sync_trans when recreating last batch */
+ sync_trans = 0;
}
if (!(oa->o_valid & OBD_MD_FLFLAGS) ||