Commit Graph

77 Commits

Author SHA1 Message Date
Dietmar Maurer
8768cbbc66 implement proxmox_backup_finish_async() 2019-09-21 16:15:28 +02:00
Dietmar Maurer
1402fea34b proxmox_backup_abort: use *const char 2019-09-21 15:56:26 +02:00
Dietmar Maurer
64100fed29 handle known chunks 2019-09-21 15:45:21 +02:00
Dietmar Maurer
d50d567b9b cleanup 2019-09-21 15:32:55 +02:00
Dietmar Maurer
6881178b8d factor out register_zero_chunk 2019-09-21 15:28:25 +02:00
Dietmar Maurer
527c723910 minor cleanup 2019-09-21 15:20:00 +02:00
Dietmar Maurer
c737c4e93d upload and use zero sized chunk 2019-09-21 11:12:33 +02:00
Dietmar Maurer
0d1c79f3a4 computer zero chunk digest at register_image 2019-09-21 10:47:34 +02:00
Dietmar Maurer
375b4efd09 add chunk_size configuration 2019-09-21 10:34:39 +02:00
Dietmar Maurer
c2610a6183 implement image registry, implement close image 2019-09-21 10:24:24 +02:00
Dietmar Maurer
3c46500c25 pass client to command implementation 2019-09-19 10:07:53 +02:00
Dietmar Maurer
6d7c570448 cleanup 2019-09-18 13:56:29 +02:00
Dietmar Maurer
8926ee01d2 handle abort in proxmox_backup_register_image() 2019-09-18 13:52:27 +02:00
Dietmar Maurer
49cbfea475 add register_image prototype 2019-09-18 13:50:02 +02:00
Dietmar Maurer
6c18a82b97 record abort reason, handle abort in write_data 2019-09-18 11:37:17 +02:00
Dietmar Maurer
e65c4eb2a9 limit number of threads 2019-09-17 17:20:49 +02:00
Dietmar Maurer
6780c3ca79 cleanup 2019-09-17 17:13:59 +02:00
Dietmar Maurer
1b23a2ce54 use threadpool runtime 2019-09-17 17:02:58 +02:00
Dietmar Maurer
726708dd5d implement abort 2019-09-17 13:46:38 +02:00
Dietmar Maurer
20f9ab37c2 start error handling 2019-09-16 13:44:47 +02:00
Dietmar Maurer
d325ffe484 gather/return some statistics 2019-09-15 09:20:08 +02:00
Dietmar Maurer
209346837e add dev_id to write callback 2019-09-15 09:05:24 +02:00
Dietmar Maurer
8a87c49160 use std::sync::mpsc::channel
We cannoit use tokio here, because there is no runtime in the calling thread.
2019-09-13 09:57:34 +02:00
Dietmar Maurer
14a98631c9 add more debug messages 2019-09-12 14:26:31 +02:00
Dietmar Maurer
99ebe8c690 use opaque type for handle, use reasonable names 2019-09-11 14:49:43 +02:00
Dietmar Maurer
bb96911c2f remove catch_unwind for now, add async code for testing 2019-09-11 11:02:41 +02:00
Dietmar Maurer
7c860d1c77 initial commit 2019-09-11 10:35:41 +02:00