diff options
Diffstat (limited to 'src/include/btmem.h')
-rw-r--r-- | src/include/btmem.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/btmem.h b/src/include/btmem.h index 0302533bb04..41b2c98f9e8 100644 --- a/src/include/btmem.h +++ b/src/include/btmem.h @@ -578,8 +578,7 @@ struct __wt_page { #define WT_PAGE_DISK_MAPPED 0x04 /* Disk image in mapped memory */ #define WT_PAGE_EVICT_LRU 0x08 /* Page is on the LRU queue */ #define WT_PAGE_OVERFLOW_KEYS 0x10 /* Page has overflow keys */ -#define WT_PAGE_RECONCILIATION 0x20 /* Page reconciliation lock */ -#define WT_PAGE_SPLIT_INSERT 0x40 /* A leaf page was split for append */ +#define WT_PAGE_SPLIT_INSERT 0x20 /* A leaf page was split for append */ uint8_t flags_atomic; /* Atomic flags, use F_*_ATOMIC */ /* @@ -603,6 +602,12 @@ struct __wt_page { #define WT_READGEN_STEP 100 uint64_t read_gen; + /* + * Used to protect and co-ordinate splits for internal pages and + * reconciliation for all pages. + */ + WT_FAIR_LOCK page_lock; + size_t memory_footprint; /* Memory attached to the page */ /* Page's on-disk representation: NULL for pages created in memory. */ |