Daniel Madej
f31587fc9d
Refactor check_msg + fixes in touched files
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-04-29 11:55:08 +02:00
Robert Baldyga
0621ca59b3
Merge pull request #401 from katlapinka/fault-cleanup
...
Tests directories cleanup
2020-04-27 17:06:47 +02:00
Robert Baldyga
b8835088a5
Merge pull request #398 from robertbaldyga/update-version-v20.6
...
Update version to v20.6 (WIP version)
2020-04-27 16:26:28 +02:00
Katarzyna Lapinska
1cf56d9d6c
Tests directories cleanup
2020-04-27 15:24:01 +02:00
Robert Baldyga
f4b108b3d5
Merge pull request #399 from robertbaldyga/update-ocf-multistream-seq-cutoff
...
Update ocf - multistream sequential cutoff
2020-04-23 15:43:51 +02:00
Robert Baldyga
37091cda3f
Update ocf - multistream sequential cutoff
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-04-23 09:15:30 +02:00
Robert Baldyga
f127d7c825
Update version to v20.6 (WIP version)
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-04-22 16:13:00 +02:00
Robert Baldyga
fb78466289
Merge pull request #390 from robertbaldyga/update-ocf-20200408
...
Update OCF - release version
2020-04-08 20:09:12 +02:00
Robert Baldyga
7879a0a030
Update OCF - release version
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-04-08 18:56:53 +02:00
Robert Baldyga
6dda643321
Merge pull request #375 from imjfckm/util-test-update
...
Update utils tests
2020-04-06 10:18:58 +02:00
Robert Baldyga
162f0a477a
Merge pull request #382 from robertbaldyga/update-ocf-flush-deadlock
...
Update OCF and handle new error code
2020-04-06 10:05:32 +02:00
Robert Baldyga
aeb166df58
Merge pull request #384 from mmichal10/remove-core-fix
...
Pass remove core result to cli
2020-04-06 10:05:09 +02:00
Robert Baldyga
d694228263
Update OCF and handle new error code
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-04-06 09:03:14 +02:00
Robert Baldyga
bcb524a304
Merge pull request #380 from rafalste/pckgen_ver_major
...
Change 'major' version number to double digit
2020-04-03 15:06:45 +02:00
Rafal Stefanowski
20aa069546
Change 'major' version number to double digit
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-04-03 12:25:14 +02:00
Michal Mielewczyk
e1b8ddbc40
Pass remove core result to cli
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-04-01 22:30:43 -04:00
Robert Baldyga
6ee2bf1b5f
Merge pull request #376 from robertbaldyga/update-ocf-20200331
...
Update OCF - fix flush and queue race condition
2020-03-31 15:44:06 +02:00
Robert Baldyga
1014484852
Update OCF - fix flush and queue race condition
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-03-31 15:33:43 +02:00
Robert Baldyga
603308f689
Merge pull request #374 from mmichal10/memory-find
...
Stop cache threads synchronously
2020-03-31 15:30:15 +02:00
Michal Mielewczyk
664c974e03
Revert "Free thread memory after it is stopped."
...
This reverts commit d483951ebe
.
2020-03-31 08:23:57 -04:00
Jan Musial
ea448b8584
Update utils tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-03-31 14:14:54 +02:00
Robert Baldyga
2334366914
Merge pull request #373 from arutk/allocator_item_alignment_fix
...
Improve _env_allocator_item fields alignment
2020-03-31 13:32:32 +02:00
Michal Mielewczyk
1b3424a485
Revert "Free memory of all allocated threads."
...
This reverts commit 4ec277433d
.
2020-03-31 06:46:27 -04:00
Michal Mielewczyk
758c5aa895
Don't hold reference to module in thread
...
Since stopping threads have to be done synchronusly, there is no need to keep
reference to cas_cache module in each thread.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-31 06:41:11 -04:00
Robert Baldyga
d9ca4f4bd4
Merge pull request #370 from rafalste/fix_git_in_pckgen
...
Fix git calls in package generator script
2020-03-30 13:31:10 +02:00
Robert Baldyga
299d1211ef
Merge pull request #372 from mmichal10/memory-find
...
Alloc rpool with strict memory requirements
2020-03-30 13:30:52 +02:00
Adam Rutkowski
82137c9bc1
Improve _env_allocator_item fields alignment
...
This change assures that data array is always optimally aligned.
Additionally item boolean flags are put into the same uint32
as cpu number in order to save space for future additions.
This change fixes ~50% performance degradation introduced by
commit d822a1d1
.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2020-03-30 00:39:26 +02:00
Rafal Stefanowski
a2d64d7d55
Fix git calls in package generator script
...
- make git command compatible with older git versions by removing -C option
- minor syntax improvements in the entire script
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-03-27 16:19:57 +01:00
Robert Baldyga
cd7b6b642b
Merge pull request #371 from arutk/ocf_update_270320
...
OCF update 03/27/20
2020-03-27 15:29:24 +01:00
Robert Baldyga
6bb4dde213
Merge pull request #369 from mmichal10/async-stop-compl
...
Before stop wait for start to be finished
2020-03-27 13:59:18 +01:00
Robert Baldyga
d7acbac253
Merge pull request #363 from mmichal10/change-cachemode-with-progressbar
...
Show progress bar during changing cache mode
2020-03-27 09:14:22 +01:00
Robert Baldyga
de296dd89f
Merge pull request #367 from mmichal10/async-stop-compl
...
Create finalize thread during stop
2020-03-26 14:16:29 +01:00
Adam Rutkowski
93e7b77d27
OCF update 03/27/20
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2020-03-26 02:49:59 +01:00
Michal Mielewczyk
8c57dc51c0
Alloc rpool with strict memory requirements
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-25 19:25:26 -04:00
Robert Baldyga
af6d3e9d06
Merge pull request #368 from arutk/rpool_debug
...
Runtime checks for allocator rpool consistency
2020-03-25 15:09:20 +01:00
Robert Baldyga
5b37183e41
Merge pull request #344 from rafalste/add_package_generator
...
Add package generator script
2020-03-25 12:40:29 +01:00
Michal Mielewczyk
3edaf30a73
Before stop wait for start to be finished
...
To prevent cache being stopped before async start finialize has finished, stop
routine have to check if worker responsible for finalizing is not running
anymore.
To create link between start finalize and stop functions, work_struct had to be
moved from attach_context to cache_priv.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-25 06:24:23 -04:00
Michal Mielewczyk
33223bacb9
Fix flush sync wrappers
...
Call completion function in case of allocation error
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-25 01:52:04 -04:00
Michal Mielewczyk
17d5c8599d
Use wrapper function to flush cache during stop
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-25 01:52:04 -04:00
Michal Mielewczyk
dca9769298
Acquire read lock for flushing cache
...
Read lock allows to retrieve informations about flushing progress and printing
progress bar during changing cache mode.
Flushing dirty data during changing cache mode is done twice - first flush might
be interrupted by user and the second one, called with write lock acquired, is
uninterruptable.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-25 01:52:04 -04:00
Robert Baldyga
e10e93533f
Merge pull request #353 from rafalste/bidirectional_rsync
...
Update rsync usage to utilize bidirectional rsync
2020-03-24 18:23:28 +01:00
Rafal Stefanowski
d5e632d3a3
Update rsync usage to utilize bidirectional rsync
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-03-24 15:38:54 +01:00
Michal Mielewczyk
2fffd789c0
Create finalize thread during stop
...
Creating finalize thread on cache start causes soft lookups during whole
instance lifetime
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-24 07:45:33 -04:00
Adam Rutkowski
d822a1d12e
Runtime checks for allocator rpool consistency
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2020-03-24 01:58:11 +01:00
Robert Baldyga
ef94a0df22
Merge pull request #362 from mmichal10/fix-core-removing
...
Fix core removing
2020-03-23 14:41:17 +01:00
Robert Baldyga
bf4256eb27
Merge pull request #364 from micrakow/ocf_udpate
...
OCF update
2020-03-23 14:28:57 +01:00
Michal Rakowski
eef7cf97ce
OCF update
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2020-03-23 13:16:32 +01:00
Robert Baldyga
8b1254dfea
Merge pull request #355 from mmichal10/async-stop-compl
...
Async stop compl
2020-03-23 13:00:50 +01:00
Michal Mielewczyk
9e692435f6
Allocate stop context on during start
...
To make cache stop as simple as possibe and to reduce number of errors, stop
context should be allocated during cache initialize.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-23 03:28:26 -04:00
Michal Mielewczyk
f93019165f
Hold reference to module for each thread
...
To prevent removing cas_cache module when not all thread were stopped yet, each
of them should keep reference.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-03-20 11:17:00 -04:00