Robert Baldyga
f0943bc09b
Merge pull request #1377 from kmajzero/5.18_prep
...
Open CAS Linux kernel 5.18 support
2022-10-25 10:17:01 +02:00
Krzysztof Majzerowicz-Jaszcz
f0af7cb52d
Open CAS Linux kernel 5.18 support
...
This patch introduces the support for 5.18 kernel.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-10-24 09:53:01 +00:00
Karolina Rogowska
ad40f2b226
Merge pull request #1388 from DocentSzachista/fix-one-core-fail
...
test fix: add parametrize parameter as argument to function
2022-10-21 09:34:53 +02:00
Robert Baldyga
4e0ff7d2c4
Merge pull request #1386 from robertbaldyga/license-check-on-relase-branches
...
Enable "Licence-date-verification" check on release branches
2022-10-21 07:18:50 +02:00
Damian Raczkowski
ca2b7b86cf
test fix: add parametrize parameter to funcion
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-19 09:05:50 +02:00
Robert Baldyga
f5be72de3a
Merge pull request #1320 from karolinavelkaja/tests_marking_clean_up
...
Tests marking clean up (os-dependend and skipped)
2022-10-17 17:29:50 +02:00
Karolina Rogowska
82e4c46b8b
marking tests that are os-dependent
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-10-17 17:03:55 +02:00
Karolina Rogowska
ebcae02f81
marking kedr tests as skipped
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-10-17 17:03:55 +02:00
Robert Baldyga
49e31a1e7e
Merge pull request #650 from karolinavelkaja/lvm_api_ocl
...
LVM api (ocl)
2022-10-17 16:58:02 +02:00
Robert Baldyga
ea095d8990
Enable "Licence-date-verification" check on release branches
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-10-17 12:29:59 +02:00
Karolina Rogowska
54428ddf26
lvm api (ocl)
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-10-13 16:47:34 +02:00
Robert Baldyga
0ff4698f29
Merge pull request #1349 from DocentSzachista/test-multilevel-cache
...
tests: add multilevel cache test
2022-10-13 14:10:23 +02:00
Karolina Rogowska
4f30283e0a
Merge pull request #1337 from DocentSzachista/OC1-348
...
tests: refactor fault_injection tests
2022-10-12 13:13:52 +02:00
Robert Baldyga
97c8df0995
Merge pull request #1373 from DocentSzachista/merge_flush_and_cache
...
Merge flush and cache commands
2022-10-12 12:38:14 +02:00
Robert Baldyga
3df37198ca
Merge pull request #1374 from rafalste/fix_include
...
Fix missing include in 1_bio_dev.conf in configure scripts
2022-10-06 14:45:06 +02:00
Rafal Stefanowski
3964f30edb
Fix missing include in 1_bio_dev.conf in configure scripts
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-10-06 12:34:37 +02:00
Damian Raczkowski
f67543e7b3
update CAS API to adapt changes in casadm
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-06 09:08:57 +02:00
Robert Baldyga
65bc955d4f
Merge pull request #1372 from kmajzero/conf_framework_fix
...
Fix for incorrect header file handling in ./configure
2022-10-05 15:34:36 +02:00
Krzysztof Majzerowicz-Jaszcz
dfcb80abae
Fix for incorrect header file handling in ./configure
...
In specific cases, header files will be included incorrectly
during the configuration phase, leading to erroneous failure
of affected configure step.
This patch fixes this issue.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-10-05 15:22:27 +02:00
Damian Raczkowski
f57b01ee31
tests: refactor fault_injection tests
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-05 12:29:39 +02:00
Robert Baldyga
f953c14c2e
Merge pull request #1315 from AdamSeyda/adding_test_cli_help_spelling
...
Add test test_cli_help_spelling
2022-10-04 14:37:06 +02:00
Robert Baldyga
5ac02a8377
Merge pull request #1361 from DocentSzachista/dss-pin-02
...
tests: add stress test for IO class pinning eviction
2022-10-04 14:10:46 +02:00
Robert Baldyga
de060d1d5b
Merge pull request #1307 from mmichal10/kmemleak
...
Integrate kmemleak into CAS
2022-10-04 10:03:37 +02:00
Adam Seyda
f4e17bc1ec
Add test test_ci_read_write
...
Signed-off-by: Adam Seyda <adam.seyda@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-10-03 19:44:26 +02:00
Adam Seyda
3f7cf3c670
Add test test_cli_help_spelling
...
Signed-off-by: Adam Seyda <adam.seyda@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-10-03 19:43:27 +02:00
Robert Baldyga
f554c9c5b1
Merge pull request #1369 from Kgierszx/fix_test_cli_help_and_version
...
test_fix:fix_test_cli_help_and_version
2022-10-03 18:53:04 +02:00
Kamil Gierszewski
9417301453
test_fix:fix_test_cli_help_and_version
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-10-03 16:54:43 +02:00
Robert Baldyga
6af0c5dbfe
Merge pull request #1353 from arutk/apf
...
Fix ALRU wake up time test and documentation
2022-09-30 11:04:39 +02:00
Adam Rutkowski
f0a398116c
Clarify ALRU wake up time documentation
...
ALRU does not have a configurable sleep time between active awakenings
of the cleaning thread. Once it starts cleaning, it does not back off
unless staleness time and/or activity threshold constraints force it
to do so. Wake up time parameter only controls sleep time after
an idle wake up.
Updating casadm help and man page accordingly.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-30 18:18:13 +02:00
Adam Rutkowski
39fbe873df
Fix test_cleaning_policy_config ALRU assumptions
...
ALRU does not have a configurable sleep time between active awakenings
of the cleaning thread. Once it starts cleaning, it does not back off
unless staleness time and/or activity threshold constraints force it
to do so.
Changing test_cleaning_policy_config assumptions so that it only checks
whether minimum expected amount of data is cleaned rather than assume
exact amount of data to be cleaned.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-30 18:18:10 +02:00
Damian Raczkowski
4a933f603b
merge flush core and cache commands
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-09-29 15:54:48 +02:00
Robert Baldyga
485170e61f
Merge pull request #1366 from mmichal10/update-ocf-improve-start
...
Update OCF: reduce cache startup time
2022-09-29 15:27:56 +02:00
Michal Mielewczyk
e3af9734f7
Update OCF: reduce cache startup time
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-09-29 10:21:15 +02:00
Robert Baldyga
5069652fb4
Merge pull request #1364 from robertbaldyga/remove-blkdev_can_hndl_bio
...
Remove blkdev_can_hndl_bio() function
2022-09-28 17:14:11 +02:00
Karolina Rogowska
a7df579991
Merge pull request #1365 from arutk/trte
...
tests: remove test_trim_eviction
2022-09-28 15:29:22 +02:00
Rutkowski, Adam J
73716e89ca
tests: remove test_trim_eviction
...
There are multiple issues with this test, but regardless
of them it seems that it duplicates existing trim tests.
The intention of the test is to verify that there is no
eviction when inserting to cache after a trim. This
is equivalent to checking that a trim reduced cache
occupancy, and this is done in other trim test
(test_trim_device_discard_support).
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-28 14:22:12 +02:00
Damian Raczkowski
77f296db11
tests: add stress test for IO class pinning eviction
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-09-28 11:11:21 +02:00
Robert Baldyga
64420d7ce7
Remove blkdev_can_hndl_bio() function
...
This check will always return 0, as none of kernel versions supported
by Open CAS sets a barrier flag in for bio. Those flags are exclusive to
struct request, which is no longer used by Open CAS.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-27 16:39:33 +02:00
Robert Baldyga
3aaef69905
Merge pull request #1357 from karolinavelkaja/power_hit_init_test_byid_fix
...
tests: fix cache device path
2022-09-27 12:52:55 +02:00
Robert Baldyga
7b126005eb
Merge pull request #1356 from Kgierszx/fix_test_recover_cache_verify
...
test: fix_recovery_cache_verify_core
2022-09-27 10:12:19 +02:00
Robert Baldyga
ec7cee7e75
Merge pull request #1352 from robertbaldyga/exp_obj-refactor
...
Refactor disk/exp_obj API
2022-09-27 10:11:57 +02:00
Robert Baldyga
abb48a9cc4
Merge pull request #1362 from arutk/fcet
...
tests: do not run test_core_device_error in lazy write cache modes
2022-09-27 10:10:44 +02:00
Michal Mielewczyk
38bef1f7fe
Integrate kmemleak into CAS
...
Kmemleak is a tool which allows to detect memory leaks in kernel. It requires
`CONFIG_DEBUG_KMEMLEAK` to be enabled during kernel compilation. Otherwise all
the kmemleak_* functions are NOPs.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-09-26 15:44:16 +02:00
Karolina Rogowska
90106d545a
Merge pull request #1326 from KlaudiaJ/io-class-tests-refactor
...
Refactor IO class tests
2022-09-26 11:55:08 +02:00
Klaudia Jablonska
1cf2af7ed4
Refactor IO class tests
...
Signed-off-by: Klaudia Jablonska <klaudia.jablonska@intel.com>
2022-09-26 12:38:46 +02:00
Rutkowski, Adam J
349ec69f65
Do not run test_core_device_error in lazy write cache modes
...
This test has multiple assumptions that do not hold for WB/WO:
1. it assumes primary storage errors would propagate to user I/O
2. cache is stopped with metadata flush, which would fail
3. after stopping CAS core content is verified with fio
4. cache is so small that it overfills, resulting in PT I/O further
complicating error accounting.
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-26 11:10:06 +02:00
Rutkowski, Adam J
d6eebc2cc3
test framework: method to get cache modes without given trait
...
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-26 11:09:42 +02:00
Robert Baldyga
5e2c1c15cf
Merge exp obj create/activate
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-23 14:21:37 +02:00
Robert Baldyga
d0d17545eb
Move major/minor management to exported object code
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-23 14:21:37 +02:00
Robert Baldyga
61dff1f6fd
Move private field to struct cas_exp_obj
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-23 14:21:37 +02:00