Robert Baldyga 
							
						 
					 
					
						
						
							
						
						f9447fda75 
					 
					
						
						
							
							Remove all the trailing whitespaces  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-27 17:00:39 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						bdcd4df0ef 
					 
					
						
						
							
							Remove utils_device.h  
						
						... 
						
						
						
						Move core mngt related code to ocf_mngt_core.c
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-27 17:00:39 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						7de56940a4 
					 
					
						
						
							
							Move ocf_request from utils  
						
						... 
						
						
						
						ocf_request has always been first class citizen in OCF,
so lets place it along with another essential objects.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-27 15:51:27 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						57bc19103d 
					 
					
						
						
							
							Remove unused core_io_allocator  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-27 14:19:10 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						ab2fc6d3c3 
					 
					
						
						
							
							Rename utils_allocator to utils_realloc  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-27 13:10:17 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						cda536a14a 
					 
					
						
						
							
							Remove mpool from OCF utils  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-27 13:04:40 +02:00 
						 
				 
			
				
					
						
							
							
								Michał Mielewczyk 
							
						 
					 
					
						
						
							
						
						b1321edf69 
					 
					
						
						
							
							Merge pull request  #170  from robertbaldyga/convert-ut-to-python3  
						
						... 
						
						
						
						Convert UT scripts to python3 
						
						
					 
					
						2019-05-27 09:58:26 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Musiał 
							
						 
					 
					
						
						
							
						
						93a06686a7 
					 
					
						
						
							
							Merge pull request  #165  from robertbaldyga/ctx-get-put  
						
						... 
						
						
						
						Give ocf_ctx get/put semantics 
						
						
					 
					
						2019-05-24 14:29:04 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Rutkowski 
							
						 
					 
					
						
						
							
						
						7d493ae995 
					 
					
						
						
							
							Merge pull request  #168  from robertbaldyga/config-helpers  
						
						... 
						
						
						
						Introduce helpers for setting config structures to defaults 
						
						
					 
					
						2019-05-24 04:31:28 -04:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						a671a28282 
					 
					
						
						
							
							Convert UT scripts to python3  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-24 10:13:50 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Łepek 
							
						 
					 
					
						
						
							
						
						13884f7b85 
					 
					
						
						
							
							Merge pull request  #167  from robertbaldyga/add-cleaner-kick-to-example  
						
						... 
						
						
						
						example: Add missing cleaner kick function 
						
						
					 
					
						2019-05-23 16:31:45 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						c903d13ad2 
					 
					
						
						
							
							Give ocf_ctx get/put semantics  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 15:50:10 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						0f9f90b0cb 
					 
					
						
						
							
							Use config helpers in example  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 13:29:49 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						0526239baf 
					 
					
						
						
							
							Introduce helpers for setting config structures to defaults  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 13:29:49 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						65a6fc0468 
					 
					
						
						
							
							Remove unused cache_id field from core config  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 13:29:49 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						7ff4a349ec 
					 
					
						
						
							
							Use enum cache line values when validating config  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 13:29:49 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						efa96ef7bd 
					 
					
						
						
							
							Add ocf_cache_line_size_none  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 13:29:49 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						0a8084a77e 
					 
					
						
						
							
							example: Add missing cleaner kick function  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-23 13:28:25 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						8c96270ce8 
					 
					
						
						
							
							Merge pull request  #164  from robertbaldyga/add-open-cores-parameter  
						
						... 
						
						
						
						Add open_cores parameter to ocf_mngt_cache_device_config 
						
						
					 
					
						2019-05-23 10:44:47 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						4216ff78f1 
					 
					
						
						
							
							Merge pull request  #163  from robertbaldyga/put-queue-after-deallocating-req  
						
						... 
						
						
						
						Put queue after deallocating request 
						
						
					 
					
						2019-05-23 10:38:13 +02:00 
						 
				 
			
				
					
						
							
							
								Michał Mielewczyk 
							
						 
					 
					
						
						
							
						
						16a01d7698 
					 
					
						
						
							
							Merge pull request  #157  from KamilLepek/management  
						
						... 
						
						
						
						Added a few management tests (changing configuration) 
						
						
					 
					
						2019-05-22 16:20:16 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Lepek 
							
						 
					 
					
						
						
							
						
						54c0e48fce 
					 
					
						
						
							
							Pyocf test checking if default values are correct  
						
						... 
						
						
						
						Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com > 
						
						
					 
					
						2019-05-22 16:09:02 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Lepek 
							
						 
					 
					
						
						
							
						
						ecd492e562 
					 
					
						
						
							
							Added a few management tests (changing configuration after start and checking statistics)  
						
						... 
						
						
						
						Fixed core/cache stats pyocf API
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com > 
						
						
					 
					
						2019-05-22 15:34:07 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						2cf2a59584 
					 
					
						
						
							
							Add open_cores parameter to ocf_mngt_cache_device_config  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 18:18:33 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						92d5ad8075 
					 
					
						
						
							
							Remove unused parameter from ocf_mngt_cache_device_config  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 18:17:00 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						dbef4b721c 
					 
					
						
						
							
							Put queue after deallocating request  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 16:09:58 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						76bcac5b45 
					 
					
						
						
							
							Merge pull request  #160  from robertbaldyga/remove-unnecessary-attach-step  
						
						... 
						
						
						
						Remove unnecessary attach step 
						
						
					 
					
						2019-05-21 14:02:19 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						9b3bf801e2 
					 
					
						
						
							
							Merge pull request  #159  from robertbaldyga/req-store-core-handle  
						
						... 
						
						
						
						Store core handle instead of core_id in ocf_request 
						
						
					 
					
						2019-05-21 13:52:55 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						da52091fdc 
					 
					
						
						
							
							Merge pull request  #161  from robertbaldyga/disallow-cache-mode-max-io-class  
						
						... 
						
						
						
						Disallow ocf_cache_mode_max in io_class config 
						
						
					 
					
						2019-05-21 13:08:10 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						b551d301ff 
					 
					
						
						
							
							ocf_trace: Fix req naming convention  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 12:30:29 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						0490dd8bd4 
					 
					
						
						
							
							ocf_reqest: Store core handle instead of core_id  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 12:30:29 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						5ad5c521df 
					 
					
						
						
							
							Disallow ocf_cache_mode_max in io_class config  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 09:33:33 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						e8bf299176 
					 
					
						
						
							
							Remove unnecessary attach step  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-21 09:17:39 +02:00 
						 
				 
			
				
					
						
							
							
								Katarzyna Łapińska 
							
						 
					 
					
						
						
							
						
						eccd4a0163 
					 
					
						
						
							
							Merge pull request  #158  from KamilLepek/unit_path  
						
						... 
						
						
						
						Gather all unit tests logs in single directory 
						
						
					 
					
						2019-05-17 11:47:11 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Lepek 
							
						 
					 
					
						
						
							
						
						827a115fa9 
					 
					
						
						
							
							Gather all unit tests logs in single directory  
						
						... 
						
						
						
						Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com > 
						
						
					 
					
						2019-05-17 11:35:33 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Madej 
							
						 
					 
					
						
						
							
						
						3da9059e50 
					 
					
						
						
							
							Merge pull request  #143  from imjfckm/master  
						
						... 
						
						
						
						Fix loading of cache in pyocf 
						
						
					 
					
						2019-05-17 10:59:04 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Bałdyga 
							
						 
					 
					
						
						
							
						
						c500f90676 
					 
					
						
						
							
							Merge pull request  #155  from KamilLepek/unit_tests_output  
						
						... 
						
						
						
						Save unit tests output to file 
						
						
					 
					
						2019-05-16 10:33:28 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Lepek 
							
						 
					 
					
						
						
							
						
						382c31a8e0 
					 
					
						
						
							
							Save unit tests output to file  
						
						... 
						
						
						
						Seperate output of different script stages
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com > 
						
						
					 
					
						2019-05-16 10:26:02 +02:00 
						 
				 
			
				
					
						
							
							
								Michał Wysoczański 
							
						 
					 
					
						
						
							
						
						df0fbc3ce5 
					 
					
						
						
							
							Merge pull request  #154  from robertbaldyga/set-queue-for-metadata-io  
						
						... 
						
						
						
						Set queue for metadata io submitted to cache volume 
						
						
					 
					
						2019-05-15 00:14:32 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						f5463d9a16 
					 
					
						
						
							
							Set queue for metadata io submitted to cache volume  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-14 14:15:47 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Musiał 
							
						 
					 
					
						
						
							
						
						a9d07917a1 
					 
					
						
						
							
							Merge pull request  #153  from robertbaldyga/put-io-before-callback  
						
						... 
						
						
						
						metadata: Put io before callback invocation 
						
						
					 
					
						2019-05-14 13:53:33 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						c263e3e9eb 
					 
					
						
						
							
							metadata: Put io before callback invocation  
						
						... 
						
						
						
						This allows for safe volume destruction in callback function.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-13 12:12:37 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Musial 
							
						 
					 
					
						
						
							
						
						991bcf3491 
					 
					
						
						
							
							Fix loading of cache in pyocf  
						
						... 
						
						
						
						Flush/load metadata paths are heavily dependend on Data behaving
