LIAUD Corentin
9183df0ebd
fix: fixes according to PR comments
...
- Reset previous implementation of InMemoryExampleStorage
- Implement default (empty) behaviour of on_piece_completed in trait
itself
- Now passing a ValidPieceIndex in on_piece_completed
2024-08-28 08:28:14 +02:00
LIAUD Corentin
35d57ae8a2
feat: add on_piece_completed method on TorrentStorage
2024-08-27 22:00:14 +02:00
Igor Katson
451debedbb
Renames
2024-08-21 16:12:20 +01:00
Igor Katson
06c6bf4487
Preparing for v7.0.0-beta.1
2024-08-19 17:29:22 +01:00
Igor Katson
8b1ca49439
fix windows build
2024-08-19 13:58:05 +01:00
Igor Katson
60f831bc6f
dummy file is Option now instead of additional open
2024-08-19 11:25:45 +01:00
Igor Katson
ace4bed0c6
Folders and files are now deleted more comprehensively
2024-06-21 15:17:41 +01:00
Igor Katson
108ad74464
Fix a bug in experimental mmap storage
2024-05-06 23:02:10 +03:00
Igor Katson
70c2c38329
argh...
2024-05-03 20:24:39 +04:00
Igor Katson
0431584b19
pread/pwrite
2024-05-03 20:24:39 +04:00
Igor Katson
e9617e7f80
Fix slow.rs
2024-05-03 20:24:39 +04:00
Igor Katson
0f1d07409d
Cleaning up
2024-05-03 20:24:39 +04:00
Igor Katson
122b22c2e5
Nothing, blocking threads = 8
2024-05-03 20:24:39 +04:00
Igor Katson
e53f5a7f23
Fix the ordering bug in deferred writes, but its a slow fix
2024-05-03 20:24:39 +04:00
Igor Katson
438392da1d
Perfect sim is working!
2024-05-03 20:24:39 +04:00
Igor Katson
0b1499aa10
Make all experimental storages optional
2024-05-03 02:53:52 +04:00
Igor Katson
54b17d5ee1
Write through cache impl
2024-05-03 02:53:52 +04:00
Igor Katson
427f490a61
Clone storage factories...
2024-05-03 02:53:52 +04:00
Igor Katson
07a5b69a25
Hacked in mmap default
2024-05-03 02:53:52 +04:00
Igor Katson
ed05ffc6f7
Create mmap file storage
2024-05-03 02:53:52 +04:00
Igor Katson
7031023a31
Move filesystem storage into a different folder
2024-05-03 02:53:52 +04:00
Igor Katson
2c500049e8
Move around storage into folders
2024-05-03 02:53:52 +04:00
Igor Katson
6233cc9d12
better type_id for nested storages
2024-05-03 02:53:52 +04:00
Igor Katson
f0b63b5926
A few renames in generics
2024-05-03 02:53:52 +04:00
Igor Katson
9bcd18e7af
It really helps to write to disk in a separate thread!
2024-05-03 02:53:52 +04:00
Igor Katson
ce7c7a3f89
Getting ~5-6 mbs
2024-05-03 02:53:52 +04:00
Igor Katson
b597ee0fad
Slowdown again
2024-05-03 02:53:52 +04:00
Igor Katson
5027d8ccd1
All storage factories are generic now
2024-05-03 02:53:52 +04:00
Igor Katson
e4adfa569a
storages generics
2024-05-03 02:53:52 +04:00
Igor Katson
fdc9243a41
log buf.len()
2024-05-03 02:53:52 +04:00
Igor Katson
6cc7fa7ae0
micros vs millis
2024-05-03 02:53:52 +04:00
Igor Katson
5912cbe4c2
logs
2024-05-03 02:53:52 +04:00
Igor Katson
c5a73f1d4f
Add timing storage
2024-05-03 02:53:52 +04:00
Igor Katson
d3413370d2
Slow storage impl
2024-05-03 02:53:52 +04:00
Igor Katson
bc5098355f
Move mmap to storages from example
2024-05-02 12:29:46 +04:00
Igor Katson
fd30ad9cbf
Tweak everything for APIs to support everything while not changing too much
2024-05-02 12:29:46 +04:00
Igor Katson
cd33f99352
Move files around a bit
2024-05-02 12:29:46 +04:00
Igor Katson
6c3dfbc52f
Add storage example
2024-05-02 12:29:46 +04:00
Igor Katson
3e37b4698f
remove impl for box dyn storage
2024-05-02 12:29:46 +04:00
Igor Katson
dc137c075f
Move to storage folder
2024-05-02 12:29:46 +04:00