diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-06-03 08:41:16 -0400 |
---|---|---|
committer | Keith Bostic <keith.bostic@mongodb.com> | 2016-06-03 08:41:16 -0400 |
commit | ab19a7039595e75a6e9a5e9c4704190c8bb0c42b (patch) | |
tree | d796fe6320eaf4f9149a984343455f7166ded8a8 /dist | |
parent | c28f5d3422b46c07f9153f499e98dc983cedb2ad (diff) | |
download | mongo-ab19a7039595e75a6e9a5e9c4704190c8bb0c42b.tar.gz |
WT-2672 handle system calls that don't set errno (#2769)
* WT-2672 handle system calls that don't set errno
Split WT_SYSCALL_RETRY into two parts: WT_SYSCALL which does the error
return and errno mapping, and WT_SYSCALL_RETRY which actually retries
calls.
Quit retrying: clock_gettime, close, fcntl(F_SETLK), fstat gettimeofday,
posix_fadvise, posix_madvise, pthread_create pthread_join, rename, stat,
and unlink.
Check for errors when closing directory filehandles, both POSIX and
Windows.
* Don't bother retrying the close of a directory file descriptor.
* Review comment, pthread_create should retry to deal with EAGAIN.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/s_string.ok | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/s_string.ok b/dist/s_string.ok index d45cace728a..44fd6718ed7 100644 --- a/dist/s_string.ok +++ b/dist/s_string.ok @@ -117,6 +117,7 @@ FNV FORALL FOREACH FULLFSYNC +FindClose FindFirstFile Fixup Fk @@ -471,6 +472,7 @@ ckptfrag ckptlist cksum cloexec +closedir clsm cmd cmp |