correctly in terms of seeks/position and that needed to be fixed.
Signed-off-by: Jan Musial <jan.musial@intel.com > 
						
						
					 
					
						2019-05-10 15:34:23 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						0412e05260 
					 
					
						
						
							
							Merge pull request  #73  from mmichal10/cleaner-kick  
						
						... 
						
						
						
						Add kick function for cleaner 
						
						
					 
					
						2019-05-10 14:33:49 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Mielewczyk 
							
						 
					 
					
						
						
							
						
						7165bc16c3 
					 
					
						
						
							
							Add kick function for cleaner  
						
						... 
						
						
						
						ocf_kick_cleaner() allows to perfom cleaning immediately.
Nop cleaning policy now returns new 'OCF_CLEANER_DISABLE' macro which indicates
that cleaing shouldn't be performed. To enable it back, ocf_kick_cleaner()
should be called.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com > 
						
						
					 
					
						2019-05-10 08:09:56 -04:00 
						 
				 
			
				
					
						
							
							
								Michał Wysoczański 
							
						 
					 
					
						
						
							
						
						a145815747 
					 
					
						
						
							
							Merge pull request  #149  from Donaim/master  
						
						... 
						
						
						
						Set core_id during load if user did not specify one 
						
						
					 
					
						2019-05-10 12:59:07 +02:00 
						 
				 
			
				
					
						
							
							
								Michał Wysoczański 
							
						 
					 
					
						
						
							
						
						547cd7fe04 
					 
					
						
						
							
							Merge pull request  #150  from robertbaldyga/dont-print-uuid-as-a-string  
						
						... 
						
						
						
						Stop treating UUID as ANSI string 
						
						
					 
					
						2019-05-10 12:58:26 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Baldyga 
							
						 
					 
					
						
						
							
						
						580d5506cd 
					 
					
						
						
							
							Stop treating UUID as ANSI string  
						
						... 
						
						
						
						Signed-off-by: Robert Baldyga <robert.baldyga@intel.com > 
						
						
					 
					
						2019-05-10 12:49:51 +02:00 
						 
				 
			
				
					
						
							
							
								Vitaliy Mysak 
							
						 
					 
					
						
						
							
						
						8391300bc8 
					 
					
						
						
							
							Set core_id during load if user did not specify one  
						
						... 
						
						
						
						If cfg->core_id is OCF_CORE_MAX and that core matches the UUID of
existing not opened one, then set cfg->core_id to id of that core.
This is useful when loading cache from metadata: if user does not store
the ids of cores but relies on OCF to assign them, there is no need to
not reassign them on load.
Previus behaviur when cfg->core_id != id of core with matching UUID is
maintained.
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com > 
						
						
					 
					
						2019-05-09 23:39:18 +00:00 
						 
				 
			
				
					
						
							
							
								Michal Rakowski 
							
						 
					 
					
						
						
							
						
						94ef5a5249 
					 
					
						
						
							
							Merge pull request  #148  from mmichal10/fix-cleaner-stopping  
						
						... 
						
						
						
						Distinguish stopping cache from attached and detached states. 
						
						
					 
					
						2019-05-09 14:42:17 +02:00