Slawomir Jankowski
fe704f83cf
Introduce zero-metadata command
...
Add function *zero_md* in *cas_lib* to handle
new command for zeroing metadata.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-05-25 10:54:53 +02:00
Slawomir Jankowski
9750883d99
Introduce zero-metadata command
...
Add 'zero-metadata' option to *casadm*.
Handle new option.
Add struct for new option.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-05-25 10:54:04 +02:00
Robert Baldyga
0f0ef6a9c4
Merge pull request #408 from mmichal10/test-acp-discard
...
Test for triggered WBT
2020-05-21 12:25:43 +02:00
Michal Mielewczyk
c232dd36d9
Test for triggered WBT
2020-05-21 04:30:57 -04:00
Robert Baldyga
673ff88fff
Merge pull request #383 from rafalste/tests_stat_max
...
Tests for max cache/core stats
2020-05-20 23:00:56 +02:00
Robert Baldyga
1e25420f86
Merge pull request #404 from rafalste/copyright_update
...
Update copyright statements
2020-05-19 11:25:11 +02:00
Robert Baldyga
c7f3e52411
Merge pull request #309 from Deixx/ioclass-stats
...
IO class stats - refactor and test for statistics sections
2020-05-18 17:55:24 +02:00
Robert Baldyga
2a77fd3d4d
Merge pull request #411 from mmichal10/purge
...
Purge
2020-05-14 11:54:08 +02:00
Michal Mielewczyk
84f2dc3c07
CLI test for purge commands
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Michal Mielewczyk
c28babde8b
tests: Wrappers for purge commands
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Michal Mielewczyk
3b62e40a2e
Purge core command
...
Purge invalidates all cache lines which belongs to given core. It is very
usefull feature for tests.
Calling purge is possbile with casadm `--script` swtich.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Michal Mielewczyk
d24288a9b1
Purge cache command
...
Purge invalidates all cache lines. It is very usefull feature for tests.
Calling purge is possbile with casadm `--script` swtich.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Robert Baldyga
d2ea98eae8
Merge pull request #412 from robertbaldyga/update-readme-20.3
...
Update README.md to point to latest stable release
2020-05-12 10:46:12 +02:00
Robert Baldyga
3ab6d74a42
Update README.md to point to latest stable release
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-05-12 10:31:05 +02:00
Rafal Stefanowski
58b3135082
Tests for max cache/core stats
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-06 11:22:07 +02:00
Robert Baldyga
f7d854bf70
Merge pull request #393 from rafalste/check_submodules_in_configure
...
Check for submodules in ./configure
2020-05-05 18:32:05 +02:00
Rafal Stefanowski
44b4020cc1
Update copyright statements
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-04 16:47:38 +02:00
Daniel Madej
f9e28c9d05
Add test for IO class statistics sections
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-05-04 13:04:22 +02:00
Robert Baldyga
382247b5e7
Merge pull request #407 from imjfckm/schedule-in-sort
...
Add conditional reschedules to env_sort
2020-04-30 15:35:34 +02:00
Robert Baldyga
660529e177
Merge pull request #405 from micrakow/free-mem
...
modules: use si_mem_available() when possible
2020-04-29 12:09:51 +02:00
Daniel Madej
8d0650ecb3
Refactor/update existing tests in test_ioclass_stats.py
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-04-29 11:55:08 +02:00
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
Jan Musial
d25b059e2c
Add conditional reschedules to env_sort
...
Sorting can take a long time with big cache sizes and a lot of dirty
data. Make sure we reschedule frome time to time to avoid lockups.
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-04-29 11:34:40 +02:00
Michal Rakowski
1e9b7a4262
modules: use si_mem_available() when possible
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2020-04-29 11:05:41 +02:00
Rafal Stefanowski
7ffb933eee
Check for submodules in ./configure
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-04-28 12:12:45 +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