| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WT-2402 Pad structures to avoid cache line sharing.
We previously used compiler alignment to avoid cache line sharing, which
is problematic because we don't allocate memory with the necessary
alignment, so some behavior is undefined. Instead, this change merely
pads structs to ensure they won't share a cache line when allocated in
an array.
* Add some #if barriers around the new union's
* Change where CACHE_LINE_PAD defines live and rename _START to _BEGIN
* Add ax_check_compile_flag to aclocal
* Lint
* Allocate the TINFO structures separately to minimize false sharing.
* Comment cleanup to make spell happy.
* Pad the read-write locks to avoid false sharing.
* Add a comment as to why we're adding -std=c11 to the compile.
* whitespace
* Add asserts that we're padding the structures we intended to pad.
Minor cleanup, don't use #defines outside of the WiredTiger namespace.
|
|
|
|
|
| |
OS X needs fake POSIX_FADV_XXX #defines as well as Windows, move
them to os.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove Linux-specific preload and memory-mapping code from the block
manager.
Get rid of the block-manager calls to posix_fadvise(), support ENOTSUP
returns up the stack from the underlying support. General reworking of
block preload/discard code to stop attempts whenever ENOTSUP is return
on a handle.
Remove block manager handle open tests of cache-max and dirty-cache-max
configuration conflicts with specifying direct I/O, lacking posix_fadvise
and lacking sync_file_range. We can't know in the block manager what the
underlying layer can do, and also, the old code was wrong, direct I/O is
set on a file type basis, so testing against a specific handle open isn't
correct.
Inline the block-header-size function, we call it a lot and it's simply
returning a size.
|
|
|
|
| |
Since there isn't a specifier that works on all platforms.
|
|
|
|
|
|
| |
defined when building for Windows"
This reverts commit 30071564bacc5c1d64ebe464da3d976263648470.
|
|
|
|
| |
when building for Windows
|
| |
|
| |
|
| |
|
|
|
|
|
| |
use size_t functions when updating WT_PAGE.memory_footprint and
WT_PAGE_MODIFY.bytes_dirty.
|
| |
|
|
|
|
| |
casts to _int64*, _int64 is what InterlockedCompareExchange64 expects.
|
| |
|
| |
|
|
|
|
|
|
| |
everywhere.
refs WT-1938
|
|
|
|
| |
Move the size_t format string from os.h to the compiler-specific include.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
code outside of those include files to use them.
|
|
|
|
| |
FAllocate & FTruncate fixes
|
| |
|
| |
|
|
|