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.
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
# List of WiredTiger #defines that are "unused", but it's OK.
|
|
ALIGN_CHECK
|
|
API_CALL
|
|
API_CALL_NOCONF
|
|
API_SESSION_INIT
|
|
FLD_MASK
|
|
JOINABLE_CURSOR_CALL_CHECK
|
|
LF_MASK
|
|
LLONG_MAX
|
|
LLONG_MIN
|
|
SIZE_CHECK
|
|
TXN_API_CALL
|
|
TXN_API_CALL_NOCONF
|
|
TXN_API_END
|
|
WIN32_LEAN_AND_MEAN
|
|
WT_ATOMIC_CAS
|
|
WT_ATOMIC_FUNC
|
|
WT_BLOCK_DESC_SIZE
|
|
WT_BLOCK_HEADER_SIZE
|
|
WT_CACHE_LINE_ALIGNMENT
|
|
WT_COMPILER_TYPE_ALIGN
|
|
WT_CONN_CHECK_PANIC
|
|
WT_DEADLOCK
|
|
WT_DEBUG_BYTE
|
|
WT_ERR_ERROR_OK
|
|
WT_HANDLE_CLOSED
|
|
WT_HANDLE_NULLABLE
|
|
WT_LOG_SLOT_ACTIVE
|
|
WT_LOG_SLOT_BITS
|
|
WT_LOG_SLOT_JOIN_MASK
|
|
WT_LOG_SLOT_MASK_OFF
|
|
WT_LOG_SLOT_MASK_ON
|
|
WT_LOG_SLOT_MAXBITS
|
|
WT_LOG_SLOT_UNBUFFERED_ISSET
|
|
WT_PACKED_STRUCT_BEGIN
|
|
WT_PACKED_STRUCT_END
|
|
WT_READ_BARRIER
|
|
WT_REF_SIZE
|
|
WT_SESSION_LOCKED_CHECKPOINT
|
|
WT_SESSION_LOCKED_TURTLE
|
|
WT_STATS_FIELD_TO_SLOT
|
|
WT_STATS_SLOT_ID
|
|
WT_STAT_DECR
|
|
WT_STAT_DECRV
|
|
WT_STAT_FAST_CONN_DECRV
|
|
WT_STAT_FAST_DATA_DECRV
|
|
WT_STAT_FAST_DECR
|
|
WT_STAT_FAST_DECRV
|
|
WT_STAT_FAST_INCR
|
|
WT_STAT_FAST_INCRV
|
|
WT_STAT_FAST_SET
|
|
WT_STAT_WRITE
|
|
WT_TIMEDIFF_US
|
|
WT_TRET_ERROR_OK
|
|
WT_WITH_LOCK
|
|
WT_WITH_LOCK_WAIT
|
|
__F
|
|
__WIREDTIGER_EXT_H_
|
|
__WIREDTIGER_H_
|
|
__WT_INTERNAL_H
|
|
__wt_bswap16
|