2bf5f6b220 
					 
					
						
						
							
							ChunkStore::sweep_used_chunks - use openat to speedup directory walks  
						
						
						
						
					 
					
						2018-12-19 12:20:01 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1628a4c731 
					 
					
						
						
							
							use timers with a signal for file locking  
						
						... 
						
						
						
						* rename lock_file -> open_file_locked,
* add lock_file as a function working on already-opened
  files
* change timeout types to std::time::Duration
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2018-12-19 11:23:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8cf6e764ad 
					 
					
						
						
							
							add tools::timer module  
						
						... 
						
						
						
						This wraps POSIX timers via timer_create(2).
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2018-12-19 11:23:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2aea95210e 
					 
					
						
						
							
							add rust standard .gitignore file  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2018-12-19 11:06:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						365bb90f17 
					 
					
						
						
							
							move lock_file to tools.rs  
						
						
						
						
					 
					
						2018-12-19 10:02:24 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						08481a0b60 
					 
					
						
						
							
							impl sweep_used_chunks, first try  
						
						
						
						
					 
					
						2018-12-19 09:51:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6ea3a0b7fc 
					 
					
						
						
							
							move sweep_used_chunks to chunk_store  
						
						
						
						
					 
					
						2018-12-18 11:18:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d5c11e5d2 
					 
					
						
						
							
							start impl garbage collection  
						
						
						
						
					 
					
						2018-12-18 11:06:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						529de6c7a3 
					 
					
						
						
							
							start implementing DataStore  
						
						
						
						
					 
					
						2018-12-17 13:00:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4818c8b6f7 
					 
					
						
						
							
							start implementing ImageIndexReader  
						
						
						
						
					 
					
						2018-12-16 14:44:44 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a27a3ee4ba 
					 
					
						
						
							
							avoid compiler warnings  
						
						
						
						
					 
					
						2018-12-16 13:57:59 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af3e7d7551 
					 
					
						
						
							
							fix chunk store file paths  
						
						
						
						
					 
					
						2018-12-16 13:52:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0cd9d4206f 
					 
					
						
						
							
							improve error messages  
						
						
						
						
					 
					
						2018-12-16 13:43:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4fbb72a8b4 
					 
					
						
						
							
							image_index.rs: implement atomic write/rename  
						
						
						
						
					 
					
						2018-12-16 13:39:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						798881a68a 
					 
					
						
						
							
							rebane ImageIndex to ImageIndexWriter  
						
						
						
						
					 
					
						2018-12-16 11:51:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5e5b7f1c2d 
					 
					
						
						
							
							use u64 to store time  
						
						
						
						
					 
					
						2018-12-16 11:48:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d13e3745b3 
					 
					
						
						
							
							image_index.rs: write header  
						
						
						
						
					 
					
						2018-12-15 17:05:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						606ce64bb0 
					 
					
						
						
							
							image_index.rs:write idx of chunks (use mmap)  
						
						
						
						
					 
					
						2018-12-15 14:51:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f8838fe913 
					 
					
						
						
							
							backup-client: add bash completion for datastore names  
						
						
						
						
					 
					
						2018-12-15 11:24:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						445ebe0ec8 
					 
					
						
						
							
							install backup-client binary  
						
						
						
						
					 
					
						2018-12-15 11:22:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2f93d4fd4 
					 
					
						
						
							
							add backup-client bash completion  
						
						
						
						
					 
					
						2018-12-15 11:19:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5f0c2d5652 
					 
					
						
						
							
							remove debug println  
						
						
						
						
					 
					
						2018-12-15 11:16:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						43eeef28d1 
					 
					
						
						
							
							move file_chunker to tools  
						
						
						
						
					 
					
						2018-12-15 11:14:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						48e8689505 
					 
					
						
						
							
							file_chunker: use Read trait  
						
						
						
						
					 
					
						2018-12-15 11:08:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fc8b19368a 
					 
					
						
						
							
							backup-client: pass chunk_size as parameter to file_chunker  
						
						
						
						
					 
					
						2018-12-15 10:58:48 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a914a77448 
					 
					
						
						
							
							backup-client: read file by chunks  
						
						
						
						
					 
					
						2018-12-14 13:39:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ff5d37074d 
					 
					
						
						
							
							bin/backup-client.rs: nbew tool to play with chunk store  
						
						
						
						
					 
					
						2018-12-14 08:28:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						15b64d4606 
					 
					
						
						
							
							api3/config/datastore.rs: create datastore files  
						
						
						
						
					 
					
						2018-12-13 14:41:14 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7f4e639b37 
					 
					
						
						
							
							improve completion  
						
						
						
						
					 
					
						2018-12-12 13:00:58 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e3d40bb8cd 
					 
					
						
						
							
							complete_datastore_name: write more compact code  
						
						
						
						
					 
					
						2018-12-12 12:41:59 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						30d2e99c77 
					 
					
						
						
							
							implement completion functions  
						
						
						
						
					 
					
						2018-12-12 12:19:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						91643d9012 
					 
					
						
						
							
							section_config.rs: remove debug output  
						
						
						
						
					 
					
						2018-12-12 12:19:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d64d80d20a 
					 
					
						
						
							
							add comment  
						
						
						
						
					 
					
						2018-12-12 11:23:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5ba6968922 
					 
					
						
						
							
							add comment to make intensions more clear  
						
						
						
						
					 
					
						2018-12-12 11:21:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ca9caffa23 
					 
					
						
						
							
							cleanup parameter types  
						
						
						
						
					 
					
						2018-12-12 10:37:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						38555b5072 
					 
					
						
						
							
							implement completion for enums  
						
						
						
						
					 
					
						2018-12-12 08:33:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f0258959b 
					 
					
						
						
							
							improve completion  
						
						
						
						
					 
					
						2018-12-12 08:18:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d769db43f5 
					 
					
						
						
							
							do not use default completion  
						
						
						
						
					 
					
						2018-12-12 07:58:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f46403cc65 
					 
					
						
						
							
							improve bash completion  
						
						
						
						
					 
					
						2018-12-12 07:51:43 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b6e8dd39aa 
					 
					
						
						
							
							impl bash completion: first try  
						
						
						
						
					 
					
						2018-12-11 14:21:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c21de379ed 
					 
					
						
						
							
							install bash completion scripts  
						
						... 
						
						
						
						Completion itself is not implemented. 
						
						
					 
					
						2018-12-11 12:54:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6460764dbb 
					 
					
						
						
							
							cli/command.rs: add new type CliCommandMap  
						
						
						
						
					 
					
						2018-12-11 11:31:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf7f103944 
					 
					
						
						
							
							implement builder pattern for CliCommand  
						
						
						
						
					 
					
						2018-12-11 11:12:13 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						baed30b702 
					 
					
						
						
							
							cli/command.rs: implement prefix match  
						
						
						
						
					 
					
						2018-12-10 18:13:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f62336b0f 
					 
					
						
						
							
							impl From for CommandLineInterface  
						
						
						
						
					 
					
						2018-12-10 13:51:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f6ab1fc58 
					 
					
						
						
							
							rename CmdDef to CommandLineInterface  
						
						
						
						
					 
					
						2018-12-10 13:40:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b7329c8a1a 
					 
					
						
						
							
							src/cli/command.rs: move code into separate file  
						
						
						
						
					 
					
						2018-12-10 13:36:52 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						211fabd795 
					 
					
						
						
							
							try to support nested cli command definitions  
						
						
						
						
					 
					
						2018-12-10 13:28:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						34d3ba52eb 
					 
					
						
						
							
							api3/config/datastore.rs: implement delete  
						
						
						
						
					 
					
						2018-12-09 16:52:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a7bc3dd5e 
					 
					
						
						
							
							file_set_contents: correctly use perm parameter  
						
						
						
						
					 
					
						2018-12-09 16:41:54 +01:00