0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00
Commit graph

3078 commits

Author SHA1 Message Date
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