PThorpe92
f6fb786cc9
Fix borrow method on WindowsIO
2025-08-05 22:26:19 -04:00
PThorpe92
53a0524050
Fix clippy warning
2025-08-05 16:24:50 -04:00
PThorpe92
f6a68cffc2
Remove RefCell from IO and Page apis
2025-08-05 16:24:49 -04:00
PThorpe92
914c10e095
Remove Clone impl for Buffer and PageContent
2025-08-05 14:26:53 -04:00
Pekka Enberg
aa20c2f1ba
Merge 'Relax I/O configuration attribute to cover all Unixes' from Pedro Muniz
...
hopefully fixes #2268 .
Closes #2435
2025-08-05 12:44:34 +03:00
PThorpe92
2a3fa0955f
Attempt to coalesce contiguous iovecs during pwritev operation for unix IO
2025-08-04 16:18:19 -04:00
PThorpe92
b76ef20f4c
Attempt to coalesce contiguous iovecs during pwritev operation for io_uring
2025-08-04 16:18:05 -04:00
pedrocarlo
ebe6aa0d28
adjust cfg for unix and linux IO
2025-08-04 15:49:52 -03:00
Jussi Saurio
1813171b91
Merge 'Use pwrite for single buffer pwritev call in unix IO' from Preston Thorpe
...
Closes #2416
2025-08-04 16:52:14 +03:00
Nikita Sivukhin
129895f0b2
preserve files in IO memory backend
2025-08-04 15:22:04 +04:00
PThorpe92
79629daff4
Make completions idempotent
2025-08-02 21:48:39 -04:00
PThorpe92
b5117ac5c7
Use pwrite for single buffer in unix IO
2025-08-02 18:34:16 -04:00
PThorpe92
b8ed4358f1
register buffers sparse on ring initiate to support fixed operations
2025-08-01 14:56:43 -04:00
PThorpe92
9289dd7e9a
Implement register_fixed_buffer for io_uring IO backend
2025-08-01 14:55:35 -04:00
PThorpe92
3048e4fa97
Add optional register_fixed_buffer method to IO trait
2025-08-01 14:54:26 -04:00
PThorpe92
693b71449e
Clean up writev batching and apply suggestions
2025-07-30 19:42:53 -04:00
PThorpe92
ef69df7258
Apply review suggestions
2025-07-30 19:42:53 -04:00
PThorpe92
73882b97d6
Remove unnecessary collecting CQEs into an array in run_once, comments
2025-07-30 19:42:53 -04:00
PThorpe92
28283e4d1c
Fix bench_vfs python script to use fresh db for each run
2025-07-30 19:42:52 -04:00
PThorpe92
efcffd380d
Clean up io_uring writev implementation, add iovec and cqe cache
2025-07-30 19:42:52 -04:00
PThorpe92
689007cb74
Remove unrelated io_uring changes
2025-07-30 19:42:52 -04:00
PThorpe92
0f94cdef03
Fix io_uring pwritev to properly handle partial writes
2025-07-30 19:42:50 -04:00
PThorpe92
88445328a5
Handle partial writes for pwritev calls in io_uring and fix JS bindings
2025-07-30 19:42:50 -04:00
PThorpe92
5f01eaae35
Fix default io:;File::pwritev impl
2025-07-30 19:42:49 -04:00
PThorpe92
7b2163208b
batch backfilling pages when checkpointing
2025-07-30 19:42:48 -04:00
PThorpe92
2c3a9fe5ef
Finish wal transaction handling and add more wal and chkpt testing
2025-07-30 14:10:10 +03:00
PThorpe92
8806b77d26
Clear snapshot and readmark/lock index flags on failure
2025-07-30 14:09:18 +03:00
PThorpe92
8ec99a9143
Remove assert for !NO_LOCK_HELD, properly handle writing header if reset
2025-07-30 14:08:51 +03:00
PThorpe92
441319e774
Fix todo! in vfs IO preventing write wal header from using wait_for_completion
2025-07-30 14:07:19 +03:00
PThorpe92
9c75872827
Make writing wal header able to be sync
2025-07-30 14:05:18 +03:00
PThorpe92
dcf346b9b0
Update apparently very old branch to new api
2025-07-30 13:48:05 +03:00
PThorpe92
cfbe9d5b9e
Fix clippy error casting same size
2025-07-30 13:48:05 +03:00
PThorpe92
f22313575f
Fix windows method to take usize in place of u64
2025-07-30 13:48:05 +03:00
PThorpe92
edbc29e2a6
Add restart_header and truncate for WAL and tests to prep for truncate checkpoint mode
2025-07-30 13:48:05 +03:00
PThorpe92
3be8bb374d
Use usize for truncate method in place of u64
2025-07-30 13:48:05 +03:00
PThorpe92
ce1897cb4a
Impl truncate for the remainder of IO modules
2025-07-30 13:48:05 +03:00
PThorpe92
d30157518f
Impl truncate method for VFS io module and create plumbing in extension lib
2025-07-30 13:48:05 +03:00
PThorpe92
fa002cba59
Impl truncate method for io_uring IO
2025-07-30 13:48:05 +03:00
PThorpe92
a4121c8cea
Impl truncate method for generic IO
2025-07-30 13:48:05 +03:00
PThorpe92
8bf2898c47
Add truncate method to IO trait and Truncate completion variant
2025-07-30 13:48:05 +03:00
pedrocarlo
9c4ce745ba
wait_for_completion was not implemented for MemoryIO and VFS
2025-07-29 13:23:45 -03:00
pedrocarlo
d30c7d54c8
change all Arc<Completion> to Completion
2025-07-28 15:32:45 -03:00
pedrocarlo
7789c569a0
make Completion implementation contain an inner Arc<CompletionInner> so that we can must_use the Completion struct
2025-07-28 15:31:42 -03:00
Pere Diaz Bou
f458f622a5
io/unix: wrap file with Mutex
2025-07-28 11:33:57 +02:00
Levy A.
1f57ab02cf
feat: instrument WindowsIO functions
2025-07-27 20:39:49 -03:00
Levy A.
c95c6b67ee
fix: thread-safe WindowsFile
2025-07-27 20:39:49 -03:00
PThorpe92
735026b502
Use Arc pointer for user data and save indirection when processing sqe/cqes
2025-07-26 16:35:40 -04:00
Glauber Costa
a10d8d7f94
silence clippy errors with features disabled
...
When compiling with features disabled, there are lots of clippy
warnings. This PR silences them.
For the utils file, I am using a bit of a hammer and just allowing
unused stuff in the whole file. Due to the box of utilities nature of
this file, it'll always be the case that things will be unused depending
on the feature-set.
2025-07-22 20:37:45 -05:00
Jussi Saurio
9722aab8a1
clappy
2025-07-18 11:01:57 +03:00
Jussi Saurio
347a9152a6
Merge 'Replace verbose IO Completion methods with helpers' from Preston Thorpe
...
one of the last remnants of some original verbosity
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com >
Closes #2156
2025-07-18 10:52:17 +03:00