Jason Volk
|
180c83634f
|
ircd:Ⓜ️:dbs: Reorg write_opts; throw panic on nul event_idx; various.
|
2019-05-07 16:10:24 -07:00 |
|
Jason Volk
|
9d5f0049cf
|
ircd:Ⓜ️:dbs: Reorg the indexer conditions.
|
2019-05-07 15:14:10 -07:00 |
|
Jason Volk
|
4bfa7ae5e6
|
ircd:Ⓜ️:dbs: Improve static bitset initializer.
|
2019-05-07 13:40:23 -07:00 |
|
Jason Volk
|
88bfc74e51
|
ircd:Ⓜ️:dbs: Assertions and conditions to avoid writing any self-references.
|
2019-05-07 12:44:25 -07:00 |
|
Jason Volk
|
22077b58b9
|
ircd:Ⓜ️:room::state: Minor improve rebuild_present() util.
|
2019-05-06 20:48:00 -07:00 |
|
Jason Volk
|
8e90f8de5d
|
ircd:Ⓜ️:room::state: Add convenience to check if state event.
|
2019-05-06 20:47:12 -07:00 |
|
Jason Volk
|
6c43a47d87
|
ircd:Ⓜ️:room::messages: Add event_idx convenience conversion.
|
2019-05-06 14:36:49 -07:00 |
|
Jason Volk
|
afa475eb18
|
ircd::ios: Add front for asio notify_fork().
|
2019-05-06 13:48:49 -07:00 |
|
Jason Volk
|
530ae5fd0c
|
ircd: Minor cleanup.
|
2019-05-06 13:18:51 -07:00 |
|
Jason Volk
|
577bcf0c1a
|
ircd:Ⓜ️:rooms: Partial removal of unnamespaced module definitions.
|
2019-05-06 11:49:14 -07:00 |
|
Jason Volk
|
250b600ead
|
ircd::resource: Reduce m:: type dependency in request structure.
|
2019-05-06 11:16:44 -07:00 |
|
Jason Volk
|
6b0187ea62
|
ircd:Ⓜ️:request: Add validations for origin/destination strings here.
|
2019-05-06 11:08:33 -07:00 |
|
Jason Volk
|
d38d4b22f6
|
ircd: Remove manual include and use the pch for parse.cc
|
2019-05-06 10:44:02 -07:00 |
|
Jason Volk
|
1bf17da6d1
|
ircd::stats: Additional arithmetic/access operators on item.
|
2019-05-05 19:12:54 -07:00 |
|
Jason Volk
|
688340a8a2
|
ircd:Ⓜ️ Recombine modules/m_room with ircd/m_room for now.
|
2019-05-05 18:10:51 -07:00 |
|
Jason Volk
|
134bcc1bfb
|
ircd::fs: Add write_opts for RWF_WRITE_LIFE_* support.
|
2019-05-05 17:48:02 -07:00 |
|
Jason Volk
|
7f18bb17e2
|
ircd::fs: Precondition definition rather than as weak symbol.
|
2019-05-05 17:47:46 -07:00 |
|
Jason Volk
|
861df761fe
|
ircd::fs: Add runtime support indicators for write_life related features.
|
2019-05-05 17:46:50 -07:00 |
|
Jason Volk
|
82200a9abd
|
ircd::fs: Add write_life hint fcntl front.
|
2019-05-03 19:53:05 -07:00 |
|
Jason Volk
|
abae2c02f5
|
ircd::net: Fix for 864f50da (kicks can down the road).
|
2019-05-03 18:13:01 -07:00 |
|
Jason Volk
|
4aef8cfdf8
|
ircd::net::socket: Deinline the read/write member template suites.
|
2019-05-03 16:29:56 -07:00 |
|
Jason Volk
|
1d0a7d700d
|
ircd:Ⓜ️ Merge m_event module entirely into ircd/m_event for now.
|
2019-05-03 15:58:39 -07:00 |
|
Jason Volk
|
542f8f421a
|
ircd::mods: Add preconditions around dlsym hook inclusion.
|
2019-05-03 15:58:39 -07:00 |
|
Jason Volk
|
84ed175ffe
|
modules/m_event: Transit the m::pretty(event) suite to module.
|
2019-05-03 15:58:39 -07:00 |
|
Jason Volk
|
c6585f5114
|
Global deepbind module strategy.
|
2019-05-03 15:58:20 -07:00 |
|
Jason Volk
|
c9ab8c345c
|
ircd::fs: Explicit fcntl.h inclusion in fs.cc.
|
2019-05-03 06:09:58 -07:00 |
|
Jason Volk
|
fbb88b87c1
|
ircd::db: Advise sequential access for sequential file type.
|
2019-05-03 06:08:15 -07:00 |
|
Jason Volk
|
c2984e9473
|
ircd::db: Replace fadvises with fs::evict() wrapping.
|
2019-05-03 05:53:31 -07:00 |
|
Jason Volk
|
d9812f3e86
|
ircd::fs: Add an evict() front to cache interface; add preconditions.
|
2019-05-03 05:52:12 -07:00 |
|
Jason Volk
|
e75c9fe54c
|
ircd::fs: Split and improve fincore().
|
2019-05-03 05:48:50 -07:00 |
|
Jason Volk
|
76f8aa6673
|
ircd::openssl: Builtin speculation safe value.
|
2019-05-03 04:06:52 -07:00 |
|
Jason Volk
|
d544c37d3d
|
ircd::fs: Abstract the posix_fadvise wrapping.
|
2019-05-03 03:33:45 -07:00 |
|
Jason Volk
|
ddc17f424d
|
ircd::ctx: Use defer rather than post here.
|
2019-05-02 21:43:27 -07:00 |
|
Jason Volk
|
85aee354c1
|
ircd::db: Handle read-only shutdown case.
|
2019-05-02 21:43:27 -07:00 |
|
Jason Volk
|
a464523c00
|
ircd::mapi: Cleanup macros for potential deepbind strategy.
|
2019-05-02 21:42:34 -07:00 |
|
Jason Volk
|
154eee0ca6
|
ircd: Make unresolved symbols weak symbols; lazy binding in modules.
|
2019-05-02 16:45:27 -07:00 |
|
Jason Volk
|
68f82d25a3
|
Remove no-op linker flag in these contexts.
|
2019-05-02 16:45:27 -07:00 |
|
Jason Volk
|
f9e858ae9e
|
Add these gold linker section organization options.
|
2019-05-02 16:45:27 -07:00 |
|
Jason Volk
|
c4628525ae
|
ircd:Ⓜ️ Add debuglog msg for hook registration.
|
2019-05-02 15:35:26 -07:00 |
|
Jason Volk
|
ab61b38ad0
|
ircd::server:🔗 Add noexcept on handlers.
|
2019-05-02 15:35:26 -07:00 |
|
Jason Volk
|
1352ddf56c
|
ircd::mods: Fix error format string specifier case.
|
2019-05-02 15:35:26 -07:00 |
|
Jason Volk
|
643bb62c6e
|
ircd::fmt: Add hex uppercase specifier.
|
2019-05-02 15:35:26 -07:00 |
|
Jason Volk
|
069d3b6f74
|
ircd::mods: Improve various format strings re log msgs and errors.
|
2019-05-01 15:40:17 -07:00 |
|
Jason Volk
|
ecdb028365
|
ircd: Reorder units in Makefile.
|
2019-05-01 15:40:17 -07:00 |
|
Jason Volk
|
77a92a1874
|
modules/s_keys: Reorg free functions into namespace; various cleanup.
|
2019-05-01 15:40:17 -07:00 |
|
Jason Volk
|
864a5b43dd
|
ircd::resource: Add stack canary on response frame.
|
2019-04-30 21:44:18 -07:00 |
|
Jason Volk
|
cd45ef8aeb
|
ircd::json: Fix comment.
|
2019-04-30 21:40:00 -07:00 |
|
Jason Volk
|
8ecea80a1b
|
ircd: Merge conditional compilation units into the ordered sources list.
|
2019-04-30 16:46:34 -07:00 |
|
Jason Volk
|
8701e1541e
|
ircd:Ⓜ️ Move all room.h et al definitions from ircd/m.cc to ircd/m_room.cc
|
2019-04-30 15:24:22 -07:00 |
|
Jason Volk
|
a931a7f631
|
ircd::fs::aio: Add conditional define for io_submit() debug timers.
|
2019-04-29 17:48:06 -07:00 |
|
Jason Volk
|
04020da7e4
|
ircd::fs::aio: Add debug mechanism to warn read will block io_submit(2).
|
2019-04-29 17:38:19 -07:00 |
|
Jason Volk
|
64770c0214
|
ircd:Ⓜ️:event::prev: Add suite to check if prev reference exists; minor cleanup.
|
2019-04-29 11:06:56 -07:00 |
|
Jason Volk
|
17a9763da6
|
ircd:Ⓜ️:event::prev: Use size_t indexing rather than uint.
|
2019-04-29 10:57:43 -07:00 |
|
Jason Volk
|
cf0196d374
|
ircd:Ⓜ️:error: Unquote the returned strings.
|
2019-04-27 18:32:45 -07:00 |
|
Jason Volk
|
425385265a
|
ircd:Ⓜ️:room::origins: Minor reorg for_each.
|
2019-04-27 18:32:45 -07:00 |
|
Jason Volk
|
0cdbe472d1
|
ircd::util: Add pretty() convenience to timer.
|
2019-04-27 15:51:36 -07:00 |
|
Jason Volk
|
c0f7daaff4
|
ircd::fs::aio: Fix warning indicator placement.
|
2019-04-26 06:21:30 -07:00 |
|
Jason Volk
|
05306b2ce7
|
ircd:Ⓜ️ Minor formatting fix; remove stale comment.
|
2019-04-26 03:23:09 -07:00 |
|
Jason Volk
|
e5563586cf
|
ircd:Ⓜ️ Additional room sounding tools; improve console cmd.
|
2019-04-26 01:47:13 -07:00 |
|
Jason Volk
|
486ca09153
|
ircd:Ⓜ️ Replace is_complete w/ sounding(); console cmd.
|
2019-04-26 01:35:39 -07:00 |
|
Jason Volk
|
e3e9322718
|
ircd:Ⓜ️ Add a room depth gap sounding suite w/ console cmd.
|
2019-04-26 01:35:16 -07:00 |
|
Jason Volk
|
f26fc85b0a
|
ircd:Ⓜ️:error: Add convenience getters for properties.
|
2019-04-25 23:35:46 -07:00 |
|
Jason Volk
|
cfe4807b77
|
ircd::prof: Add a higher resolution syscall timer.
|
2019-04-25 21:10:45 -07:00 |
|
Jason Volk
|
30b59f4736
|
ircd::prof: Reorg; deinline various; add comments.
|
2019-04-25 21:10:45 -07:00 |
|
Jason Volk
|
6bd26ecbb3
|
ircd::server: Use zero ipv4 addr for null string here.
|
2019-04-25 03:16:24 -07:00 |
|
Jason Volk
|
2f2f3d617e
|
ircd::client: Increase default timeouts.
|
2019-04-25 03:16:12 -07:00 |
|
Jason Volk
|
57d2cc9350
|
ircd::json: Fix and optimize for loss of type on member property names.
|
2019-04-24 21:03:41 -07:00 |
|
Jason Volk
|
a3a4741708
|
ircd::json: Simplify value move ctor.
|
2019-04-24 19:52:44 -07:00 |
|
Jason Volk
|
c45353efec
|
ircd::json: Preserve string quotes for typed comparisons here.
|
2019-04-24 19:50:01 -07:00 |
|
Jason Volk
|
5bb98356e0
|
ircd::server: Relax assertion.
|
2019-04-24 18:20:47 -07:00 |
|
Jason Volk
|
541d95f47e
|
ircd:Ⓜ️:v1: Add ids_only to event_auth opts.
|
2019-04-24 17:43:03 -07:00 |
|
Jason Volk
|
c2cd18ea56
|
ircd::server: Minor readability cleanup.
|
2019-04-24 16:29:29 -07:00 |
|
Jason Volk
|
6500b8c3fc
|
ircd::net: Disable socket ready debuglog msg by define.
|
2019-04-24 16:28:42 -07:00 |
|
Jason Volk
|
eaec5cb65e
|
ircd::ctx: Make this a critical error.
|
2019-04-24 16:28:42 -07:00 |
|
Jason Volk
|
d442327101
|
ircd::server: Minor log cleanup.
|
2019-04-24 16:16:57 -07:00 |
|
Jason Volk
|
a831fd2957
|
ircd:Ⓜ️:v1: Find ideal user_id's to supply to make_join for a room_id.
|
2019-04-24 15:24:39 -07:00 |
|
Jason Volk
|
604c103bbc
|
ircd::db::database::cache: Fix the shard bits default.
|
2019-04-24 02:19:14 -07:00 |
|
Jason Volk
|
87210d4856
|
ircd: Wait on the runlevel changed dock in ircd::main().
|
2019-04-24 02:19:14 -07:00 |
|
Jason Volk
|
a6a8fa7d1b
|
ircd: Only post runlevel callback when on ctx.
|
2019-04-24 00:46:06 -07:00 |
|
Jason Volk
|
c7dadc513b
|
ircd::server: Minor cleanup log message formats.
|
2019-04-23 20:06:52 -07:00 |
|
Jason Volk
|
8b89b9caaf
|
ircd: Simplify log msgs.
|
2019-04-23 18:15:47 -07:00 |
|
Jason Volk
|
d5a0f6b5c7
|
ircd::openssl: Fix missing envelope assignment.
|
2019-04-23 15:26:44 -07:00 |
|
Jason Volk
|
28f677eef2
|
ircd::info: Remove ununused; minor reorg.
|
2019-04-23 01:30:36 -07:00 |
|
Jason Volk
|
124f62d159
|
Revert "ircd::db: Lock writes after memtable sealed until flush to prevent rocksdb pthread use."
This reverts commit c370cdc123 .
|
2019-04-22 19:08:01 -07:00 |
|
Jason Volk
|
306752b2a5
|
ircd::fs::aio: Remove erroneous #define.
|
2019-04-22 16:59:03 -07:00 |
|
Jason Volk
|
c370cdc123
|
ircd::db: Lock writes after memtable sealed until flush to prevent rocksdb pthread use.
|
2019-04-22 16:32:40 -07:00 |
|
Jason Volk
|
a61d04a9c2
|
ircd::fs: Allow ircd.fs.aio.max_submit=0 to indicate max possible.
|
2019-04-22 15:40:34 -07:00 |
|
Jason Volk
|
c6d056421d
|
ircd::db: Log warning when crc32c acceleration is not available.
|
2019-04-22 15:24:07 -07:00 |
|
Jason Volk
|
4d491340b6
|
modules/client/rooms/leave: Add missing m::leave definition.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
fd9097cfd4
|
modules/m_room: Move m::send impl back to client/rooms.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
f3845e11af
|
modules/client/rooms/join: Export namespaced definitions for join.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
f6314a4201
|
modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize().
|
2019-04-22 12:45:45 -07:00 |
|
Jason Volk
|
e3b1be2910
|
ircd:Ⓜ️:vm: Refactor various fetch related options.
|
2019-04-22 12:27:43 -07:00 |
|
Jason Volk
|
4c44738dc3
|
ircd::server: Increase tls buffer size.
|
2019-04-22 12:13:34 -07:00 |
|
Jason Volk
|
e0b4dc4450
|
ircd::server: Use a uniform log prefix for link related.
|
2019-04-22 12:13:27 -07:00 |
|
Jason Volk
|
d6374466f3
|
ircd::fs::aio: Test for blocking flag rather than option if available.
|
2019-04-22 09:45:14 -07:00 |
|
Jason Volk
|
c04708aca4
|
ircd::fs::aio: Minor tweak call pattern for wait(request).
|
2019-04-22 09:29:09 -07:00 |
|
Jason Volk
|
acd774c3ee
|
ircd::fs: Make ~fd() noexcept.
|
2019-04-22 09:16:11 -07:00 |
|
Jason Volk
|
7d55468511
|
ircd::fs: Add fd::opts getter from open fd.
|
2019-04-22 09:14:46 -07:00 |
|
Jason Volk
|
d08bcc2f32
|
ircd::fs: Add fd::release() memfn.
|
2019-04-22 08:55:42 -07:00 |
|
Jason Volk
|
f145c6774a
|
ircd::fs: Rename function.
|
2019-04-21 04:15:10 -07:00 |
|
Jason Volk
|
1137f8a29b
|
ircd::fs::aio: Fix waiting on cancels; various fixes.
|
2019-04-21 04:15:10 -07:00 |
|
Jason Volk
|
003f9f771a
|
ircd::fs: Break from read()/write() loops for non-blocking operations without exception.
|
2019-04-20 22:28:15 -07:00 |
|
Jason Volk
|
bbc5d9ee5b
|
ircd::fs::aio: Improve error assumptions / reporting around io_submit().
|
2019-04-20 22:28:15 -07:00 |
|
Jason Volk
|
dae1a9be4a
|
ircd::db::env: Assert rocksdb does not call prefetch with direct-io.
|
2019-04-20 19:29:07 -07:00 |
|
Jason Volk
|
900fab1e79
|
ircd::fs: Propagate EAGAIN without exception for !opts.blocking operations.
|
2019-04-20 19:29:07 -07:00 |
|
Jason Volk
|
fbcd38fa17
|
ircd::fs: Add a preliminary fincore(1)-like tool.
|
2019-04-20 19:24:18 -07:00 |
|
Jason Volk
|
c4ace8cd8e
|
ircd::client: Remove deprecated SSL_R_SHORT_READ for OpenSSL 1.1.
|
2019-04-20 19:24:18 -07:00 |
|
Jason Volk
|
2463bfb4ed
|
ircd::openssl: Address remaining 1.0 vs. 1.1 compat.
|
2019-04-20 19:24:18 -07:00 |
|
Jason Volk
|
744438ec49
|
ircd: Precompile the spirit.h header.
|
2019-04-20 19:24:18 -07:00 |
|
Jason Volk
|
db539c6268
|
ircd::db: Add write-ahead-log recovery callback surface.
|
2019-04-20 14:30:42 -07:00 |
|
Jason Volk
|
8dd201bfdb
|
ircd::openssl: Fix compatibility in assert statement.
|
2019-04-20 13:26:38 -07:00 |
|
Jason Volk
|
4db52804cb
|
ircd::ctx: Use iteration closure rather than exposing ctx::list.
|
2019-04-19 20:50:22 -07:00 |
|
Jason Volk
|
9b034a0df4
|
ircd::openssl: Partial OpenSSL 1.1.x compatibility.
|
2019-04-19 18:17:28 -07:00 |
|
Jason Volk
|
55fc2c6f76
|
ircd::prof: Add callgrind hypercall suite.
|
2019-04-19 05:53:54 -07:00 |
|
Jason Volk
|
def7ee2753
|
ircd::allocator: Renamespace the vg utils.
|
2019-04-19 05:26:51 -07:00 |
|
Jason Volk
|
810888b53c
|
ircd::db: Allow concurrent memtable write.
|
2019-04-19 00:17:00 -07:00 |
|
Jason Volk
|
f27b56fac3
|
ircd::db: Show commit debuglog messages.
|
2019-04-19 00:15:14 -07:00 |
|
Jason Volk
|
c7a872c67a
|
ircd:Ⓜ️🪝 Add accounting for hook calls; site/hook current call count.
|
2019-04-18 21:52:33 -07:00 |
|
Jason Volk
|
0176dba9a8
|
ircd:Ⓜ️:fetch: Consolidate interface; remove unused; reorg.
|
2019-04-18 19:12:37 -07:00 |
|
Jason Volk
|
5bdbc3f0bc
|
ircd::info: Chomp newline from ctime() calls.
|
2019-04-18 18:58:07 -07:00 |
|
Jason Volk
|
4c95765e07
|
ircd::fs::aio: Add assertions for null value aio_data.
|
2019-04-18 18:33:58 -07:00 |
|
Jason Volk
|
9907f7f477
|
ircd::stats: Add value; add operator/access suite.
|
2019-04-18 17:56:09 -07:00 |
|
Jason Volk
|
c427223340
|
ircd::mapi: Force the header inline so the module contains the constants.
|
2019-04-18 17:36:33 -07:00 |
|
Jason Volk
|
1312784518
|
ircd::mapi: Add a serial number to deal with removed modules which are still installed.
|
2019-04-18 17:36:33 -07:00 |
|
Jason Volk
|
61e136f577
|
ircd::mods: Actually check the MAPI header version on load.
|
2019-04-18 16:53:47 -07:00 |
|
Jason Volk
|
4668545688
|
modules: Move federation/federation to s_feds.
|
2019-04-18 16:38:53 -07:00 |
|
Jason Volk
|
0edd47d383
|
ircd:Ⓜ️:feds: Add vector of operations to API.
|
2019-04-18 15:26:03 -07:00 |
|
Jason Volk
|
6eeb8da71d
|
ircd:Ⓜ️ Try for outer membership property first before parsing content.
|
2019-04-18 14:35:46 -07:00 |
|
Jason Volk
|
4d6eb23352
|
ircd: Use unwind::defer to enter run::level::HALT.
|
2019-04-18 05:46:20 -07:00 |
|
Jason Volk
|
c6a59ab6b1
|
ircd::util: Add an unwind::defer device.
|
2019-04-18 05:46:07 -07:00 |
|
Jason Volk
|
5232893c6a
|
ircd:Ⓜ️:fetch: Checkpoint frontfill / head selection related.
|
2019-04-18 05:17:49 -07:00 |
|
Jason Volk
|
bc922724cd
|
ircd:Ⓜ️:feds: Refactor interface into opcode ABI.
|
2019-04-18 05:16:21 -07:00 |
|
Jason Volk
|
59982907d3
|
ircd:Ⓜ️:feds: Add feds::auth; update console cmd.
|
2019-04-18 04:13:21 -07:00 |
|
Jason Volk
|
871fb748eb
|
ircd:Ⓜ️:fetch: Pass boolean values down the stack for start/prefetch.
|
2019-04-18 01:21:22 -07:00 |
|
Jason Volk
|
477090ff52
|
ircd::server: Minor assertions.
|
2019-04-18 01:19:02 -07:00 |
|
Jason Volk
|
91bed23951
|
ircd::allocator: Meet posix spec requirements for posix_memalign().
|
2019-04-18 00:59:56 -07:00 |
|
Jason Volk
|
51b3e63959
|
ircd::allocator: Include aligned allocs in profile.
|
2019-04-18 00:59:56 -07:00 |
|
Jason Volk
|
128b770429
|
ircd::buffer: Move aligned_alloc to ircd::allocator; deinline.
|
2019-04-18 00:21:08 -07:00 |
|
Jason Volk
|
0fa4bdcff7
|
ircd:Ⓜ️:rooms: Consolidate / refine the rooms iteration interface.
|
2019-04-17 20:47:50 -07:00 |
|
Jason Volk
|
25680a8ed2
|
ircd: Move smalldate() to date.h from logger unit.
|
2019-04-17 19:27:26 -07:00 |
|
Jason Volk
|
4d3727a0a1
|
ircd::fs: Condition various runtime support on compilation too.
|
2019-04-17 19:19:30 -07:00 |
|
Jason Volk
|
1eaff2e91e
|
ircd::fs: Runtime binding for pwritev(2)/pwritev2(2) based on kernel version.
|
2019-04-17 19:19:30 -07:00 |
|
Jason Volk
|
6fbf882e16
|
ircd::fs: Use GNU indirect function binding to efficiently support RWF_APPEND at runtime.
|
2019-04-17 19:09:16 -07:00 |
|
Jason Volk
|
62441e1c68
|
ircd: Switch to lazy-loading libircd.so symbols.
|
2019-04-17 17:29:08 -07:00 |
|
Jason Volk
|
08b53b1746
|
ircd::vg: Start a valgrind emulator hypercall suite.
|
2019-04-17 00:59:52 -07:00 |
|
Jason Volk
|
83193d0ff9
|
ircd::server: Add an op_open; handle control return to link::open().
|
2019-04-16 22:37:44 -07:00 |
|
Jason Volk
|
0f404a0bda
|
ircd::net: Addition assertions; use constrefs in handler cbs.
|
2019-04-16 21:39:43 -07:00 |
|
Jason Volk
|
945ce126c5
|
ircd::net: Remove explicit string conversion.
|
2019-04-16 21:11:39 -07:00 |
|
Jason Volk
|
9a44188c00
|
ircd::net Increase buffer sizes.
|
2019-04-16 21:11:27 -07:00 |
|