Commit Graph

1968 Commits

Author SHA1 Message Date
Robert Baldyga
13d3decfa9 Consolidate modules
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-16 15:16:28 +02:00
Robert Baldyga
a03c577f59
Merge pull request #1319 from robertbaldyga/casdsk-remove-dead-code
Clean cas_disk out of dead code
2022-09-09 09:54:34 +02:00
Robert Baldyga
eb72afb2a5
Merge pull request #1341 from arutk/ocf_070922
OCF update
2022-09-08 23:11:58 +02:00
Robert Baldyga
0b39efed77
Merge pull request #1344 from rafalste/fix_package_build
packaging: Fix directory path to package build control files
2022-09-08 23:10:25 +02:00
Rafal Stefanowski
a5a4980479 packaging: Fix directory path to package build control files
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-08 16:36:00 +02:00
Robert Baldyga
bea1f22684
Merge pull request #1203 from rafalste/copyright_header_check_improvements
Copyright header check improvements
2022-09-08 13:27:30 +02:00
Adam Rutkowski
c67633199b OCF update
... including bug fixes and extended metadata corruption tests.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-07 21:30:37 +02:00
Rafal Stefanowski
cb8e322033 copyright/license: Extend file header check
- tighten the copyright regex to include all necessary info
- add checking for proper license identifier
- output only in case of error and put it in stderr

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:26:36 +02:00
Rafal Stefanowski
c2011c693d copyright/license: Improve checking for copyright header
Besides looking for files with proper extension, check also listed
files without extension, which should contain this header as well.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:26:34 +02:00
Rafal Stefanowski
6c8c3205ec copyright/license: Generate current year in copyright file during DEB package creation
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:23:11 +02:00
Rafal Stefanowski
91f5d497ef copyright/license: Add missing file extensions
Proper file extensions help 'copyright header checker' find files
that should contain copyright info. Extensions also clearly indicate
file type, and help to fit in with the file naming convention.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:23:11 +02:00
Robert Baldyga
29be022fb9
Merge pull request #1340 from rafalste/copyright_exclude_renamed
Exclude renamed and copied files from copyright check
2022-09-07 14:31:35 +02:00
Rafal Stefanowski
d74933b10a Exclude renamed and copied files from copyright check
Only added or modified files will be checked for a proper
copyright statement.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 13:01:20 +02:00
Robert Baldyga
ba7f693cff Clean cas_disk_defs.h header
Move definitions used only in only one source code file to that file.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-07 10:44:45 +02:00
Robert Baldyga
320c998a1d Remove cas_disk message prefixes
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-07 10:44:37 +02:00
Adam Rutkowski
b5d4ee3c14
Merge pull request #940 from Deixx/test-cleaning
Add test for configuring cleaning policies
2022-09-06 16:32:46 +02:00
Robert Baldyga
987f53b1ff
Merge pull request #1281 from arutk/foati
failover advanced tests implementation
2022-09-06 13:16:18 +02:00
Robert Baldyga
812a942fd1
Merge pull request #1339 from robertbaldyga/README-v22.6.1
README: Use version v22.6.1
2022-09-06 11:45:42 +02:00
Robert Baldyga
8be913462f
Merge pull request #1208 from rafalste/debug_packages
packaging: Fix debug package build
2022-09-06 11:45:23 +02:00
Robert Baldyga
787baf322e
Merge pull request #1330 from rafalste/update_dependencies
Remove python3-packaging from dependencies
2022-09-02 15:49:55 +02:00
Robert Baldyga
d235bfaa36 README: Use version v22.6.1
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-01 15:26:59 +02:00
Karolina Rogowska
5d42cc7edb
Merge pull request #1333 from arutk/iltf
fix test_incremental_load_hidden_core
2022-09-01 14:49:35 +02:00
Robert Baldyga
f70789e127 Remove cas_disk kobject
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-31 17:55:53 +02:00
Robert Baldyga
79cf6ffaed
Merge pull request #1322 from arutk/iwf
use INIT_WORK_ONSTACK for work on stack
2022-08-31 17:27:01 +02:00
Adam Rutkowski
aaab620c8d use INIT_WORK_ONSTACK for work on stack
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-01 01:04:22 +02:00
Robert Baldyga
d285587dc3
Merge pull request #1334 from kmajzero/fix_cov_problems
Fix for Coverity CID 356469
2022-08-31 17:17:07 +02:00
Krzysztof Majzerowicz-Jaszcz
fbe530fae1 Fix for Coverity CID 356469
Fix for CID 356469 - truncated time_t value.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-31 15:43:39 +02:00
Rutkowski, Adam J
8764338582 fix test_incremental_load_hidden_core
Cache state after load with missig cores should be "incomplete"
rather than "running.

Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-08-31 13:33:32 +02:00
Robert Baldyga
88dff6ead3
Merge pull request #1329 from robertbaldyga/seq-cutoff-threshold-issue
Fix seq cutoff min threshold calculation
2022-08-31 10:58:10 +02:00
Karolina Rogowska
7e024490d9
Merge pull request #1331 from kmajzero/test_cas_startup_negative
Fix for test_cas_startup_negative_missing_core
2022-08-31 09:35:59 +02:00
Krzysztof Majzerowicz-Jaszcz
9c45851147 Fix for test_cas_startup_negative_missing_core
Bad parameter fix for this test

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-30 16:40:34 +02:00
Rafal Stefanowski
8cadcb5c0e Remove python3-packaging from dependencies
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-30 16:14:40 +02:00
Karolina Rogowska
8df4bffafc
Merge pull request #1327 from karolinavelkaja/ioclass_wlth_test_fix
tests: fix test_ioclass_wlth
2022-08-30 10:59:42 +02:00
Robert Baldyga
49ef039f8c tests: Fix units in test_seq_cutoff_set_invalid_threshold test
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-29 17:48:30 +02:00
Robert Baldyga
7260d29714 casadm: Fix seq cutoff min threshold calculation
Min seq cutoff threshold value is defined in bytes and if it's lower than
1 KiB, then dividing it by KiB will give 0, which is potentially lower than
the real min value. Use DIV_ROUND_UP() to address this issue.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-29 17:41:55 +02:00
Karolina Rogowska
e7d1706082 fix test_ioclass_wlth
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-29 16:42:04 +02:00
Robert Baldyga
0a4d86e3fe
Merge pull request #1323 from kmajzero/rhel_conf_fix
RHEL 8.5 workaround - version check fix
2022-08-29 10:10:26 +02:00
Krzysztof Majzerowicz-Jaszcz
28bb302b5f RHEL 8.5 workaround - version check fix
Fix the version check for the RHEL8.5 workaround

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-26 11:26:57 +02:00
Karolina Rogowska
eb1a4cc480
Merge pull request #1183 from jwirkus/add_fuzzy_tests_1
Add fuzzy statistics and fuzzy io class tests
2022-08-25 14:50:48 +02:00
Robert Baldyga
4881e6c0f0 Remove casdsk_disk mode
The mode is no longer needed. Remove remaining dead code.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-25 13:02:25 +02:00
Robert Baldyga
8eb512a743 Remove cas_disk symbol lookup
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-25 13:02:25 +02:00
Robert Baldyga
16576c7a95 Remove "mode" sysfs property of casdsk_disk
After removal of PT mode this property is meaningless.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-25 13:02:25 +02:00
Robert Baldyga
563aeb0058 Remove casdsk_disk_shutdown_all()
As we no longer have in flight upgrade, all exported objects are guaranteed
to be destroyed before cas_cache module is unloaded, so this deinit
mechanism is not needed anymore.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-25 13:02:25 +02:00
Robert Baldyga
10910d1a65 Remove PT mode from cas_disk
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-25 12:34:59 +02:00
Robert Baldyga
3102856025 Remove unused exported symbols from cas_disk
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-25 12:33:51 +02:00
Robert Baldyga
44ab772107
Merge pull request #1317 from KlaudiaJ/kj-ci-basic-test
Add to CI basic test for data integrity.
2022-08-23 20:21:48 +02:00
Robert Baldyga
4501520d8d
Merge pull request #1318 from karolinavelkaja/Test_incremental_load_ci_name_change
change test file name to "test_incremental_load_ci" (was duplicated)
2022-08-23 20:19:01 +02:00
Klaudia Jablonska
5b01022430 Add to CI basic test for data integrity.
Signed-off-by: Klaudia Jablonska <klaudia.jablonska@intel.com>
2022-08-23 16:40:24 +02:00
Rutkowski, Adam J
042e2a0b5b failover advanced tests implementation
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-08-23 12:23:36 +02:00
Karolina Rogowska
f0adc14948
Merge pull request #1280 from rafalste/test_permissions
test: Add file permissions test
2022-08-22 15:32:31 +02:00