Igor Katson
|
43008f2857
|
Less work when defer writes is disabled
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
573185bcfa
|
Remove async_trait
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
1744f0c101
|
Disk write queue
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
640d2c31bc
|
Debugging
|
2024-05-03 20:24:39 +04:00 |
|
Igor Katson
|
ca9afa8535
|
Add per piece locks
|
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
|
54b17d5ee1
|
Write through cache impl
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
776c865781
|
Remove unused disk_work_queue_tx
|
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
|
fa557cedd9
|
another attempt (sucks)
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
7e71e4188f
|
Dirty fix to test previous commit
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
d03943db8d
|
Another disk indirectio attempt
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
d25309e358
|
Defer writes command line flag
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
b8bbe6a87f
|
Move disk writes to a queue
|
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
|
fd30ad9cbf
|
Tweak everything for APIs to support everything while not changing too much
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
aec1b94544
|
No sleeps, wait properly now
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
f466facd1a
|
Small tweaks
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
f2ae2f67f4
|
Custom storage example
|
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 |
|
Igor Katson
|
67c22c9313
|
It compiles now
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
42bbf84ea5
|
Fixing up initialization to allow passing in custom storages
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
1b49257019
|
Storages
|
2024-05-02 12:29:46 +04:00 |
|
Igor Katson
|
609f9d92ae
|
Remove outdated comment
|
2024-05-02 09:11:45 +01:00 |
|
Igor Katson
|
d2e37ead51
|
Download speed: dont lag behind disk
|
2024-05-02 09:10:36 +01:00 |
|
Igor Katson
|
648c4edf71
|
Add explanation to peer semaphore
|
2024-05-02 09:04:57 +01:00 |
|
Igor Katson
|
04d8b5f7c8
|
128 works even better
|
2024-05-01 15:55:55 +04:00 |
|
Igor Katson
|
371d1ff927
|
Bump up peer semaphore
|
2024-05-01 15:55:55 +04:00 |
|
Igor Katson
|
5cac8ac02c
|
fix after rebase on remove-reopen
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
4a73739871
|
Force set file length on stream
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
0ebd4aa128
|
Force set file length on stream
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
6a9578cc0b
|
Fix a bug
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
867785422c
|
update a cuople error messages
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
82f8b0932c
|
Patch in some changes from another branch
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
9474a6d52e
|
Works pretty well now!
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
ffc662e370
|
Less spammy log message
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
5ffe2d59b7
|
Fix streaming logic
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
0a895c5b9c
|
Update streaming if checks
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
f0788f2c4a
|
Works fine now finally
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
7e180c05b3
|
Fix the bugs
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
d1c6a5b584
|
Streaming test
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
10974888fa
|
Streaming test
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
dad127e0ea
|
Do not reopen files back and forth, less bugs
|
2024-05-01 00:43:51 +04:00 |
|
Igor Katson
|
9590df1122
|
Fix a bug in stealing code
|
2024-04-29 12:01:31 +01:00 |
|
Igor Katson
|
3d46d7cb97
|
Fix clippy lints related to recent bug
|
2024-04-24 14:19:04 +01:00 |
|
Igor Katson
|
2a4d9a85d5
|
Download files in filename priority by default
|
2024-04-15 23:41:47 +04:00 |
|
Igor Katson
|
e03600c463
|
Add file priorities.
|
2024-04-15 23:41:47 +04:00 |
|
Igor Katson
|
0230550ed3
|
Fix fetched bytes computation to not account for stolen bytes.
|
2024-04-07 22:45:47 +01:00 |
|