Commit Graph

2132 Commits

Author SHA1 Message Date
Tamar Levovitz
a202d8c9f5 Add support for Linux kernel up to 6.5
Signed-off-by: Tamar Levovitz <tamar.levovitz@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:47:21 +02:00
Robert Baldyga
9fc5e39349 Get rid of strlcpy()
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:22:34 +02:00
Robert Baldyga
5c4b5634cb Add missing "static" to the local functions
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:22:34 +02:00
Robert Baldyga
7dd5fa8029 Add missing headers
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:22:34 +02:00
Robert Baldyga
6aa30f05ce Remove unused function
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:22:34 +02:00
Robert Baldyga
adeb488bf3 Update OCF submodule
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:22:34 +02:00
Robert Baldyga
ad8e68ce4b
Merge pull request #1466 from Open-CAS/fix_rota_flag
Set exp_obj rotational=0
2024-04-03 16:33:57 +02:00
Robert Baldyga
334cc31a5c Set exp_obj rotational=0
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-04-03 12:11:42 +02:00
Robert Baldyga
72ff9ca66a
Merge pull request #1462 from robertbaldyga/update-ocf-20240322
Update OCF version
2024-03-22 16:41:40 +01:00
Robert Baldyga
2a4bed7010 Update OCF version
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-03-22 11:03:53 +01:00
Robert Baldyga
fd39e912cc
Merge pull request #1456 from robertbaldyga/add-missing-safeclib-files
casadm: Add missing safeclib files
2023-11-29 14:16:17 +01:00
Robert Baldyga
d124533596 casadm: Add missing safeclib files
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2023-11-29 14:11:27 +01:00
Robert Baldyga
93334b4675
Merge pull request #1451 from robertbaldyga/update-maintainers-email
Update maintainer's email address
2023-07-03 14:24:47 +02:00
Robert Baldyga
961b2204da Update maintainer's email address
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2023-07-03 13:33:29 +02:00
Robert Baldyga
741609742a
Merge pull request #1445 from mmkayPL/test-framework-html-entities
test-framework: Changing the template html < and > to lt/gt entities
2023-05-11 09:59:17 +02:00
Robert Baldyga
4dd212db5a
Merge pull request #1447 from robertbaldyga/remove-intel-support
Remove information suggesting Intel support
2023-04-26 12:12:51 +02:00
Robert Baldyga
8402f5bb0c Remove information suggesting Intel support
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2023-04-26 10:59:03 +02:00
Mateusz Kozlowski
a7a87fc83c test-framework: Changing the template html < and > to lt/gt entities
Some xpath parsers get confused by the explicit < and > characters.

Signed-off-by: Mateusz Kozlowski <mateusz.kozlowski@solidigm.com>
2023-03-31 10:53:44 +02:00
Robert Baldyga
f11d3e3694
Merge pull request #1431 from robertbaldyga/update-version-22.12
Update version to 22.12
2023-01-16 19:25:51 +01:00
Robert Baldyga
77980308f1
Merge pull request #1437 from mmichal10/fix-configure
configure: remove unused 1_write_flag.conf
2023-01-09 10:55:44 +01:00
Michal Mielewczyk
26f836507e configure: remove unused 1_write_flag.conf
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2023-01-05 14:39:02 +01:00
Robert Baldyga
5dc6133a09
Merge pull request #1399 from jwirkus/add_fuzzy_tests_api
Add fuzzy tests API
2023-01-03 15:34:05 +01:00
Robert Baldyga
ffa257f55b Update version to 22.12
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-12-30 15:59:56 +01:00
Robert Baldyga
9c9f9f98fb
Merge pull request #1429 from robertbaldyga/cleanup-queue-properly
Set gd->queue to NULL after queue cleanup
2022-12-30 15:24:14 +01:00
Robert Baldyga
9db73b2fb6 Set gd->queue to NULL after queue cleanup
Otherwise put_disk() tries to access the queue which leads to
kernel panic.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-12-30 15:18:07 +01:00
Robert Baldyga
8285bd076b
Merge pull request #1425 from mmichal10/bio-max-pages
Change CAS_BIO_MAX_VECS value
2022-12-29 11:44:04 +01:00
Michal Mielewczyk
4753374b1b Change CAS_BIO_MAX_VECS value
Previously when user tried to allocate to big bio he recieved NULL. As the
behavior was changed to `BUG()` passing out of range value is no longer legal.

Limiting the requested bio size to BIO_MAX_PAGES (on the older kernels) or to
BIO_MAX_VECS (on the newer ones) eliminates the problem as the macros represent
the max possible value.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-12-28 13:59:20 +01:00
Robert Baldyga
54f54d684a
Merge pull request #1407 from KlaudiaJ/performance1
Add basic read hit performance tests for CAS.
2022-12-27 11:36:10 +01:00
Robert Baldyga
08628075b9
Merge pull request #1424 from robertbaldyga/bring-tf-back
tests: Embed test framework within OCL repository
2022-12-23 13:11:16 +01:00
Robert Baldyga
849f59855c tests: Embed test framework within OCL repository
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-12-23 12:53:55 +01:00
Robert Baldyga
bc0c8c1bf5
Merge pull request #1415 from rafalste/fix_package_arch
packages: Fix architecture detection
2022-12-20 09:16:36 +01:00
Robert Baldyga
d240de2368
Merge pull request #1417 from robertbaldyga/add-missing-settle
smoke_test: Add missing udevadm settle
2022-12-20 09:16:18 +01:00
Robert Baldyga
e2a7884406
Merge pull request #1421 from kmajzero/rhel8_7_fix
Version comparison logic fix for RHEL workaround.
2022-12-19 16:08:14 +01:00
Krzysztof Majzerowicz-Jaszcz
a4326627e0 Version comparison logic fix for RHEL workaround.
This patch fixes the RHEL 8.7 hung task problem by correcting the version comparison logic
in the RHEL workaround configure step.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-12-19 08:35:19 -05:00
Karolina Rogowska
e9f138bc8d
Merge pull request #1396 from DocentSzachista/test-pin-wt-MT
tests: add test for pinned IO class eviction after unpinning that class
2022-12-13 15:31:03 +01:00
Robert Baldyga
052eb82db8 smoke_test: Add missing udevadm settle
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-12-07 17:26:37 +01:00
Rafal Stefanowski
f08a1d6822 packages: Fix architecture detection
Change uname flag for detecting current system architecture, as
the old flag was not reporting proper architecture type on Debian
distribution.
According to uname documentation, the new flag is portable so it
should be supported on all platforms.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-12-01 10:23:48 +01:00
jwirkus
2f4d2f70c5 Add fuzzy tests API
Signed-off-by: jwirkus <jakubx.wirkus@intel.com>
2022-11-30 13:42:26 +01:00
Klaudia Jablonska
08e15b6bdc Add basic read hit performance tests for CAS.
Tested in 'Write-Through' and 'Write-Back' mode.

Signed-off-by: Klaudia Jablonska <klaudia.jablonska@intel.com>
2022-11-29 17:22:26 +01:00
Karolina Rogowska
f1161e04d7
Merge pull request #1368 from rafalste/packaging_api
test/api: Add packaging functionality
2022-11-23 15:33:04 +01:00
Robert Baldyga
54bda646c5
Merge pull request #1406 from DocentSzachista/improve-set-param-err
Improve --set-param error message
2022-11-22 20:26:00 +01:00
Robert Baldyga
92e0a8cf06
Merge pull request #1404 from kmajzero/failed_add_core_uninitialized
Fix for using uninitialized variable in printk
2022-11-10 17:25:54 +01:00
Damian Raczkowski
b3456a6268 tests: add test for pinned IO class eviction after unpinning that class
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-11-10 14:56:37 +01:00
Damian Raczkowski
68cc4bfe7a Add print error message when invoked --set-param command with --cache-id that does not exists
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-11-10 11:07:29 +01:00
Krzysztof Majzerowicz-Jaszcz
2eef5ce36b Fix for using uninitialized variable in printk
This commit fixes the case of using unintialized variable in error
handling path after failed core addition.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-11-08 11:47:23 +00:00
Robert Baldyga
83f1a56f0d
Merge pull request #1394 from kmajzero/kernel_6.0_prep
Kernel 6.0 support
2022-11-07 11:40:17 +01:00
Robert Baldyga
6dbdb94b2d
Merge pull request #710 from karolinavelkaja/cas_dss_lvm_test
adding new lvm test: test_io_class_lvm_on_cas
2022-10-28 10:55:06 +02:00
Robert Baldyga
537ba381f1
Merge pull request #697 from karolinavelkaja/many_cores_on_many_lvms_test
adding new lvm test: test_many_cores_on_many_lvms
2022-10-28 10:54:51 +02:00
Robert Baldyga
f867fb9785
Merge pull request #682 from karolinavelkaja/cache1_core4_lvm4_test
adding new lvm test: test_many_lvms_on_many_cores
2022-10-28 10:54:36 +02:00
Robert Baldyga
8df9052925
Merge pull request #694 from karolinavelkaja/many_lvms_on_single_core_test
adding new lvm test: test_many_lvms_on_single_core
2022-10-28 10:54:03 +02:00