Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ioq: Fix uninitialized values in ioq_create() cleanup path | Tavian Barnes | 2024-04-24 | 1 | -4/+1 |
| | | | | | | | | I switched from ZALLOC_FLEX() to ALLOC_FLEX() in hopes that msan would catch uninitialized values in ioq_thread_create(), but in doing so, forgot to initialize all fields before the first goto fail. Fixes: f64f76b ("ioq: Copy ring_ops from the previous thread") | ||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | ioq: Fix some allocation failure paths | Tavian Barnes | 2024-03-20 | 1 | -2/+4 |
| | |||||
* | Re-run include-what-you-use | Tavian Barnes | 2024-03-11 | 1 | -2/+3 |
| | |||||
* | ioq: Copy ring_ops from the previous thread | Tavian Barnes | 2024-03-06 | 1 | -1/+4 |
| | | | | | | Otherwise threads 2-N won't use io_uring at all! Oops. Fixes: 8bc72d6c ("ioq: Probe for supported io_uring operations") | ||||
* | ioq: Probe for supported io_uring operations | Tavian Barnes | 2024-02-28 | 1 | -18/+67 |
| | |||||
* | ioq: Remove some branches from ioq_slot_{push,pop}() | Tavian Barnes | 2024-02-18 | 1 | -12/+21 |
| | |||||
* | ioq: Ensure ioq_ent is sufficiently aligned | Tavian Barnes | 2024-02-16 | 1 | -1/+1 |
| | | | | | | | The natural alignment of struct ioq_ent is only 2 on m68k, so over-align it to at least 4 bytes on all platforms. Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=m68k&ver=3.1-1&stamp=1707699583 | ||||
* | ioq: Add batched ioqq_push/pop operations | Tavian Barnes | 2024-02-15 | 1 | -49/+127 |
| | |||||
* | ioq: Don't push immediately in ioq_check_cancel() | Tavian Barnes | 2024-02-15 | 1 | -10/+6 |
| | |||||
* | ioq: Add a missing close() if bfs_opendir() fails | Tavian Barnes | 2024-02-15 | 1 | -0/+2 |
| | |||||
* | ioq: Don't use the symbolic IO_WQ_[UN]BOUND indices | Tavian Barnes | 2024-02-14 | 1 | -2/+2 |
| | | | | They are only available since liburing 2.2, which is newer than CI. | ||||
* | ioq: Factor out io_uring initialization | Tavian Barnes | 2024-02-14 | 1 | -37/+73 |
| | |||||
* | ioq: Make -j also limit the io_uring worker threads | Tavian Barnes | 2024-02-14 | 1 | -0/+9 |
| | |||||
* | ioq: Replay IOQ_STOP messages rather than spam them | Tavian Barnes | 2024-02-14 | 1 | -4/+5 |
| | |||||
* | ioq: Get rid of IOQ_STRIDE | Tavian Barnes | 2024-02-12 | 1 | -20/+5 |
| | | | | Benchmarks show it hurts more than it helps. | ||||
* | ioq: Shrink the io_urings | Tavian Barnes | 2024-02-12 | 1 | -4/+2 |
| | |||||
* | ioq: Implement ioq_stat() | Tavian Barnes | 2024-01-18 | 1 | -10/+90 |
| | |||||
* | ioq: Refactor to take advantage of -Wswitch | Tavian Barnes | 2024-01-18 | 1 | -71/+91 |
| | |||||
* | ioq: Use the negative errno convention | Tavian Barnes | 2024-01-13 | 1 | -21/+11 |
| | |||||
* | config: New variadic attr(...) macro | Tavian Barnes | 2023-12-18 | 1 | -2/+2 |
| | |||||
* | ioq: Don't crash on allocation failures | Tavian Barnes | 2023-11-15 | 1 | -0/+4 |
| | |||||
* | config: New attr_noinline and attr_cold macros | Tavian Barnes | 2023-11-09 | 1 | -0/+2 |
| | |||||
* | ioq: Implement a better non-blocking pop | Tavian Barnes | 2023-11-09 | 1 | -90/+186 |
| | |||||
* | dir: Add a flags parameter to bfs_opendir() | Tavian Barnes | 2023-10-17 | 1 | -3/+4 |
| | |||||
* | ioq: Use io_uring | Tavian Barnes | 2023-10-02 | 1 | -37/+270 |
| | | | | Closes #65. | ||||
* | Formatting fixes | Tavian Barnes | 2023-09-27 | 1 | -1/+1 |
| | |||||
* | ioq: New ioq_slot_monitor() helper | Tavian Barnes | 2023-08-23 | 1 | -4/+8 |
| | |||||
* | ioq: Try harder to avoid setting IOQ_BLOCKED | Tavian Barnes | 2023-07-12 | 1 | -6/+16 |
| | |||||
* | ioq: Separate slot and queue operations | Tavian Barnes | 2023-07-11 | 1 | -49/+75 |
| | |||||
* | ioq: Implement async close() and closedir() | Tavian Barnes | 2023-07-10 | 1 | -72/+103 |
| | |||||
* | ioq: New ioq_capacity() function | Tavian Barnes | 2023-07-06 | 1 | -2/+7 |
| | |||||
* | ioq: Don't write to an empty slot in ioqq_trypop() | Tavian Barnes | 2023-07-04 | 1 | -6/+10 |
| | |||||
* | thread: Wrap more pthread APIs | Tavian Barnes | 2023-06-26 | 1 | -6/+3 |
| | |||||
* | ioq: New ioq_cancel() function | Tavian Barnes | 2023-06-26 | 1 | -7/+20 |
| | |||||
* | ioq: Don't check NDEBUG manually in ioqq_trypop() | Tavian Barnes | 2023-06-26 | 1 | -5/+2 |
| | |||||
* | dir: Arena-allocate directories | Tavian Barnes | 2023-06-20 | 1 | -5/+10 |
| | |||||
* | ioq: Arena-allocate ioq_cmd | Tavian Barnes | 2023-06-20 | 1 | -3/+8 |
| | |||||
* | alloc: New header for memory allocation utilities | Tavian Barnes | 2023-06-20 | 1 | -18/+8 |
| | |||||
* | ioq: Implement a non-blocking fast path | Tavian Barnes | 2023-06-15 | 1 | -98/+107 |
| | |||||
* | ioq: Use a circular buffer | Tavian Barnes | 2023-06-15 | 1 | -78/+201 |
| | |||||
* | dir: New bfs_polldir() function for directory readahead | Tavian Barnes | 2023-06-13 | 1 | -0/+4 |
| | |||||
* | dir: Add a flag to bfs_freedir() to force the fd to stay the same | Tavian Barnes | 2023-06-12 | 1 | -0/+1 |
| | |||||
* | ioq: Implement an async I/O queue | Tavian Barnes | 2023-06-12 | 1 | -0/+284 |