mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Merge remote-tracking branch 'origin/mdb.master'
This commit is contained in:
commit
ff6bc13166
1 changed files with 2 additions and 4 deletions
|
|
@ -3603,11 +3603,9 @@ fail:
|
|||
env->me_flags |= MDB_FATAL_ERROR;
|
||||
return rc;
|
||||
}
|
||||
done:
|
||||
/* MIPS has cache coherency issues, this is a no-op everywhere else */
|
||||
if (!(env->me_flags & MDB_WRITEMAP)) {
|
||||
CACHEFLUSH(env->me_map + off, len, DCACHE);
|
||||
}
|
||||
CACHEFLUSH(env->me_map + off, len, DCACHE);
|
||||
done:
|
||||
/* Memory ordering issues are irrelevant; since the entire writer
|
||||
* is wrapped by wmutex, all of these changes will become visible
|
||||
* after the wmutex is unlocked. Since the DB is multi-version,
|
||||
|
|
|
|||
Loading…
Reference in a new issue