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

273 commits

Author SHA1 Message Date
Jason Volk
ecc177aa36 ircd::fs: Minor cleanup unnecessary wait_type translate ornaments. 2023-02-02 18:51:03 -08:00
Jason Volk
89e44ce8e9 ircd: Apply branch expectation attributes to various case labels. 2023-02-02 18:51:03 -08:00
Jason Volk
fc0b6bbecb ircd::fs: Assertions for file read length sanity. 2023-01-29 15:34:33 -08:00
Jason Volk
dfb4e19848 ircd::fs: Replace reuses of net::eof w/ specific fs::eof. 2023-01-26 14:14:52 -08: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
10201c11eb ircd::fs: Add autoconfs for sync(2) etc. 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
09021ac28b ircd::exception: Move throwing errno+system_category out-of-line. 2022-07-08 11:39:45 -07:00
Jason Volk
079e273355 ircd: Upgrade to std::filesystem from boost::filesystem. 2022-07-07 16:47:55 -07:00
Jason Volk
45effc15d8 ircd::buffer: Fix warning from dependent type munge (gcc-11).
ircd:Ⓜ️:fetch: Fix non-trivial aggregate (gcc-10).

ircd::ctx::ole: Fix anonymous may be used uninitialized (gcc-11).
2022-06-28 12:37:13 -07:00
Jason Volk
61d558fc9d ircd: Define all IRCD_USE_ as integers for constexprs. 2022-06-23 09:36:44 -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
04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk
ea5241615f ircd::fs: Simplify internal naming; remove comments. 2022-06-17 21:11:53 -07:00
Jason Volk
317577d6eb ircd::fs: Indicate no write-life hint support while executing in valgrind. 2022-06-17 21:11:53 -07:00
Jason Volk
af4d722ec3 ircd::fs: Support anonymous non-descript mapping. 2022-06-17 21:11:53 -07:00
Jason Volk
2604f1370a ircd::buffer: Move abstract align/padding tools to ircd::util. 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
5534672a07 ircd::fs: Move madvise suite to allocator unit. 2021-05-11 20:56:09 -07:00
Jason Volk
c0072f732c configure: Add function check for mlock(2), mmap(2). 2021-03-17 18:55:56 -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
690e641e90 ircd::fs: Fix erroneous/redundant fallthrough to blocking flush. 2021-01-21 20:00:32 -08:00
Danilo Spinella
92c434e061 ircd/fs.cc: Add cast to fix build with gcc-10 2020-12-23 03:56:43 -08:00
Jason Volk
6991ecc764 ircd: Remove various trivial tls bufs. 2020-12-22 18:40:30 -08:00
Jason Volk
af59cc1378 ircd::fs::aio: Integrate stats structure into ircd::stats system. 2020-12-18 02:42:07 -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
159fa7bd0f ircd::fs: Make support infolog dump uniform with similar msgs. 2020-10-10 06:02:32 -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
9c82dad2f7 ircd::fs: Add missing O_TRUNC -> std::ios::trunc in options parseback. 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
439fb28854 ircd::fs: Relax assertion on buffer length at alignment. 2020-09-15 04:33:28 -07:00
Jason Volk
e39182be25 ircd::fs: Add prefetch convenience to interface. 2020-09-13 08:42:34 -07:00
Jason Volk
66f99f70c2 ircd::fs: Fix ifdef wrapping for symbol. 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
64e5df1d86 ircd::fs: Use fd::map object for fincore() impl. 2020-08-28 05:18:57 -07:00
Jason Volk
f6475a2906 ircd::fs: Add interface to mmap fd. 2020-08-28 05:18:57 -07:00
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