0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 04:08:54 +02:00
Commit graph

4851 commits

Author SHA1 Message Date
Jason Volk
90bd13a0fe ircd::db::database::env: Use advise fd open option; remove direct call. 2020-05-09 18:48:21 -07:00
Jason Volk
8c15247efc ircd::fs: Add options to fadvise() on fd open(). 2020-05-09 18:42:05 -07:00
Jason Volk
88fe138d12 ircd::prof: Add symbol definition for psi::supported=false on non-linux platforms. 2020-05-09 17:28:34 -07:00
Jason Volk
32192bf439 ircd::prof::psi: Additional state relative to last refresh. 2020-05-09 17:28:34 -07:00
Jason Volk
19f4917d9f ircd::prof::psi: Add threshold triggering mechanism to interface. 2020-05-09 17:28:34 -07:00
Jason Volk
05e384d315 ircd::prof::psi: Add interface to poll for PSI linux>=5.2. (#144) 2020-05-09 17:28:34 -07:00
Jason Volk
a0476b8a9c ircd::fs: Add a select()'ish multi-fd yielding device. 2020-05-09 17:28:34 -07:00
Jason Volk
1720aea7e2 ircd::fs: Add derror log msg w/ path on fd open system_error. 2020-05-09 17:28:34 -07:00
Jason Volk
1c11e6b2c1 ircd::db: Minor cleanup. 2020-05-08 14:12:19 -07:00
Jason Volk
47800ba094 ircd::allocator: Add interface to fetch some resource limits. 2020-05-08 00:44:13 -07:00
Jason Volk
516d7e8ad7 ircd::db::database::allocator: Support aligned allocations.
ircd::db::database::allocator: Implement callback for true allocated size hint.
2020-05-08 00:05:46 -07:00
Jason Volk
f77f36904e ircd::db::database::cache: Fix construction of the proxy w/ custom allocator. 2020-05-07 21:06:08 -07:00
Jason Volk
214c2e1b4f ircd::db::database::cache: Remove shared_from_this. 2020-05-07 19:43:37 -07:00
Jason Volk
15cd10f843 ircd::db::database: Use scoped tag; fix allocator passed to cache; LRUCacheOptions; final override. 2020-05-07 17:58:38 -07:00
Jason Volk
2c7f81d1e1 ircd:;db: Disambiguate KeyMaxExist() overload for rocksdb 6.10.0. 2020-05-07 17:05:12 -07:00
Jason Volk
efdd49ed3a ircd::db::fixes: Fix missing condition for older interposed definition. 2020-05-07 17:01:50 -07:00
Jason Volk
2c10024900 rocksdb::port: Zero-initialize to the real width. 2020-05-07 04:08:35 -07:00
Jason Volk
ddc404d217 ircd: Interpose rocksdb::DeleteDBFile() good thru RocksDB v6.8.1. 2020-05-07 04:08:35 -07:00
Jason Volk
0e84f4cb86 ircd: Use granular __has_includes() for db_fixes; support latter rocksdb reorg. 2020-05-07 04:08:34 -07:00
Jason Volk
fb7a18e0dd ircd::ctx::posix: Add macro to build mocks; distribute near definitions; minor reorg. 2020-05-07 00:28:27 -07:00
Jason Volk
e7ff7e0568 ircd::db::env: Implement rocksdb MultiRead() environment backend. 2020-05-07 00:28:27 -07:00
Jason Volk
aaa5e785aa ircd::fs: Implement synchronous parallel-read interface. 2020-05-07 00:28:27 -07:00
Jason Volk
c683365341 ircd::fs::aio: No default zero initialization for aio::request used in array. 2020-05-06 19:13:14 -07:00
Jason Volk
fd1db1b208 ircd::fs::aio: Pointer to dock rather than instance per request; split request::operator(). 2020-05-06 15:46:54 -07:00
Jason Volk
6d77e99a03 ircd::fs::aio: Minor reorder request arguments; missing constness; consistent return values. 2020-05-06 14:04:14 -07:00
Jason Volk
fd127472b9 ircd::db: Use some symbols in the library for ABI string info for now. 2020-05-05 22:52:00 -07:00
Jason Volk
86bacdfcb5 ircd::db: RocksDB >= 6.0.0 CompactionFilter::IgnoreSnapshots() must always be true. 2020-05-05 22:24:25 -07:00
Jason Volk
598bbc45cc ircd::ctx::posix: Reduce decisionals to static util; minor cleanup. 2020-05-05 20:57:59 -07:00
Jason Volk
72ae3073d3 ircd::ctx::posix: Wrap pthread_timedjoin_np(). 2020-05-05 20:57:59 -07:00
Jason Volk
6a9dbf310a ircd::ctx::posix: Weak alias fallbacks for when --wrap is not effective. 2020-05-05 20:57:59 -07:00
Jason Volk
883a230830 ircd::ctx::posix: Wrap pthread_setname_np(). 2020-05-05 19:58:37 -07:00
Jason Volk
dfb91d4c20 ircd::ctx::posix: Relax assertion. 2020-05-05 19:58:37 -07:00
Jason Volk
b448156da4 ircd::db: Interface to get the charge value of cache entry. 2020-05-05 19:58:37 -07:00
Jason Volk
1eaf52d2eb ircd::db: Reflect ColumnFamilyDropped (6.3.6). 2020-05-05 19:58:37 -07:00
Jason Volk
572396f5f4 ircd::db: Add Env::Priority:USER (6.1.1). 2020-05-05 19:58:37 -07:00
Jason Volk
5fbcc5b982 ircd::db: Reflect kPeriodicCompaction (6.6.2). 2020-05-05 19:58:37 -07:00
Jason Volk
3ebc8f8a33 ircd::db: Reflect kErrorRecovery (5.17.2). 2020-05-05 19:58:37 -07:00
Jason Volk
36a0394184 ircd::db::database: Add custom allocator stub; apply per-cache allocators. 2020-05-05 19:58:37 -07:00
Jason Volk
9f2bdd3ca2 Upgrade to RocksDB 6.6.4.
ircd::db::database::cache: Remove deprecated interface override.

ircd::db::database::cache: Add new GetCharge() abstract virtual override.

ircd::db: Use set_stats_level() for privated member.
2020-05-05 19:58:37 -07:00
Jason Volk
cb7e90fc0f ircd::http: Use unsigned 64bit; add sanity ceiling for content-length. 2020-05-05 17:40:50 -07:00
Jason Volk
63e0543175 ircd::http: Use unsigned 32bit type for chunk size. 2020-05-05 17:32:41 -07:00
Jason Volk
85fb1804be rocksdb::port: Simplify assertion.
ircd::ctx::posix: Fix erroneous comment.

ircd::ctx::posix: Relax assertion.
2020-05-04 19:09:32 -07:00
Jason Volk
36d9dbf0af ircd::ctx::posix: Add linker hooks for specific pthread functions. 2020-05-04 16:09:39 -07:00
Jason Volk
b3dbf0cd01 ircd::ctx: Start an interpositionable posix thread interface. 2020-05-04 16:09:39 -07:00
Jason Volk
18f215d3f0 ircd: Move main_thread assertion related to ctx; adjust condition. 2020-05-04 16:09:39 -07:00
Jason Volk
05638f9e77 ircd::db: Additional comments for fixes; minor reorg. 2020-05-04 13:15:45 -07:00
Jason Volk
d72124f7c6 ircd::ctx: Bring condition_variable up to parity with ctx::dock. 2020-05-04 13:15:45 -07:00
Jason Volk
51cb09c31a ircd::mods::ldso: Add strtab lookup convenience. 2020-05-02 23:57:53 -07:00
Jason Volk
747bc99987 ircd::mods::ldso: Add util for base addr from link map. 2020-05-02 23:57:53 -07:00
Jason Volk
6f3e051563 ircd::mods::ldso: Add wrapper for dlinfo(3). 2020-05-02 23:57:53 -07:00