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

7893 commits

Author SHA1 Message Date
Jason Volk
b50bb8e49b ircd::ios: Add convenience function to check if this thread is same as static. 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
c9c280c864 ircd::ctx: Simplify queue interface; remove access to dock. 2018-12-28 12:42:08 -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
73459e75ff ircd::ctx: Update assumptions for yielding during pool submit. 2018-12-27 16:30:04 -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
d3d06b90f8 modules/console: Update aio info cmd. 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
4c5891e354 ircd::ctx: Block the caller after submit when parallel saturated. 2018-12-26 17:35:49 -08:00
Jason Volk
d80a39097c ircd: Tweak vector_view construction semantics. 2018-12-26 17:19:03 -08:00
Jason Volk
b0d5e5d4c8 ircd::ctx: Improve ctx::parallel template. 2018-12-26 17:19:03 -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
3d79c94bb2 ircd::ctx: Add ctx::parallel device. 2018-12-24 18:36:56 -08:00
Jason Volk
9f70ce1b28 ircd::ctx: Add pool::min() convenience. 2018-12-24 16:20:03 -08:00
Jason Volk
23d8396652 construct: Suppress log output during interval, not during cmd. 2018-12-24 16:15:23 -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
171f5ff623 ircd::fs: Use string_view for error fmt string args. 2018-12-24 13:34:59 -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
f56488dda2 construct: Add a console watch cmd. 2018-12-23 18:52:29 -08:00
Jason Volk
3fd61ba361 modules/client/sync: Prefetching defaults to false for now. 2018-12-23 17:41:47 -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
fff4379b79 tools: Build RocksDB with tls-model=initial-exec. 2018-12-23 16:10:17 -08:00
Jason Volk
ddbd25c653 configure: Emut additional GNU specific debugging sections. 2018-12-23 16:10:17 -08:00
Jason Volk
b8fd399bf4 ircd::ctx: Remove this export down to ircd::. 2018-12-23 15:23:53 -08:00
Jason Volk
639dfa40d5 tools: Improve flags exports in buildrocks. 2018-12-23 15:23:53 -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