Commit Graph

3554 Commits

Author SHA1 Message Date
Joe Bryan
05ce835b55 miscellaneous output cleanup 2019-04-12 22:14:55 -07:00
Joe Bryan
daac99c91e moves slog function pointer to u3C (to preserve across roads) 2019-04-12 22:13:00 -07:00
Joe Bryan
4873309e81 send slog hints over the king/serf pipe 2019-04-12 22:12:31 -07:00
Joe Bryan
3eaa470d98 moves slog implementation out of trace.c and libnoun
and removes unused u3t_shiv()
2019-04-12 22:11:49 -07:00
Joe Bryan
3f6c9326fb improves error message when attempting to recreate existing ship 2019-04-12 22:07:31 -07:00
Joe Bryan
3f7f57a247 removes obsolete ames initialization on boot 2019-04-12 21:57:33 -07:00
Joe Bryan
93ce637e96 updates arvo submodule to latest master 2019-04-12 21:57:02 -07:00
Joe Bryan
55aa3b70bd refactors/reorders functions in pier.c 2019-04-12 21:48:38 -07:00
Elliot Glaysher
367bf939d2 Move all logging onto a dedicated u3l_log() statement.
This makes things in libnoun not depend on the specifics of the terminal
driver for logging, using a implementor customizable logging function.

