0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 10:08:36 +02:00
Commit graph

231 commits

Author SHA1 Message Date
Jason Volk 40c62b085b ircd::fs: Add syscall warning timers on some operations. 2020-06-08 21:28:07 -07:00
Jason Volk 27d52c660b ircd::fs::opts: Add an option to suppress internal error logging on some operations. 2020-06-08 14:10:13 -07:00
Jason Volk 839998e474 ircd::fs::aio: Initialize context with parameters sampled from devices.
ircd::fs: Simplify init infolog related.
2020-06-07 01:51:19 -07:00
Jason Volk 4d98f8fa8d ircd::fs: Split fs::dev definitions into unit. 2020-06-07 01:51:19 -07:00
Jason Volk d434c69755 ircd::fs: Improve correctness of fixes; isolate timer. (related 56219f9ea) 2020-05-24 15:32:40 -07:00
Jason Volk 4d5c006003 ircd::fs: Simplify read suite overloads. 2020-05-20 20:40:48 -07:00
Jason Volk a1de7e8e08 ircd::fs::fd: Replace open(2) with openat(2); additional constructor. 2020-05-20 20:40:48 -07:00
Jason Volk 56219f9eaa ircd::fs::fd: Fix constructor exception safety; cleanup. 2020-05-20 18:28:42 -07:00
Jason Volk 24707647b5 ircd::fs: Improve internal posix flag translation utils. 2020-05-20 18:28:42 -07:00
Jason Volk 82485b9aa9 ircd::fs: Minor cleanup. 2020-05-20 18:28:42 -07:00
Jason Volk 5a1868f9eb ircd::fs: Remove incorrect brace array initialization. 2020-05-10 17:47:09 -07:00
Jason Volk 8c15247efc ircd::fs: Add options to fadvise() on fd open(). 2020-05-09 18:42:05 -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 aaa5e785aa ircd::fs: Implement synchronous parallel-read interface. 2020-05-07 00:28:27 -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 2bf38286ba ircd::fs: Callsite changes for fs::base reorg. 2020-04-19 06:13:23 -07:00
Jason Volk 9fce3c6ca6 ircd::fs: Condition to skip setrlimit(2) and infolog message. 2020-04-18 19:06:13 -07:00
Jason Volk 13ea8b0ca0 ircd::fs: Use conf item callback for RLIMIT_NOFILE. 2020-04-18 19:06:13 -07:00
Jason Volk 2d14956c64 ircd::fs: Improve path_cstr() internal util related. 2020-04-18 19:06:13 -07:00
Jason Volk 2953ca0b55 ircd::fs: Split path related from fs unit. 2020-04-18 19:06:13 -07:00
Jason Volk 8c8a4c8d09 ircd::fs: Add an RLIMIT_FSIZE sampler in support section. 2020-03-20 11:09:34 -07:00
Jason Volk 4d88f92b76 ircd::fs: Add conf item and call to setrlimit for RLIMIT_NOFILE. 2020-03-20 11:09:34 -07:00
Jason Volk a867cfa51a ircd::fs: Add gauge for rlimit_nofile in support section. 2020-03-20 10:56:55 -07:00
Jason Volk 472ce01b50 ircd::fs: Reorg support section and indicators. 2020-03-20 10:56:55 -07:00
Jason Volk bc836d0fd8 ircd::info: Remove the fixed-rlimit sample section here. 2020-03-20 09:56:58 -07:00
Jason Volk fe8a65953b ircd::fs: Move init check/info out of fs::init for integration w/ info::dump(). 2020-03-16 16:56:06 -07:00
Jason Volk 6679b66806 ircd::prof: Move ctx::syscall_usage_warning into prof. 2020-03-06 15:43:24 -08:00
Jason Volk 935f54b604 ircd::fs: Branches almost always taken. 2019-10-10 01:32:42 -07:00
Jason Volk cd7ff331e9 ircd: Eliminate defaulted weak symbols for lib; minor relaxations remain. 2019-10-05 20:02:18 -07:00
Jason Volk d6c0e4cf20 ircd::fs: Fix missing return value; prevent any reference to fs::iou unimplemented calls. 2019-10-05 17:55:10 -07:00
Jason Volk d3809d43e5 Reorganize Makefiles. 2019-09-27 19:35:26 -07:00
Jason Volk d8bfacd128 ircd::fs: Add missing base path for RB_LIB_DIR. 2019-09-25 17:09:05 -07:00
Jason Volk d74d6c5eda ircd::fs: Warn for low RLIMIT_NOFILE on init; minor renames. 2019-09-14 12:17:07 -07:00
Jason Volk 97b613bb82 ircd::fs: Minor cleanup/simplify. 2019-08-16 02:19:49 -07:00
Jason Volk 41c8643305 ircd::fs: Use better indicator for async support type. 2019-08-11 04:52:38 -07:00
Jason Volk 125f53872c ircd::fs: Preliminary io_uring infrastructure plumbing. 2019-08-11 01:39:30 -07:00
Jason Volk 588b0aa9bc ircd::fs::aio: Fix bitrot assertion; simplify aio related. 2019-08-10 23:22:28 -07:00
Jason Volk 14f16f2b0d ircd::fs: Support hole punching if available; add checks for allocate options. 2019-08-06 16:39:28 -07:00
Jason Volk f549fb1f72 ircd::fs: Fix support version detections. 2019-08-06 15:49:24 -07:00
Jason Volk bd2dd1c50d ircd::fs: Make support string an info log message. 2019-08-06 15:44:32 -07:00
Jason Volk 009d417273 ircd: Indicate noexcept on advised interfaces. 2019-08-05 16:19:20 -07:00
Jason Volk 70ec2a37c7 ircd::fs: Use system_error factory. 2019-07-20 20:19:40 -07:00
Jason Volk d0cc5b020b ircd::fs: Minor reorg of fadvise related. 2019-07-12 19:29:51 -07:00
Jason Volk 7157a9cf8b ircd: Handle exceptions before unwind of class member reference. 2019-06-24 02:22:55 -06:00
Jason Volk 5bf62fc33f ircd: Degrade enum addressing for clang. 2019-06-23 07:37:23 -06:00
Jason Volk e0e4bde691 ircd::fs: Fix debug log format string. 2019-06-13 15:33:20 -06:00
Jason Volk 32e94931a7 ircd::fs: Add ability to change basepath values at runtime. 2019-06-06 17:38:12 -07:00
Jason Volk 38bfb56661 ircd::fs: Add typedefs for vector_view's used to build paths. 2019-06-06 17:03:02 -07:00
Jason Volk 143e4bda7b ircd::fs: Add debug log message showing support flags on startup. 2019-06-06 04:44:00 -07:00