Jan Musial
6ad9e468c9
Tests scenarios for CAS startup incl failover
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-11 12:39:39 +02:00
Adam Rutkowski
124075783f
Merge pull request #1260 from kmajzero/test_activate_perf
...
Implementation of test_cache_activation_time
2022-07-07 18:44:25 +02:00
Krzysztof Majzerowicz-Jaszcz
27d8a6c956
Implementation of test_cache_activation_time
...
This patch implements a test to check the performance of cache
standby-activate.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-07-07 17:14:07 +02:00
Robert Baldyga
dc027bd368
Merge pull request #1269 from kmajzero/fix_test_with_metadata_size_calculation
...
Fix for tests using get_metadata_size()
2022-07-07 12:32:41 +02:00
Krzysztof Majzerowicz-Jaszcz
fce070cace
Fix for tests using get_metadata_size()
...
Since OCF has changed how metadata size is reported (OCF PR #744 ),
get_metadata_size() became get_metadata_size_on_device() and tests
using it are changed accordingly.
OCF version with required changes included in this commit
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-07-07 09:37:49 +02:00
Robert Baldyga
1b75bb2455
Merge pull request #1263 from pdebski21/test_standby_activate_with_corepool
...
Test standby activate with core from corepool
2022-07-06 15:57:44 +02:00
Piotr Debski
ee296dcdf0
Test standby activate with core from corepool
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-06 15:25:21 +02:00
Robert Baldyga
ede99f4db4
Merge pull request #1265 from pdebski21/fix_test_core_pool
...
Fix core pool tests
2022-07-06 11:18:47 +02:00
Karolina Rogowska
7dcc77bdec
Merge pull request #1262 from mmichal10/fix-discard-test
...
tests: fix test_trim_device_discard_support
2022-07-06 10:59:49 +02:00
Piotr Debski
be8cbcfe43
API fix obligatory parameter in core try add - (core id)
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-06 10:41:19 +02:00
Piotr Debski
e3dec000df
Fix for core pool tests
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-06 10:41:19 +02:00
Robert Baldyga
a448e24316
Merge pull request #1267 from kmajzero/test_standby_init_api_fix
...
API fix for casadm standby init
2022-07-06 09:45:40 +02:00
Krzysztof Majzerowicz-Jaszcz
09d36d5e11
API fix for casadm standby init
...
Cache line size parameter is handled inconsistently in standby init and
start cache methods.
This patch fixes this inconsistency so both methods accept a proper
CacheLineSize object.
Some of the existing tests needed fixing as well, as included in this
patch.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-07-05 20:25:05 +02:00
Robert Baldyga
e82b07746e
Merge pull request #1249 from Kgierszx/fix_active_cli_test
...
tests:fix_test_active_neg_cli_params
2022-07-05 12:08:49 +02:00
Michal Mielewczyk
304f09e171
tests: fix test_trim_device_discard_support
...
Instead of using workarounds, make sure to flush all the data to the disk
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-05 11:59:04 +02:00
Robert Baldyga
ea7ebe7237
Merge pull request #1229 from pskwarlo/faultinjection
...
Test for activating the same cache path
2022-07-05 09:50:55 +02:00
Robert Baldyga
fbe0fc90ec
Merge pull request #1259 from mmichal10/detect-fs
...
Fix standby detach
2022-07-05 08:36:46 +02:00
Kamil Gierszewski
e07bfd12ad
tests:fix_test_active_neg_cli_params
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-07-04 16:13:40 +02:00
pskwarlo
3ff56e77de
Test for activating the same cache path
...
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-07-04 10:59:58 +02:00
Michal Mielewczyk
a33896573e
Fix standby detach
...
As the check added in commit a90839f286
tries to open the caching devcie
exclusively, it is impossible to detach cache from a standby instance.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-04 10:27:26 +02:00
Robert Baldyga
f97d8f3eff
Merge pull request #1256 from Kgierszx/Fix_DRBD_cleanup
...
tests: Fix DRBD cleanup
2022-07-01 23:04:39 +02:00
Robert Baldyga
ed9bacf0b5
Merge pull request #1257 from robertbaldyga/update-ocf-20220630
...
Update OCF version
2022-06-30 14:10:00 +02:00
Robert Baldyga
d4de87d584
Update OCF version
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-06-30 13:57:55 +02:00
Kamil Gierszewski
6ac153e1ac
tests: Fix DRBD cleanup
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-06-29 17:14:32 +02:00
Robert Baldyga
36e1139169
Merge pull request #1253 from pdebski21/test_standby_init_with_preexisting_metadata
...
Test standby init with preexisting metadata or preexisting filesystem
2022-06-29 14:17:07 +02:00
Piotr Debski
b7792bbb56
Tests standby init with preexisting metdata and filesystem
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-06-29 13:44:26 +02:00
Robert Baldyga
8d8971dc48
Merge pull request #1255 from mmichal10/detect-fs
...
Check for preexisting FS before standby init
2022-06-29 13:38:13 +02:00
Michal Mielewczyk
a90839f286
Check for preexisting FS before standby init
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-29 12:46:56 +02:00
Robert Baldyga
798a4c9c99
Merge pull request #1252 from jfckm/bump-safeclib
...
Bump safeclib version
2022-06-29 11:57:00 +02:00
Jan Musial
a4c82c364f
Bump safeclib version
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-06-28 14:37:07 +02:00
Robert Baldyga
5fa04ff1f1
Merge pull request #1251 from mmichal10/28082022-update-ocf
...
Update OCF version
2022-06-28 09:55:40 +02:00
Michal Mielewczyk
ea5a2086c1
Update OCF version
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-28 09:41:12 +02:00
Robert Baldyga
52a83fb6c9
Merge pull request #1250 from arutk/270622
...
minor fixes in adapter
2022-06-27 17:37:20 +02:00
Adam Rutkowski
ae1bede207
remove unused config options
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-06-27 16:25:15 +02:00
Adam Rutkowski
738a07c821
avoid overflow in disk openers counter
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-06-27 16:21:44 +02:00
Robert Baldyga
c3f5a209c0
Merge pull request #1246 from robertbaldyga/dev-conf-lifecycle-fix
...
Fix device config life cycle management
2022-06-27 12:04:23 +02:00
Robert Baldyga
23cb6b5df4
Merge pull request #1248 from kmajzero/null_pointer_deref_fix_1235
...
Fix for null pointer dereference bug
2022-06-24 12:28:06 +02:00
Krzysztof Majzerowicz-Jaszcz
2739d83bec
Fix for null pointer dereference bug
...
Null pointer dereference occurs when terminating cache is standby detached state.
This fixes this problem.
Fixes #1235
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-06-24 06:06:49 -04:00
Robert Baldyga
f2adc702e7
Fix device config life cycle management
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-06-24 08:52:32 +02:00
Robert Baldyga
85cbeb997c
Merge pull request #1245 from mmichal10/null-terminate-buffers
...
Leave space for terminating buffers with null
2022-06-24 08:35:23 +02:00
Michal Mielewczyk
d9e643a41a
Leave space for terminating buffers with null
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-24 08:05:11 +02:00
Jan Musiał
bead2af4f4
Merge pull request #1240 from robertbaldyga/fix-mem-check-fallback
...
Fix required memory check in the fallback path
2022-06-23 10:28:01 +02:00
Robert Baldyga
7e6c8b97d7
Fix required memory check in the fallback path
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-06-22 20:41:27 +02:00
Robert Baldyga
57974faa1c
Merge pull request #1231 from mmichal10/fix-trim-eviction-test
...
tests: fix test_trim_eviction
2022-06-20 11:11:08 +02:00
Michal Mielewczyk
67aac6de1d
tests: reformat test_trim_eviction
...
This commit doesn't introduce any changes to the flow of the tests.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-17 11:18:17 +02:00
Michal Mielewczyk
9ad1d878a2
tests: fix test_trim_eviction
...
Replace ddrescue with dd
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-17 11:16:37 +02:00
Robert Baldyga
86bfdf3cd8
Merge pull request #1230 from kmajzero/crash_fix_1224
...
Fix for #1224 - kernel crash in the IO path
2022-06-14 11:57:04 +02:00
Krzysztof Majzerowicz-Jaszcz
b3140ed863
Fix for #1224 - kernel crash in the IO path
...
This fixes issue #1224 - null pointer dereference in kernel in the IO path with large IO's issued
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-06-14 05:12:48 -04:00
Adam Rutkowski
9d7afc4674
Merge pull request #1223 from mmichal10/fix-trim-test
...
tests: fix trim test
2022-06-10 16:30:25 +02:00
Adam Rutkowski
2c456908ef
Merge pull request #1226 from kmajzero/rhel_configure.patch
...
Fix compilation issues on rhel's 4.18 kernel
2022-06-10 15:26:45 +02:00