This allows the daemon process to intercept all logging lines without
breaking the console, and should allow the worker process to forward all
logging messages to the daemon so the daemon can print them without
breaking the console.
2019-04-12 16:21:35 -07:00
Elliot Glaysher
dbeb2c2a8b Normalize on the preexisting daemon/worker nomenclature.
We were calling the worker process three different things, standardize
on the name worker. Same for the daemon.
2019-04-12 13:30:36 -07:00
Joe Bryan
1b503d9e26 ensure that event-log header is first in the log 2019-04-11 00:11:45 -07:00
Joe Bryan
f5da7da563 reads events in batches of 1K during replay 2019-04-11 00:07:35 -07:00
Joe Bryan
2eff7240ac refactors event-log replay preparation 2019-04-10 23:50:47 -07:00
Joe Bryan
8c0a8a182f adds explicit boot controller, refactors state transitions 2019-04-10 23:32:13 -07:00
Joe Bryan
671eeaaf00 prevent spurious first-boot of existing pier 2019-04-10 23:18:54 -07:00
Joe Bryan
f68e27e68a removes superfluous pier liv_o flag 2019-04-10 22:33:40 -07:00
Joe Bryan
785839db5c
Merge pull request #1232 from urbit/ccr-vent-sane
cc-release event state machine corrections
2019-04-05 16:58:46 -07:00
Isaac Visintainer
f9a61b36a3 fixes for review 2019-04-05 15:03:19 -07:00
Isaac Visintainer
7c9b8d71ef put tracing calls in serf 2019-04-05 14:56:58 -07:00
Isaac Visintainer
cf3ddef76a moved path prettyprinting into noun/manage, and made it globally available 2019-04-05 14:56:12 -07:00
Isaac Visintainer
03ae60505b load pier directory on serf for saving tracing files 2019-04-05 14:56:11 -07:00
Isaac Visintainer
5c88da2619 fix serf flag size 2019-04-05 14:56:11 -07:00
Joe Bryan
92ece2d22a enforces snapshot/commit ordering constraints 2019-04-05 14:40:18 -07:00
Joe Bryan
4fb35aaee3 moves boot-barrier callback into _pier_work_release and refactors 2019-04-05 14:33:36 -07:00
Joe Bryan
7f116290aa adds explicit pier states, uses for playback printfs 2019-04-05 11:45:57 -07:00
Joe Bryan
a4735e8c93 adds explicit _pier_writ_unlink function 2019-04-05 11:45:57 -07:00
Joe Bryan
aaa5b31969 fixes _pier_work_poke reference counting 2019-04-05 11:45:57 -07:00
Joe Bryan
28c7131cc8 revises handling of event-log header 2019-04-05 11:45:57 -07:00
Joe Bryan
e22312ea14 initalizes persistence and starts the serf in parallel 2019-04-05 11:45:57 -07:00
Joe Bryan
6c932e5304 restructures pier startup 2019-04-05 11:43:34 -07:00
Joe Bryan
cf89e34a8a move disk_init/complete 2019-04-05 11:43:34 -07:00
Joe Bryan
1b456d1121 asserts lifecycle barrier is > 0, sets when reading event-log header 2019-04-05 11:43:42 -07:00
Joe Bryan
02abafef4e consolidates single-home logic 2019-04-05 11:43:34 -07:00
Joe Bryan
45d892d946 WIP extracts event-log header read and single-home 2019-04-05 11:43:34 -07:00
Joe Bryan
b33c50d117 WIP refactors log init, adds explicit "live" flag 2019-04-05 11:43:38 -07:00
Joe Bryan
8162a5177d WIP refactors serf init, adds explicit "live" flag 2019-04-05 11:43:34 -07:00
Joe Bryan
6eadbaa18d frees u3_writ on dispose 2019-04-05 11:43:34 -07:00
Joe Bryan
80d2a41810 removes obsolete, commented-out boot code 2019-04-05 11:43:34 -07:00
Joe Bryan
ffbc3bbc90 cleans up i/o driver initialization 2019-04-05 11:43:34 -07:00
Joe Bryan
81647bbd7c removes precommits, updates event state machine constraints 2019-04-05 11:43:28 -07:00
Joe Bryan
734adde0b7 adds defines for verbose event state machine printfs 2019-04-05 11:32:50 -07:00
Joe Bryan
4cc3a70498 bumps vere version number 2019-04-02 11:57:14 -07:00
Joe Bryan
9481ff7a6a removes duplication %behn initialization 2019-04-02 11:32:21 -07:00
Benjamin Summers
272263cf4d bumps arvo commit to latest next 2019-04-02 11:31:36 -07:00
Joe Bryan
ea56669696 TCOs +turn jet 2019-04-02 10:40:39 -07:00
Joe Bryan
53ca83f4bc TCOs +weld jet 2019-04-02 10:40:39 -07:00
Joe Bryan
2b3c218d9f for @pilfer-pandex 2019-03-29 10:50:58 -07:00
Joe Bryan
c39f26f02c fixes typo, adds comment per review 2019-03-28 23:38:13 -07:00
Joe Bryan
2c0566c55a Merge branch 'cc-release' into ccr-fast-boot
* cc-release: (69 commits)
  Fixed Nix build errors on Bernardo's Ubuntu. (#1220)
  Removed urb submodule.
  Removed `pkg/ent` submodule.
  Nix Build + Monorepo Structure (#1196)
  Added -P/--output-pill argument (#6)
  Collapse long lines.
  Nix Setup and Docs (#5)
  Instructions for getting dependencies on Ubuntu/Debian
  Whitespace errors.
  Wrote a really stupid configure script.
  Meson tries to hard to be "smart". Replaced with a Makefile.
  Clarify README comment
  Version bump, remove double negative
  Actually try calling getrandom while configuring
  v0.2.0
  v0.1.4
  Add all config vars to config.h.in
  Wrote a config.h.in file for old meson versions.
  Minor cleanup
  Remove assert, add _ent_fail
  ...
2019-03-20 23:53:41 -07:00
Benjamin Summers
02a1443cec Add 'pkg/urb/' from commit '29a2e6a79e59f93e6399225efec6e09bc17f2767'
git-subtree-dir: pkg/urb
git-subtree-mainline: 774f29bd06
git-subtree-split: 29a2e6a79e
2019-03-04 17:35:24 -08:00
Benjamin Summers
774f29bd06 Removed urb submodule. 2019-03-04 17:34:55 -08:00
Benjamin Summers
9618f37965 Add 'pkg/ent/' from commit '31ac2913f14c6f7631f5792ad942605fb2d9fb87'
git-subtree-dir: pkg/ent
git-subtree-mainline: 1207c204cb
git-subtree-split: 31ac2913f1
2019-03-04 16:49:14 -08:00
Benjamin Summers
1207c204cb Removed pkg/ent submodule. 2019-03-04 16:46:58 -08:00
benjamin-tlon
c86879e833
Nix Build + Monorepo Structure (#1196) 2019-03-04 16:43:53 -08:00