aboutsummaryrefslogtreecommitdiffstats
path: root/fastos
Commit message (Collapse)AuthorAgeFilesLines
* Use std::filesystem::copy_file. Remove FastOS_FileInterface::CopyFile.Tor Egge2022-06-243-174/+0
|
* Remove unused code for creating / removing directories andTor Egge2022-06-245-328/+12
| | | | for recursive directory traversal.
* Let deadlock detector dump stack of potentially deadlocked threadsTor Brede Vekterli2022-06-023-3/+3
| | | | | | | | | | | Enable cross-thread stack tracing as part of signal handler init code in both storage and proton daemons. Make deadlock detector parameters live configurable. Remove existing `restart` config definition annotations to reflect this. Remove dumping of bucket DB locks which hasn't really worked for a long time now.
* remove FastOS_ApplicationHåvard Pettersen2022-04-089-418/+15
| | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp
* move default fadvise setupHåvard Pettersen2022-04-051-12/+0
|
* use getopt/getopt_long directlyHåvard Pettersen2022-04-012-62/+0
|
* Make it obvious to the compiler that nullptr format string is not possibleTor Brede Vekterli2022-03-241-0/+3
|
* Merge pull request #21605 from ↵Håvard Pettersen2022-03-093-7/+13
|\ | | | | | | | | vespa-engine/havardpe/remove-tsan-warnings-from-fastos make some variables atomic to make tsan happy
| * be more relaxedHåvard Pettersen2022-03-091-2/+2
| |
| * make some variables atomic to make tsan happyHåvard Pettersen2022-03-093-6/+12
| |
* | Get VESPA_DLL_LOCAL from vespa/fastos/types.hHenning Baldersheim2022-03-071-0/+3
| |
* | Also gc FasOS_DynamicLibrary and RingBuffer.Henning Baldersheim2022-03-075-396/+0
| |
* | GC unused threadpool.Henning Baldersheim2022-03-078-91/+14
|/
* gc old process codeHåvard Pettersen2022-03-0514-2379/+1
| | | | also added read_line function to new Process code
* GC unused code.Henning Baldersheim2022-03-017-176/+36
|
* Add [[nodiscard]] to Read() tooHenning Baldersheim2022-01-264-4/+5
|
* Add [[nodiscard]] to Write2 and CheckedWrite tooHenning Baldersheim2022-01-264-6/+6
|
* Add [[nodiscard]] to Close() and Sync()Henning Baldersheim2022-01-262-4/+4
|
* - assert result of Close() in destructor of FastOS_File and FastOS_BufferedFile.Henning Baldersheim2022-01-265-17/+26
| | | | | | | - Check result of Close() - Check result of Sync() - Scope FastOS_File to avoid explicit Close(). - NULL -> nullptr
* Rename read -> has_readHenning Baldersheim2022-01-262-32/+16
|
* Chunk large preads into multiple smaller preads of max 64MB.Henning Baldersheim2022-01-261-1/+12
|
* Chunk large reads into multiple smaller reads of max 64MB.Henning Baldersheim2022-01-263-14/+18
|
* Use string::compareHenning Baldersheim2021-11-251-1/+0
|
* Use c++11 strings instead of old c-style manual string manipulation.Henning Baldersheim2021-11-245-36/+19
|
* ignore requested stack sizesArne H Juul2021-11-151-1/+6
| | | | | * for C++ threads only * triggered by feature flag, by default use old behavior
* Update Verizon Media copyright notices.gjoranv2021-10-072-2/+2
|
* Update 2017 copyright notices.gjoranv2021-10-0744-44/+44
|
* remove unused argumentArne Juul2021-09-012-4/+2
|
* simplify handling of environment variablesArne Juul2021-09-012-52/+1
|
* nothing really uses the "IPC descriptor"Arne Juul2021-09-015-160/+8
|
* remove unused enumArne Juul2021-09-011-16/+0
|
* remove unused _hasDetachedProcess flagArne Juul2021-09-012-2/+0
|
* remove unused socketsArne Juul2021-09-012-46/+1
| | | | | * CreateSocketPairs() isn't called * nothing reads from or writes to _mainSocket and _starterSocket
* remove helper methodsArne Juul2021-09-012-78/+0
| | | | ReadInt, ReadBytes, WriteInt, WriteBytes are now unused.
* remove unused methodsArne Juul2021-09-012-290/+0
| | | | | | | * both StarterDoWait() and StarterDoCreateProcess() are now unused. * after this, SendFileDescriptor() isn't used either, remove it and some support code for sending file descriptors * also ReceiveEnvironmentVariables() has no usage, remove it.
* remove unused ProcessStarter::Run()Arne Juul2021-09-012-17/+0
|
* gc unused codeArne Juul2021-09-013-39/+0
| | | | | * ProcessStarter Start() is now never called, remove it. * ProcessStarter Stop() is now a no-op, remove it and its usage.
* remove unused codeArne Juul2021-09-012-36/+0
| | | | | * there is no code setting _hasProxiedChildren to true, so PollReapProxiedChildren() can never be called.
* skip stopping proxy processArne Juul2021-09-011-5/+0
| | | | | * we never start ProcessStarter proxy process, so we don't need to stop it either.
* skip starting extra processArne Juul2021-09-011-4/+0
| | | | * we never start proxied children via ProcessStarter, so it doesn't need to run.
* Enable fastos backtrace for aarch64.Tor Egge2021-04-282-2/+2
|
* Remove duplicate headersJon Bratseth2021-03-182-2/+0
|
* Add copyright headersJon Bratseth2021-03-182-0/+2
|
* add PTHREAD_STACK_MIN if __pthread_get_minstack is unavailableArne Juul2021-02-251-0/+3
|
* adjust stack size by adding system minimum sizeArne Juul2021-02-241-2/+11
|
* Add noexcept and some other minor code health.Henning Baldersheim2021-02-021-17/+0
|
* Revert "Properly track execution of BucketTasks and provide sync() and ↵Henning Baldersheim2021-02-021-0/+17
| | | | order… "
* Properly track execution of BucketTasks and provide sync() and orderly shutdown.Henning Baldersheim2021-02-021-17/+0
|
* Revert "Implement BucketExecutor::sync."Henning Baldersheim2021-02-021-0/+17
|
* Implement BucketExecutor::sync.Henning Baldersheim2021-02-011-17/+0
|