Jason Volk
|
84309261b2
|
ircd::fs::aio: Even more counters.
|
2019-01-18 10:14:38 -08:00 |
|
Jason Volk
|
aeea524ac9
|
ircd::net: Improve listener interface w/ instance reference in callbacks.
|
2019-01-18 10:14:37 -08:00 |
|
Jason Volk
|
d639eceba2
|
ircd: Move runlevel related into ircd::run:: namespace.
|
2019-01-18 09:08:56 -08:00 |
|
Jason Volk
|
36bcb9a300
|
ircd::db: Remove the handles vector optimization.
|
2019-01-17 15:38:00 -08:00 |
|
Jason Volk
|
bb354c5c05
|
ircd::db: Bypass row iterator creation when not seeking on construction.
|
2019-01-17 15:38:00 -08:00 |
|
Jason Volk
|
42d9f6dc79
|
ircd:Ⓜ️:event::fetch: Simplify opts ctor; minor cleanup.
|
2019-01-17 15:38:00 -08:00 |
|
Jason Volk
|
197478b531
|
ircd:Ⓜ️ Replace magic buffer sizes; minor cleanup.
|
2019-01-17 14:54:20 -08:00 |
|
Jason Volk
|
95cb4329fe
|
ircd::log: Remove unconditional critical output from stdout (remains for stderr).
Removed due to mark() causing critical output.
|
2019-01-17 14:54:20 -08:00 |
|
Jason Volk
|
1fb64a8924
|
ircd:Ⓜ️:event::fetch: Set the fetch.valid state after index lookup failure.
|
2019-01-17 14:54:20 -08:00 |
|
Jason Volk
|
1eca2cafb3
|
ircd::fs::aio: Optimize the syscall pattern by selectively reading the eventfd.
|
2019-01-17 13:21:43 -08:00 |
|
Jason Volk
|
a61d9e5d96
|
ircd:Ⓜ️:event::fetch: Add option for tight-to-selections.
|
2019-01-16 18:35:58 -08:00 |
|
Jason Volk
|
9e450cd912
|
ircd:Ⓜ️:room::messages: Fix fetch() wrapping; pass any fopts.
|
2019-01-16 18:09:36 -08:00 |
|
Jason Volk
|
1b9e306ff0
|
ircd:Ⓜ️:event::fetch: Various fixes / minor reorg.
|
2019-01-16 18:08:31 -08:00 |
|
Jason Volk
|
147ec1763b
|
ircd:Ⓜ️:event::fetch: Clear source on subsequent valid row seek().
|
2019-01-16 17:53:24 -08:00 |
|
Jason Volk
|
c4b17c293a
|
ircd:Ⓜ️:event::fetch: Condition on a valid event_idx here.
|
2019-01-16 16:38:58 -08:00 |
|
Jason Volk
|
8b05ea9d39
|
ircd:Ⓜ️:event::fetch: Add some assertions on the seek().
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
c43a0e49ab
|
ircd::db: Tweak cell::valid() stack.
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
f9127e5681
|
ircd:Ⓜ️:event::fetch: Obey keys selection when fetching event with full json query.
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
fc703660f6
|
ircd:Ⓜ️ Add selecting-key ctor for event from json::object.
|
2019-01-16 16:38:14 -08:00 |
|
Jason Volk
|
2b12c8a9c5
|
ircd:Ⓜ️:dbs: Use event source if available; add write options.
|
2019-01-16 15:55:08 -08:00 |
|
Jason Volk
|
f857e25ea7
|
ircd:Ⓜ️:event: Add a source json::object as a member.
|
2019-01-16 14:35:10 -08:00 |
|
Jason Volk
|
11607b3993
|
ircd:Ⓜ️:dbs: Use conditional column constructors for event columns.
|
2019-01-16 13:47:45 -08:00 |
|
Jason Volk
|
0652dfbc59
|
ircd::db: Allow null column transactions to be ignored rather than erroneous.
|
2019-01-16 13:46:15 -08:00 |
|
Jason Volk
|
918bc95d1a
|
ircd::db: Add nothrow column construction overload.
|
2019-01-16 13:23:00 -08:00 |
|
Jason Volk
|
4ded053406
|
ircd::db: Add cfid() lookup suite.
|
2019-01-16 13:21:36 -08:00 |
|
Jason Volk
|
5ae495031f
|
ircd:Ⓜ️:event::fetch: Improve fetch options related; minor cleanup.
|
2019-01-16 12:19:25 -08:00 |
|
Jason Volk
|
2171cc23e8
|
ircd::db: Fix cell::load seek validation.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
8b1887c5f8
|
ircd::fs::aio: Fix assertion.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
c5489cecb0
|
ircd:Ⓜ️:event::fetch: Add options to seek(); add event_json query branch.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
c314a9bb78
|
ircd:Ⓜ️:dbs: Add event_json column with conditional indexer.
|
2019-01-15 15:36:18 -08:00 |
|
Jason Volk
|
7c998e48ed
|
ircd:Ⓜ️:dbs: Cleanup / reorg write-indexers stack.
|
2019-01-15 13:00:15 -08:00 |
|
Jason Volk
|
1ab20cf721
|
ircd:Ⓜ️ Reorg / split / de-friend-inject various event interfaces.
|
2019-01-15 12:49:53 -08:00 |
|
Jason Volk
|
482112b369
|
ircd::mods: Improve exception translation.
|
2019-01-13 16:55:52 -08:00 |
|
Jason Volk
|
1a53b0e6e4
|
ircd::ctx: Improve exception handling at base frame.
|
2019-01-13 16:37:31 -08:00 |
|
Jason Volk
|
cbf456a388
|
ircd: Rename and refactor ircd::assertion interface into ircd::panic.
|
2019-01-13 16:37:31 -08:00 |
|
Jason Volk
|
ea4c3447c6
|
ircd::fs::aio: Simplify various conditions; add various comments; cleanup.
|
2019-01-13 14:02:03 -08:00 |
|
Jason Volk
|
4871928bfa
|
ircd::ctx: Partial de-inline of dock methods.
|
2019-01-13 13:57:34 -08:00 |
|
Jason Volk
|
3fae228c1a
|
ircd::json: Simplify json::object interface: eliminate path traversing overloads.
|
2019-01-12 16:47:48 -08:00 |
|
Jason Volk
|
b42ded1fc7
|
ircd::http: Add string views to make the raw head data available.
|
2019-01-12 11:56:00 -08:00 |
|
Jason Volk
|
d5956f47f7
|
ircd:Ⓜ️ Fix the m::cached logic to discount missing values.
|
2019-01-11 17:38:33 -08:00 |
|
Jason Volk
|
655d4e41c6
|
ircd::db: Configuration package.
|
2019-01-11 17:37:51 -08:00 |
|
Jason Volk
|
cbc4ddefe4
|
ircd::db: Fix issues with cache queries.
|
2019-01-11 17:36:05 -08:00 |
|
Jason Volk
|
d3d5f03b8c
|
ircd::db: Ensure no internal block cache is created by rocksdb when do not want.
|
2019-01-11 16:48:57 -08:00 |
|
Jason Volk
|
f55ad72ed5
|
ircd::db: Maintain our own names for caches.
|
2019-01-11 16:21:04 -08:00 |
|
Jason Volk
|
9a42fd9f60
|
ircd::db: Prevent submitting row with one cell to request pool.
|
2019-01-11 14:01:56 -08:00 |
|
Jason Volk
|
0f20a6a6ba
|
ircd::db: Improve row seek debugging and related.
|
2019-01-11 13:57:35 -08:00 |
|
Jason Volk
|
1198f7bc56
|
ircd::json::stack: Add object::append() convenience.
|
2019-01-10 16:58:44 -08:00 |
|
Jason Volk
|
4c495e1f44
|
modules/client/sync: Various cleanup / simplify.
|
2019-01-10 16:58:37 -08:00 |
|
Jason Volk
|
b15d3b929f
|
ircd:Ⓜ️:room::messages: Support seeking to event index of 0 for begin.
|
2019-01-10 13:17:01 -08:00 |
|
Jason Volk
|
2d860b25a8
|
ircd:Ⓜ️:sync: Checkpoint.
|
2019-01-09 20:39:12 -08:00 |
|
Jason Volk
|
5815fc87c2
|
ircd:Ⓜ️:events: Simplify interface.
|
2019-01-09 18:08:29 -08:00 |
|
Jason Volk
|
6c96e0d785
|
ircd:Ⓜ️:events: Simplify the for_each iteration interface.
|
2019-01-09 17:11:00 -08:00 |
|
Jason Volk
|
179d40fd21
|
ircd:Ⓜ️ Optimize event property query.
|
2019-01-08 17:17:41 -08:00 |
|
Jason Volk
|
443905859f
|
ircd:Ⓜ️:sync: Additional abstraction; checkpoint polylog /sync modules.
|
2019-01-08 17:17:41 -08:00 |
|
Jason Volk
|
f9ec33916c
|
ircd::json::stack: Add internal convenience member instance in the object and array class.
|
2019-01-08 15:53:41 -08:00 |
|
Jason Volk
|
ce999b916a
|
ircd::json::stack: Add chase device; add top() conveniences.
|
2019-01-08 11:06:00 -08:00 |
|
Jason Volk
|
cf6fc070a7
|
ircd::json::stack: Keep state for member append; null member if no append.
|
2019-01-07 14:00:24 -08:00 |
|
Jason Volk
|
7df8a8a20c
|
ircd::util: Add more pretty date units.
|
2019-01-07 13:22:47 -08:00 |
|
Jason Volk
|
b0b404b172
|
ircd::aio: Handle EINTR on the read(); clarify comment.
|
2019-01-05 18:16:41 -08:00 |
|
Jason Volk
|
005e4217ed
|
ircd::mods: Various cleanup.
|
2019-01-05 17:18:08 -08:00 |
|
Jason Volk
|
b878f577d5
|
ircd:Ⓜ️:user: Add a query for user to user visibility.
|
2019-01-04 14:47:46 -08:00 |
|
Jason Volk
|
61e88e75bc
|
modules/client/sync: Additional sync items reorganization.
|
2019-01-04 14:47:01 -08:00 |
|
Jason Volk
|
136d3a61a3
|
ircd::net::acceptor: Move socket close calls to exception handlers.
|
2019-01-04 12:44:29 -08:00 |
|
Jason Volk
|
86911226ed
|
ircd:Ⓜ️ Preliminary modular client sync system.
|
2019-01-03 17:21:02 -08:00 |
|
Jason Volk
|
ab121835af
|
ircd::log: Log critical messages to all outputs and ignore all masks.
|
2019-01-03 15:56:21 -08:00 |
|
Jason Volk
|
23b8874dc8
|
ircd::json::stack: Add a throw point before array append.
|
2019-01-03 15:54:53 -08:00 |
|
Jason Volk
|
815252e71f
|
ircd: Remove unused ap/cbor on this branch.
|
2019-01-02 12:27:17 -08:00 |
|
Jason Volk
|
c2103ec0d6
|
ircd::fs: Add sysfs access interface.
|
2019-01-01 21:15:10 -08:00 |
|
Jason Volk
|
23c1a87c4c
|
ircd::fs: Add tools for device related.
|
2019-01-01 19:53:12 -08:00 |
|
Jason Volk
|
b091fc7acb
|
ircd::client: Fix typo.
|
2018-12-31 20:18:02 -08:00 |
|
Jason Volk
|
03d78b3ce8
|
ircd::resource: Use pretty format for X-IRCd-Request-Timer header.
|
2018-12-31 20:09:25 -08:00 |
|
Jason Volk
|
f6c6250fcb
|
ircd:;db: Add the file size to the table file creation log msg.
|
2018-12-31 16:26:57 -08:00 |
|
Jason Volk
|
eba727a9db
|
ircd::db: Add a counter for the env pool tasks.
|
2018-12-31 16:12:10 -08:00 |
|
Jason Volk
|
b169f0cc80
|
ircd::db: Log more detailed table creation statistics.
|
2018-12-31 16:01:24 -08:00 |
|
Jason Volk
|
bc12702ed7
|
ircd::db: Log more detailed compaction job statistics.
|
2018-12-31 15:36:25 -08:00 |
|
Jason Volk
|
3b2188280a
|
util: Use more compact fmt for abbrev time.
|
2018-12-31 15:22:09 -08:00 |
|
Jason Volk
|
8f6c17aeb1
|
ircd::db: Fix log msg.
|
2018-12-31 14:34:10 -08:00 |
|
Jason Volk
|
11429bfff1
|
ircd::client: Tweak the loghead format.
|
2018-12-31 13:04:35 -08:00 |
|
Jason Volk
|
c15a44f921
|
ircd::net: Improve socket identification in various log messages.
|
2018-12-31 12:57:32 -08:00 |
|
Jason Volk
|
d983970907
|
ircd::http: Improve conditions for header generation.
|
2018-12-31 12:28:28 -08:00 |
|
Jason Volk
|
57079c0276
|
ircd::http: Add more functionality to headers class.
|
2018-12-31 12:28:28 -08:00 |
|
Jason Volk
|
6a25df6582
|
ircd::http: Check for user supplied header before generating one.
|
2018-12-30 18:07:18 -08:00 |
|
Jason Volk
|
6e71c05586
|
ircd:Ⓜ️:error: Improve constructions; ensure json content-type.
|
2018-12-30 17:35:34 -08:00 |
|
Jason Volk
|
af37529470
|
ircd:Ⓜ️:vm: Add a second sequence number; split out pdu write function.
|
2018-12-30 17:09:57 -08:00 |
|
Jason Volk
|
7bc1eee991
|
ircd::db: Add alignment assertion on read callback.
|
2018-12-30 15:13:29 -08:00 |
|
Jason Volk
|
b36b34be30
|
ircd::client: Reuse the request timer as an async timer.
|
2018-12-30 15:13:00 -08:00 |
|
Jason Volk
|
43a354da49
|
ircd::util: Add a format option for pretty_nanoseconds() et al for abbreviated units.
|
2018-12-30 13:38:14 -08:00 |
|
Jason Volk
|
ba7ad88d7a
|
ircd::aio: Additional assertion.
|
2018-12-29 20:15:24 -08:00 |
|
Jason Volk
|
663b164f39
|
ircd::fs: Abstract the common options into opts struct.
|
2018-12-29 20:02:22 -08:00 |
|
Jason Volk
|
3bec2c27d4
|
ircd::db: Set a lower priority io value for the LOW pool.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
a36d473708
|
ircd::fs::aio: Rename function.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
c8d5543c11
|
ircd::fs::aio: Improve handling of return and error behaviors of io_submit.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
afba6c2b5c
|
ircd::fs::aio: Add close-on-exec flag to the eventfd.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
5b934c5e71
|
ircd::db: Tweak error formatting.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
2e1828adbf
|
ircd::rfc3986: De-template grammar; fix rule array.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
3466597981
|
ircd::fs: Various reorg; cleanup.
|
2018-12-29 19:43:17 -08:00 |
|
Jason Volk
|
7e023beb4f
|
ircd::db: Reduce env debug noise when no compaction callback.
|
2018-12-28 18:18:13 -08:00 |
|
Jason Volk
|
12401c70aa
|
ircd::db: Don't start background tasks before runlevel::RUN.
|
2018-12-28 17:53:26 -08:00 |
|
Jason Volk
|
6784be5be8
|
ircd::db: Tweak interruption points; cleanup.
|
2018-12-28 17:14:19 -08:00 |
|
Jason Volk
|
c93cd90db1
|
ircd::aio: Simplify stats.
|
2018-12-28 16:30:27 -08:00 |
|
Jason Volk
|
30dc2ce7ed
|
ircd::fs: Various cleanup / renames.
|
2018-12-28 15:30:29 -08:00 |
|
Jason Volk
|
16ebbbfa8a
|
ircd::ctx: Move and adjust default stack size.
|
2018-12-28 14:07:40 -08:00 |
|
Jason Volk
|
d786079fca
|
ircd::log: Check if ios is available as a condition for vlog_threadsafe().
|
2018-12-28 13:24:33 -08:00 |
|
Jason Volk
|
a66d5082d7
|
ircd::ctx: Prevent spawning initial pool contexts when no ios available.
|
2018-12-28 13:24:33 -08:00 |
|
Jason Volk
|
c97fcb3b2a
|
ircd::ios: Add function to check if an ios available.
|
2018-12-28 13:05:03 -08:00 |
|
Jason Volk
|
4a47b39298
|
ircd::ctx: Create and use an options structure for ctx::pool.
|
2018-12-28 12:57:32 -08:00 |
|
Jason Volk
|
fe0f548496
|
ircd::db: Update / cleanup / comment various opts related.
|
2018-12-28 10:55:57 -08:00 |
|
Jason Volk
|
c82382ea2c
|
ircd::db: Use a zero soft-limit to yield all requests when saturated; prefetch condition.
|
2018-12-27 17:20:43 -08:00 |
|
Jason Volk
|
5ae69dde95
|
ircd::ctx: Check for termination to condition pool work loop.
|
2018-12-27 17:20:43 -08:00 |
|
Jason Volk
|
364302c212
|
ircd::ctx: Add soft and hard limit logic for submitting to pool.
|
2018-12-27 17:20:42 -08:00 |
|
Jason Volk
|
dad9ec8e44
|
ircd::fs: Increase default io_submit threshold.
|
2018-12-27 15:05:21 -08:00 |
|
Jason Volk
|
62bf807ad2
|
ircd::db: Wire up more IOPriority and write_opts related.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
7f41ca2f48
|
ircd::fs: Add nodelay option to write_opts; relax the flush on write by default.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
29fd84010f
|
ircd::db: RocksDB does its own read loop for sequential_file.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
beb7a0c180
|
ircd::db: Bypass call for block_size when not direct io.
|
2018-12-27 14:58:04 -08:00 |
|
Jason Volk
|
0c5ebde1fc
|
ircd::fs::aio: Add blocking point to manage io_submit's in flight; various reorg.
|
2018-12-27 14:58:03 -08:00 |
|
Jason Volk
|
69ae8308e5
|
ircd::fs::aio: Various improvements; fix cancel w/ queue; class member queues rather than tls.
|
2018-12-27 14:58:03 -08:00 |
|
Jason Volk
|
e58a975750
|
ircd::fs: Use a nice-style value for request priority; default to zero.
|
2018-12-27 14:58:03 -08:00 |
|
Jason Volk
|
2f5d175957
|
ircd::db: Add cached membership test to row interface.
|
2018-12-26 19:45:04 -08:00 |
|
Jason Volk
|
13621feca0
|
ircd::db: Use better cache membership test.
|
2018-12-26 19:44:26 -08:00 |
|
Jason Volk
|
38920719de
|
ircd:Ⓜ️ Add suite to check if event is cached.
|
2018-12-26 19:01:13 -08:00 |
|
Jason Volk
|
5fb887096b
|
ircd::fs: Prevent ODR warnings from these weak defs.
|
2018-12-26 15:49:08 -08:00 |
|
Jason Volk
|
444000faf1
|
ircd::fs: Add a nodelay option on reads.
|
2018-12-26 15:42:23 -08:00 |
|
Jason Volk
|
7a9d70f15d
|
ircd::aio: Add a reference to the fs opts structure for the request.
|
2018-12-26 15:40:22 -08:00 |
|
Jason Volk
|
528dff78ff
|
ircd::aio: Flush the io_submit queue on all non-reading ops.
|
2018-12-26 15:16:31 -08:00 |
|
Jason Volk
|
9f70ce1b28
|
ircd::ctx: Add pool::min() convenience.
|
2018-12-24 16:20:03 -08:00 |
|
Jason Volk
|
c1c11b4aed
|
ircd::db: Enrich seek(row) opts; add proper error handling and propagation.
|
2018-12-24 14:33:35 -08:00 |
|
Jason Volk
|
b035bb9824
|
ircd::db: No need to copy gopts in db::cell related.
|
2018-12-24 14:32:33 -08:00 |
|
Jason Volk
|
2876398c04
|
ircd::db: Simplify/Consolidate error hierarchy.
|
2018-12-24 13:32:22 -08:00 |
|
Jason Volk
|
aa166d0c5d
|
ircd::json::stack: Add noexcept for non-throwers called during stack unwinds.
|
2018-12-24 12:06:57 -08:00 |
|
Jason Volk
|
387e8b8eed
|
ircd::ctx: Improve pool loop; improve log msg; add interruption point.
|
2018-12-24 12:06:05 -08:00 |
|
Jason Volk
|
956a8e239c
|
Use more aggressive tls-model options.
|
2018-12-23 17:36:35 -08:00 |
|
Jason Volk
|
70ebf4b066
|
ircd::ctx: Use thread_local for these.
|
2018-12-23 17:26:41 -08:00 |
|
Jason Volk
|
b5168eb063
|
ircd::db: Prevent copying log message if unnecessary.
|
2018-12-23 14:33:22 -08:00 |
|
Jason Volk
|
599831f680
|
ircd::ctx: Condition the prof checks on NDEBUG.
|
2018-12-22 21:27:19 -08:00 |
|
Jason Volk
|
894a947e24
|
ircd::ctx: Add specific define to activate prof::mark() for build.
|
2018-12-22 21:17:12 -08:00 |
|
Jason Volk
|
29e7fa3515
|
ircd::ctx: Use closure for continuation.
|
2018-12-22 21:03:14 -08:00 |
|
Jason Volk
|
37ba013413
|
ircd::ctx: Simplify continuation; eliminate to_asio derived type.
|
2018-12-22 20:11:00 -08:00 |
|
Jason Volk
|
8e8602e08a
|
ircd::log: Skip some operations for log levels not compiled in.
|
2018-12-22 17:24:49 -08:00 |
|
Jason Volk
|
c2b344b74e
|
ircd: Allow exceptions to propagate from various interruptors.
|
2018-12-22 17:24:48 -08:00 |
|
Jason Volk
|
365cf865d0
|
ircd::ctx: Various improvements/reorg of continuation/to_asio.
|
2018-12-22 17:24:48 -08:00 |
|
Jason Volk
|
308b27cda1
|
ircd::aio: Simplify the submit(request) procedure.
|
2018-12-22 17:24:48 -08:00 |
|
Jason Volk
|
d5ffc6b0de
|
ircd::ctx: Improve prof related; add full ticker of counters.
|
2018-12-22 15:17:18 -08:00 |
|
Jason Volk
|
39d4f2fb83
|
ircd::ctx: Expose the profile state struct in the prof:: interface.
|
2018-12-22 13:47:13 -08:00 |
|
Jason Volk
|
a590ad1a03
|
ircd::ctx: Another attempt at using continuation dtor as an interruption point.
|
2018-12-22 13:36:48 -08:00 |
|
Jason Volk
|
0ed9382db0
|
ircd::ctx: Reorder the interruption point conditional branches.
|
2018-12-22 13:19:02 -08:00 |
|
Jason Volk
|
b5f4aeb67d
|
ircd::ctx: Assert ctx dtor isn't called while running.
|
2018-12-22 13:04:02 -08:00 |
|
Jason Volk
|
48b50acab2
|
ircd::ctx: Cleanup and recondition stack-protect related.
|
2018-12-22 13:04:02 -08:00 |
|
Jason Volk
|
97880281f8
|
ircd::aio: No need to post more than one chaser at a time.
|
2018-12-22 12:13:31 -08:00 |
|
Jason Volk
|
08c940d0df
|
ircd::ctx: Use better interruption check; remove func condition.
|
2018-12-21 18:22:44 -08:00 |
|