| 
						
					 | 
					
						
						
							
						
						2b6a3e1396
					 | 
					
						
						
							
							src/tools/procfs.rs: implement read_cpuinfo()
						
						
						
						
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com> 
						
						
					 | 
					
						2019-04-10 13:11:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						321070b4fa
					 | 
					
						
						
							
							src/server/worker_task.rs: implement abort_worker (via command_socket)
						
						
						
						
						
						
					 | 
					
						2019-04-10 12:42:24 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cfb2d3c17c
					 | 
					
						
						
							
							src/server/command_socket.rs: correctly handle/spawn handle parallel connections
						
						
						
						
						
						
					 | 
					
						2019-04-10 11:05:00 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9b002cbc5f
					 | 
					
						
						
							
							src/server/worker_task.rs: use abstract socket
						
						
						
						
						
						
					 | 
					
						2019-04-10 09:03:17 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5f550fd99f
					 | 
					
						
						
							
							start hyper server using with_graceful_shutdown()
						
						
						
						
						
						
						
						Without, hyper keeps some futures running, and the server does not
correctly shutdown. 
						
						
					 | 
					
						2019-04-10 08:24:32 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7f2078de59
					 | 
					
						
						
							
							src/tools/procfs.rs: avoid compiler warning
						
						
						
						
						
						
					 | 
					
						2019-04-10 06:40:29 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1f6fbf1c57
					 | 
					
						
						
							
							src/tools/procfs.rs: implement read_meminfo()
						
						
						
						
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com> 
						
						
					 | 
					
						2019-04-09 15:21:49 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c360bd73d3
					 | 
					
						
						
							
							src/api2/node/tasks.rs: fix task status api
						
						
						
						
						
						
					 | 
					
						2019-04-09 15:12:20 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0bfd87bc5e
					 | 
					
						
						
							
							src/server/worker_task.rs: speedup upid_read_status()
						
						
						
						
						
						
					 | 
					
						2019-04-09 15:11:48 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d8d40dd0c2
					 | 
					
						
						
							
							src/api2/node.rs: add node parameter
						
						
						
						
						
						
					 | 
					
						2019-04-09 14:43:30 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7ae0bf52dd
					 | 
					
						
						
							
							src/server/command_socket.rs: code cleanup - fix error message
						
						
						
						
						
						
					 | 
					
						2019-04-09 12:47:42 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d607b8861b
					 | 
					
						
						
							
							src/server/worker_task.rs: implement task control socket
						
						
						
						
						
						
					 | 
					
						2019-04-09 12:15:06 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e201753629
					 | 
					
						
						
							
							src/server/command_socket.rs: implement auto_remove flag
						
						
						
						
						
						
						
						Remove the socket file on close. 
						
						
					 | 
					
						2019-04-09 11:47:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						634132fe10
					 | 
					
						
						
							
							src/server/upid.rs: moved code into separate file
						
						
						
						
						
						
					 | 
					
						2019-04-08 18:43:26 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						78a39e0517
					 | 
					
						
						
							
							src/server/command_socket.rs: simple command socket
						
						
						
						
						
						
					 | 
					
						2019-04-08 17:59:39 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e3f41f2165
					 | 
					
						
						
							
							src/tools/daemon.rs: use new ServerState handler
						
						
						
						
						
						
					 | 
					
						2019-04-08 14:00:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7a630df709
					 | 
					
						
						
							
							implement server state/signal handling, depend on tokio-signal
						
						
						
						
						
						
					 | 
					
						2019-04-08 13:59:07 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5a12c0e2fb
					 | 
					
						
						
							
							src/api2/node/tasks.rs: start upid API
						
						
						
						
						
						
					 | 
					
						2019-04-07 14:36:57 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b75b968147
					 | 
					
						
						
							
							src/server/worker_task.rs: implement is_active()
						
						
						
						
						
						
					 | 
					
						2019-04-07 14:36:25 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4494d07819
					 | 
					
						
						
							
							src/server/worker_task.rs: make log_path a method on UPID
						
						
						
						
						
						
					 | 
					
						2019-04-07 13:51:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d2a2e02bb7
					 | 
					
						
						
							
							src/api2/node/tasks.rs: implement userfilter
						
						
						
						
						
						
					 | 
					
						2019-04-07 13:17:19 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3c3bee2e32
					 | 
					
						
						
							
							src/api2/node/tasks.rs: correctly handle start parameter
						
						
						
						
						
						
					 | 
					
						2019-04-07 12:41:24 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						063ca5be77
					 | 
					
						
						
							
							src/api2/node/tasks.rs: implement list_tasks
						
						
						
						
						
						
					 | 
					
						2019-04-07 12:18:58 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d4b59ae0b8
					 | 
					
						
						
							
							src/backup/datastore.rs: pass WorkerTask to GC
						
						
						
						
						
						
						
						So that we can log to the task log file. 
						
						
					 | 
					
						2019-04-06 17:57:38 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						35950380a9
					 | 
					
						
						
							
							src/server/worker_task.rs: carefully handle file permissions
						
						
						
						
						
						
					 | 
					
						2019-04-06 17:53:12 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1619a72063
					 | 
					
						
						
							
							src/tools.rs: implement create_dir_chown
						
						
						
						
						
						
						
						Combinded mkdir with chown. 
						
						
					 | 
					
						2019-04-06 16:50:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						eea8131952
					 | 
					
						
						
							
							src/tools.rs: implement file_set_contents_full()
						
						
						
						
						
						
					 | 
					
						2019-04-06 13:53:43 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0f778e0652
					 | 
					
						
						
							
							src/api2/admin/datastore.rs: use new WorkerTask::new_thread()
						
						
						
						
						
						
					 | 
					
						2019-04-06 11:27:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						23c8415dbe
					 | 
					
						
						
							
							tests/catar.rs: make it compile again
						
						
						
						
						
						
					 | 
					
						2019-04-06 11:26:17 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						244abab769
					 | 
					
						
						
							
							src/tools/file_logger.rs: fix test
						
						
						
						
						
						
					 | 
					
						2019-04-06 11:24:37 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						660c684640
					 | 
					
						
						
							
							src/server/worker_task.rs: return upid_str
						
						
						
						
						
						
					 | 
					
						2019-04-06 11:23:53 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						93aebb38bc
					 | 
					
						
						
							
							src/server/worker_task.rs: implement read_task_list()
						
						
						
						
						
						
					 | 
					
						2019-04-06 10:17:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4a36a2c999
					 | 
					
						
						
							
							src/server/worker_task.rs: improve UPID format description
						
						
						
						
						
						
					 | 
					
						2019-04-06 09:36:50 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						882594c5e9
					 | 
					
						
						
							
							src/server.rs: improve crate layout
						
						
						
						
						
						
					 | 
					
						2019-04-06 09:17:25 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4b01c983f0
					 | 
					
						
						
							
							src/server/worker_task.rs: implement persistent task list
						
						
						
						
						
						
					 | 
					
						2019-04-05 12:37:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a2474d328f
					 | 
					
						
						
							
							src/tools/procfs.rs: implement read_proc_uptime and read_proc_uptime_ticks
						
						
						
						
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com> 
						
						
					 | 
					
						2019-04-05 06:22:21 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						08daa81af6
					 | 
					
						
						
							
							procfs: implement check_process_running and check_process_running_pstart
						
						
						
						
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com> 
						
						
					 | 
					
						2019-04-04 13:54:17 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9a0d0ff774
					 | 
					
						
						
							
							server/worker_task.rs: implement UPID parser
						
						
						
						
						
						
					 | 
					
						2019-04-04 13:49:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						49cf9f3d0b
					 | 
					
						
						
							
							src/tools.rs: file_get_json() - add new default parameter
						
						
						
						
						
						
					 | 
					
						2019-04-04 12:24:18 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						79ad7b7ec2
					 | 
					
						
						
							
							src/tools/procfs.rs: split regex into several lines
						
						
						
						
						
						
					 | 
					
						2019-04-04 09:25:19 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						479f6e40ec
					 | 
					
						
						
							
							src/server/worker_task.rs: implement task registry
						
						
						
						
						
						
					 | 
					
						2019-04-04 08:58:39 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						52ddc2522d
					 | 
					
						
						
							
							src/tools/procfs.rs: use libc::pid_t
						
						
						
						
						
						
					 | 
					
						2019-04-04 08:05:43 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d3d7ab1273
					 | 
					
						
						
							
							src/tools/file_logger.rs: new - accept AsRef<Path>
						
						
						
						
						
						
					 | 
					
						2019-04-03 14:13:33 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3c2012f97a
					 | 
					
						
						
							
							src/tools/procfs.rs: start helper tools to read procfs
						
						
						
						
						
						
					 | 
					
						2019-04-03 13:39:20 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3489936ebb
					 | 
					
						
						
							
							src/tools/file_logger.rs: change timestamp format to rfc3339
						
						
						
						
						
						
					 | 
					
						2019-04-03 08:58:43 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						92da93b245
					 | 
					
						
						
							
							abort GC on server shutdown
						
						
						
						
						
						
					 | 
					
						2019-04-01 12:13:02 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9136f857cc
					 | 
					
						
						
							
							add global var to indicate server shutdown requests
						
						
						
						
						
						
					 | 
					
						2019-04-01 12:05:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3e6a7deeaa
					 | 
					
						
						
							
							src/api2/admin/datastore.rs: start GC in a separate thread
						
						
						
						
						
						
					 | 
					
						2019-04-01 12:02:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ad281d1bd9
					 | 
					
						
						
							
							www/DataStoreConfig.js: add button to start GC
						
						
						
						
						
						
					 | 
					
						2019-04-01 08:08:34 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						49d123ee3a
					 | 
					
						
						
							
							src/server/rest.rs: use formatter to encode errors
						
						
						
						
						
						
					 | 
					
						2019-04-01 08:04:12 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |