0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-13 21:41:06 +01:00
Commit graph

183 commits

Author SHA1 Message Date
Jason Volk
dfb4e19848 ircd::fs: Replace reuses of net::eof w/ specific fs::eof. 2023-01-26 14:14:52 -08:00
Jason Volk
d95718ed6f ircd::fs: Additional convenience tools for path suite. 2022-11-03 18:28:53 +00:00
Jason Volk
ae9f2c1199 ircd::fs: Add asio glue for io_uring read/write. (closes #37) 2022-09-10 12:00:54 -07:00
Jason Volk
83799b555c ircd::fs: Add optional init for aio. 2022-09-10 11:40:33 -07:00
Jason Volk
dcbeb3fd4a ircd::fs: Remove fs::iou. 2022-09-10 11:40:33 -07:00
Jason Volk
079e273355 ircd: Upgrade to std::filesystem from boost::filesystem. 2022-07-07 16:47:55 -07:00
Jason Volk
e403c20cc6 ircd::fs::aio: Split max events query into init method. 2022-06-19 20:27:13 -07:00
Jason Volk
56bbc04527 ircd::fs::map: Add ergonomic trailing-opts ctor. 2022-06-19 20:27:13 -07:00
Jason Volk
b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk
e51b855f2b ircd: Various symbol surface reductions and sorting. 2022-06-17 21:11:53 -07:00
Jason Volk
6843d7a98d ircd::fs: Support more exotic alignments for memory mapped files. 2022-06-17 21:11:53 -07:00
Jason Volk
0b2b243c71 ircd::fs: Extend map interface with flush/sync. 2022-06-17 21:11:53 -07:00
Jason Volk
59106f9456 ircd::fs::map: Add hugepage related to interface opts. 2021-03-16 12:58:22 -07:00
Jason Volk
fdd052da87 ircd::fs::map: Add MAP_LOCKED wrapper to interface opts. 2021-03-16 12:58:22 -07:00
Jason Volk
6f3adfd160 ircd::fs::map: Add static opts instance w/ default ctor argument. 2021-03-16 12:58:22 -07:00
Jason Volk
af59cc1378 ircd::fs::aio: Integrate stats structure into ircd::stats system. 2020-12-18 02:42:07 -08:00
Jason Volk
6a5dbfe228 ircd::fs::path: Additional reorg; add safe path() overload; add missing parent(). 2020-11-15 02:27:33 -08:00
Jason Volk
34cf3e032e ircd::fs::path: Add absolute() to interface. 2020-11-14 00:59:09 -08:00
Jason Volk
cb223b97c0 ircd::fs::path: Add canonical() suite to interface; minor reorg. 2020-11-14 00:59:09 -08:00
Jason Volk
536a496bee ircd::allocator: Add incore(); replace as fs::fincore() impl. 2020-11-05 22:10:53 -08:00
Jason Volk
e5b0fe25c7 ircd::fs: Add is_exec() to interface. 2020-10-20 23:20:41 -07:00
Jason Volk
4dbb550e89 ircd::fs: Add support for O_EXCL; add exclusive to fd::opts. 2020-09-28 22:33:46 -07:00
Jason Volk
95cb3df160 ircd::fs: Rename nocreate to create in fd::opts. 2020-09-28 22:33:46 -07:00
Jason Volk
e39182be25 ircd::fs: Add prefetch convenience to interface. 2020-09-13 08:42:34 -07:00
Jason Volk
7eaf60c308 ircd::fs: Add interface to madvise on mapped file. 2020-09-07 17:01:45 -07:00
Jason Volk
f6475a2906 ircd::fs: Add interface to mmap fd. 2020-08-28 05:18:57 -07:00
Jason Volk
d42126693b ircd::fs::dev: Fix device size calculation; cleanup constants; improve cmd output. 2020-06-10 22:36:28 -07:00
Jason Volk
bc3ad3f89c ircd::fs::dev: Eliminate the static map; refactor interface; add console cmd. 2020-06-08 16:13:00 -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
64c82829d8 ircd::fs::dev: Use defaulting values rather than exceptions for sysfs() suite.
ircd::fs::dev: Stop exception propagation on per block device during discovery.
2020-06-07 14:30:50 -07:00
Jason Volk
22eb9b514b ircd::fs::dev: Add block device information system w/ sysfs. 2020-06-07 01:51:19 -07:00
Jason Volk
680c29601e ircd::fs::dev: Cleanup returned string data from sysfs read. 2020-06-07 01:51:19 -07:00
Jason Volk
2f51b01008 ircd::fs: Integrate fd::opts extending fs::opts. 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
82485b9aa9 ircd::fs: Minor cleanup. 2020-05-20 18:28:42 -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
aaa5e785aa ircd::fs: Implement synchronous parallel-read interface. 2020-05-07 00:28:27 -07:00
Jason Volk
a6cf4c3c91 ircd::fs: Refactor base paths into conf::items. 2020-04-19 06:13:23 -07:00
Jason Volk
2d14956c64 ircd::fs: Improve path_cstr() internal util related. 2020-04-18 19:06:13 -07:00
Jason Volk
d644df72be ircd::fs: Rename path_view to path_views. 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
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
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
e5f72b7855 ircd::db::database::env: Fix linkage of fs::evict() options argument related. 2019-10-05 18:02:15 -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
2532f7f5e2 ircd::fs::aio: Add submit_coalesce conf item. 2019-08-16 02:19:49 -07:00