Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Boolean conversion pass over include. | Keith Bostic | 2015-09-27 | 1 | -6/+6 |
| | |||||
* | Boolean conversion pass over os_posix. | Keith Bostic | 2015-09-24 | 6 | -20/+21 |
| | |||||
* | Boolean conversion pass through block, conn and evict. | Keith Bostic | 2015-09-23 | 3 | -7/+7 |
| | |||||
* | WT-2093 Use the C99 bool type to clarify when functions return true/false. | Michael Cahill | 2015-09-08 | 1 | -2/+2 |
| | |||||
* | Inline __wt_cond_wait so we don't need different POSIX/Windows versions, | Keith Bostic | 2015-09-04 | 1 | -16/+4 |
| | | | | minor restructuring for fewer instructions/branches. | ||||
* | WT-2085 Run some of the log_server threads operations more frequently | Susan LoVerso | 2015-09-04 | 1 | -4/+21 |
| | | | | than others. In particular, flush the log slot 20x per second. | ||||
* | Merge branch 'develop' into wt-1967-evict-any | Keith Bostic | 2015-08-21 | 1 | -3/+9 |
|\ | |||||
| * | Tweak line wrapping. | Michael Cahill | 2015-08-21 | 1 | -7/+7 |
| | | |||||
| * | WT-2050 - switch PRIu64 with WT_SIZET_FMT | David Hows | 2015-08-21 | 1 | -7/+9 |
| | | |||||
| * | WT-2050 - when memory allocation fails, say how much memory we were trying ↵ | David Hows | 2015-08-21 | 1 | -3/+7 |
| | | | | | | | | to allocate | ||||
* | | Merge branch 'develop' into wt-1967-evict-any | Keith Bostic | 2015-08-19 | 3 | -10/+10 |
|\ \ | |/ | |||||
| * | Rename atomic functions from number of bytes to number of bits. | Keith Bostic | 2015-08-13 | 3 | -10/+10 |
| | | |||||
| * | Merge branch 'develop' into wt-2025-inline-atomic-functions | Keith Bostic | 2015-08-13 | 2 | -3/+3 |
| |\ | |||||
| * | | WT-2025: Inline the gcc/lint (but not the Windows) atomic functions so | Keith Bostic | 2015-08-06 | 3 | -10/+10 |
| | | | | | | | | | | | | we get type checking and arguments are never evaluated more than once. | ||||
* | | | Merge branch 'develop' into wt-1967-evict-any | Keith Bostic | 2015-08-13 | 2 | -3/+3 |
|\ \ \ | | |/ | |/| | |||||
| * | | WT-2038 Use TAILQ for all lists. Otherwise remove is O(N), which may not ↵ | Michael Cahill | 2015-08-13 | 2 | -3/+3 |
| |/ | | | | | | | show up until running real workloads (while holding locks). | ||||
* | | Add a verbose message on close, it's useful to be able to match up | Keith Bostic | 2015-08-08 | 1 | -0/+2 |
|/ | | | | open/close pairs. | ||||
* | SERVER-19751 Retry pthread_create on EAGAIN or EINTR. | Michael Cahill | 2015-08-05 | 1 | -2/+4 |
| | |||||
* | We've already tested the previous values for correctness, so we don't | Keith Bostic | 2015-08-03 | 1 | -12/+7 |
| | | | | need to re-assign them before attempting the CAS instruction. | ||||
* | Merge branch 'mutex-overflow' into rwlock-noshift | Keith Bostic | 2015-08-03 | 1 | -2/+2 |
|\ | |||||
| * | Try and clarify the second example is a continuing of the first one. | Keith Bostic | 2015-08-03 | 1 | -2/+2 |
| | | |||||
* | | WT-2023 Avoid bit shifts during read-write lock operations. | Michael Cahill | 2015-08-03 | 1 | -26/+15 |
|/ | |||||
* | Merge pull request #2101 from wiredtiger/mutex-overflow-simplify | Michael Cahill | 2015-08-03 | 1 | -27/+11 |
|\ | | | | | WT-2023: Mutex overflow simplify | ||||
| * | Fix a comment | Keith Bostic | 2015-08-02 | 1 | -1/+1 |
| | | |||||
| * | An experimental change: replace the WT_ATOMIC_FETCH_ADD8 calls to | Keith Bostic | 2015-08-02 | 1 | -27/+11 |
| | | | | | | | | | | | | | | allocate and increment the ticket value with WT_ATOMIC_FETCH_ADD2 calls the allocate/increment just the ticket field. This means we don't overflow when acquiring tickets, which allows us to remove ticket overflow handling entirely. | ||||
* | | Merge pull request #2099 from wiredtiger/mutex-overflow-cheap-test | Michael Cahill | 2015-08-03 | 1 | -16/+24 |
|\ \ | | | | | | | WT-2023: Avoid the CAS instruction in the trylock functions. | ||||
| * | | There's a cheap register test we can do in both trylock cases to avoid | Keith Bostic | 2015-08-02 | 1 | -16/+24 |
| |/ | | | | | | | the CAS instruction. | ||||
* | | Add a comment about why we need the memory barrier during write unlock. | Keith Bostic | 2015-08-02 | 1 | -2/+6 |
|/ | |||||
* | Sleep eventually when waiting on a write lock, the same way we sleep | Keith Bostic | 2015-08-02 | 1 | -6/+17 |
| | | | | | | eventually when waiting on a read lock; a write lock has to wait on all previously ticketed readers and writers, so is likely to wait longer than a read lock. | ||||
* | Margo's review: rename "us" to "wr", it's the writers and readers field | Keith Bostic | 2015-08-02 | 1 | -36/+31 |
| | | | | combined, rename "val" to "ticket", fix/reword some comments. | ||||
* | Fix a couple of comments. | Keith Bostic | 2015-08-02 | 1 | -2/+8 |
| | |||||
* | Add another comment. | Keith Bostic | 2015-08-01 | 1 | -0/+5 |
| | |||||
* | I agree with Don, there's a bug in the __wt_try_readlock() function where | Keith Bostic | 2015-08-01 | 1 | -17/+141 |
| | | | | | | | | | | | | | the readers value can overflow into the users value, and so it needs to be masked so it doesn't overflow. Use a masking operation rather than a separate variable. Rename the WT_RWLOCK.pad field to be "overflow", it's not a padding byte. Now that I've loaded this all into my head again, take Don's Wiki page as a starting point and comment the lock structure and how all of this stuff works, the web page we reference might not be around the next time we need to figure out what's going on. | ||||
* | WT-2023: The users field intentionally overflows into pad; comment that. | Don Anderson | 2015-07-28 | 1 | -5/+4 |
| | |||||
* | WT-2023: Don't allow increments of 16-bit values to overflow into other fields. | Don Anderson | 2015-07-27 | 1 | -2/+7 |
| | |||||
* | WT-2016: Change wt_rwlock_t packing style | Mark Benvenuto | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1991 from wiredtiger/open-directory-full-path | sueloverso | 2015-05-22 | 1 | -7/+0 |
|\ | | | | | Sync the log directory when creating log files, not its parent | ||||
| * | Sync the log directory when creating log files, not its parent. That code ↵ | Michael Cahill | 2015-05-22 | 1 | -7/+0 |
| | | | | | | | | | | | | is the only caller of __wt_open with WT_FILE_TYPE_DIRECTORY and it passes in the correct path, but __open_directory was stripping the last component. refs WT-1941 | ||||
* | | Remove the WT_ATOMIC_CAS_VAL family of macros: use the true / false versions ↵ | Michael Cahill | 2015-05-20 | 1 | -2/+2 |
|/ | | | | | | everywhere. refs WT-1938 | ||||
* | Revert part of the last change, Linux needs the cast to (void *). | Keith Bostic | 2015-05-18 | 1 | -2/+5 |
| | |||||
* | Solaris' pthread_t is an (unsigned int), #ifdef the thread ID code to | Keith Bostic | 2015-05-18 | 1 | -8/+8 |
| | | | | avoid gcc -Wint-to-pointer-cast warnings. Reference WT-1934. | ||||
* | __wt_strdup() is a one-liner that calls __wt_strndup(), inline it. | Keith Bostic | 2015-05-01 | 1 | -11/+0 |
| | |||||
* | If our caller doesn't handle errors correctly, ensure a free won't fail. | Keith Bostic | 2015-04-29 | 1 | -0/+6 |
| | |||||
* | Don't set HAVE_POSIX_MEMALIGN automatically when TCMalloc supports it, | Keith Bostic | 2015-04-25 | 1 | -6/+0 |
| | | | | | | | | HAVE_POSIX_MEMALIGN is checked in other parts of the system, and, it configures Linux buffer alignment during auto-configuration. If we're ever on a system using autoconf that wants TCMalloc to provide the posix_memalign function, we'll need to fix up the autoconf script to handle that. | ||||
* | TC Malloc | Mark Benvenuto | 2015-04-24 | 1 | -0/+21 |
| | |||||
* | The OS layer ftruncate() code sets the WT_FH file size, so when | Keith Bostic | 2015-04-12 | 1 | -3/+1 |
| | | | | | | | | ftruncate is used to extend the file, we skip over the bytes added to the file during block allocation, and verify eventually fails because there are unverified blocks in the file. Reference #1871. | ||||
* | Merge branch 'develop' into sweep-file-handle-minimum | Keith Bostic | 2015-04-09 | 1 | -2/+1 |
|\ | |||||
| * | CID 72073 (#1 of 1): Redundant test (DEADCODE) | Keith Bostic | 2015-04-09 | 1 | -2/+1 |
| | | | | | | | | dead_error_condition: The condition session != NULL must be true. | ||||
* | | Update the sweep handle minimum to not use a statistic. | Alex Gorrod | 2015-04-09 | 1 | -3/+2 |
| | | | | | | | | A couple of other tidy ups. | ||||
* | | Merge branch 'develop' into sweep-file-handle-minimum | Keith Bostic | 2015-04-08 | 2 | -3/+3 |
|\ \ | |/ |