Commit Graph

2521 Commits

Author SHA1 Message Date
Katarzyna Treder
3a5df70abe
Merge pull request #1643 from katlapinka/kasiat/di-unplug-fix
Fix data integrity unplug test to work with fio newer than 3.30
2025-04-14 08:10:57 +02:00
Katarzyna Treder
289355b83a Fix data integrity unplug test to work with fio newer than 3.30
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-04-14 08:10:18 +02:00
Robert Baldyga
99af7ee9b5
Merge pull request #1642 from robertbaldyga/xfs-ioclass-fix
Fix io classification for XFS
2025-04-10 09:02:18 +02:00
Katarzyna Treder
b239bdb624
Merge pull request #1594 from katlapinka/kasiat/promotion-tests
Add tests for promotion policy
2025-04-09 13:12:01 +02:00
Katarzyna Treder
e189584557 Add tests for promotion policy
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-04-09 13:11:37 +02:00
Robert Baldyga
3c19caae1e
Merge pull request #1646 from mmichal10/configure-preempt
configure: add preemption_model_*() functions
2025-04-09 11:20:05 +02:00
Michal Mielewczyk
f46de38db0 configure: add preemption_model_*() functions
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-04-09 10:49:31 +02:00
Robert Baldyga
73cd065bfb
Merge pull request #1645 from jfckm/fix-linguist
fix: github-linguist still detects test directory
2025-04-08 13:59:45 +02:00
Jan Musial
46a486a442 fix: github-linguist still detects test directory
Signed-off-by: Jan Musial <jan.musial@huawei.com>
2025-04-08 13:14:36 +02:00
Katarzyna Treder
eee15d9ca4
Merge pull request #1613 from katlapinka/kasiat/test-data-path
Move tests data path to TF
2025-04-08 10:19:16 +02:00
Katarzyna Treder
b290fddceb Move tests data path to TF
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-04-08 09:38:05 +02:00
Katarzyna Treder
ede64a64f5
Merge pull request #1627 from Kamoppl/kamilg/update_api_march
test-api: api fixes
2025-04-07 15:10:07 +02:00
Kamil Gierszewski
d17157f9dd
test-api: api fixes
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-04-07 15:01:35 +02:00
Katarzyna Treder
1e546d664c
Merge pull request #1639 from robertbaldyga/fix-fault-injection-test
tests: Fix fault injection test
2025-04-07 14:27:59 +02:00
Robert Baldyga
779d9e96b4 tests: fault_injection: Fix block to request calculation
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-04-07 13:12:57 +02:00
Robert Baldyga
ceb208eb78 Fix io classification for XFS
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-04-04 19:46:12 +02:00
Robert Baldyga
0c6a3f699a
Merge pull request #1641 from robertbaldyga/update-ocf-20250402
Update OCF submodule
2025-04-02 15:41:14 +02:00
Robert Baldyga
94677ad6bf Update OCF submodule
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-04-02 15:34:30 +02:00
Robert Baldyga
767eea8f1a
Merge pull request #1640 from robertbaldyga/kernel-6.14-bdev-fix
Fix bdev handling on kernel v6.14
2025-04-02 14:03:53 +02:00
Robert Baldyga
72ae9b8161 Allocate bdev suitable for submit_bio()
Starting from kernel 6.14, submit_bio() is supported only for non-mq bdevs.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-04-02 12:38:27 +02:00
Robert Baldyga
c4a1923215 exp_obj: Add missing error handling
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-04-02 12:37:08 +02:00
Robert Baldyga
783e0229a5 tests: fault_injection: Disable udev, purge cache and reset stats
Improve accounting precision by eliminating noise.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-04-01 23:14:08 +02:00
Robert Baldyga
1f89ce7cfc
Merge pull request #1636 from robertbaldyga/update-version-v25.3
Update version to v25.3
2025-03-28 08:50:45 +01:00
Robert Baldyga
7cc1091a6a Update version to v25.3
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-03-27 20:23:39 +01:00
Robert Baldyga
8c6bf2c117
Merge pull request #1635 from robertbaldyga/kernel-6.14
Support kernel 6.14
2025-03-27 20:15:37 +01:00
Robert Baldyga
6aac52ed22 Support kernel 6.14
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-03-27 19:57:10 +01:00
Robert Baldyga
dad1e5af16
Merge pull request #1634 from mmichal10/upcate-ocf
Update OCF
2025-03-27 12:30:08 +01:00
Michal Mielewczyk
786651dea8 Update OCF
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-03-27 10:41:18 +01:00
Robert Baldyga
45a5d8a700
Merge pull request #1633 from robertbaldyga/update-ocf-20250326
Update OCF submodule
2025-03-26 08:27:41 +01:00
Robert Baldyga
84235350a0 Update OCF submodule
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-03-26 08:23:07 +01:00
Robert Baldyga
21d017d60b
Merge pull request #1632 from mmichal10/preemption
Disable preemption when accessing current cpu id
2025-03-26 08:19:35 +01:00
Michal Mielewczyk
b1f61580fc Disable preemption when accessing current cpu id
Currently Open CAS doesn't support kernels with involuntary preemption
anyways and once we add the support, we can get rid of this workaround

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-03-26 07:57:53 +01:00
Robert Baldyga
debbfcc0d1
Merge pull request #1631 from robertbaldyga/update-ocf-20250324
Update OCF submodule
2025-03-25 10:16:39 +01:00
Robert Baldyga
d4877904e4 Update OCF submodule
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2025-03-25 09:56:55 +01:00
Robert Baldyga
9ca6d79035
Merge pull request #1626 from mmichal10/duplicated_warning
Fix duplicated warning
2025-03-19 19:20:42 +01:00
Robert Baldyga
9d0a6762c0
Merge pull request #1623 from mmichal10/preemption
Involuntary preemption check
2025-03-19 12:49:17 +01:00
Michal Mielewczyk
0f23ae6950 Makefile: Error handling for failed modprobe
Print an additional error message and remove the installed kernel module

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-03-19 12:21:57 +01:00
Michal Mielewczyk
aa660ca0a5 Implement involuntary preemption check
Prevent loading the kernel module if the kernel can be involuntarily
preempted

CAS will work if the kernel has been compiled with either
CONFIG_PREEMPT_NONE, CONFIG_PREEMPT_VOLUNTARY, or CONFIG_PREEMPT_DYNAMIC.
If the dynamic configuration is enabled, the kernel must be booted with
preempt=none or preempt=voluntary.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-03-19 12:21:57 +01:00
Katarzyna Treder
a135a00627
Merge pull request #1602 from katlapinka/kasiat/test-identifier
Add unique test identifier to be able to manage logs
2025-03-19 11:27:20 +01:00
Katarzyna Treder
99b731d180 Add unique test identifier to be able to manage logs
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-03-19 10:12:08 +01:00
Michal Mielewczyk
c6f2371aea casadm: More specific warn for irresolvable cache
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-03-18 09:15:13 +01:00
Michal Mielewczyk
973023c459 casadm: Don't try to resolve detached cache path
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2025-03-18 09:13:25 +01:00
Robert Baldyga
2f827e2ff0
Merge pull request #1614 from Deixx/gitignore-update-gz
Update .gitignore after manpage installation fix
2025-03-11 11:08:08 +01:00
Katarzyna Treder
4d23c5f586
Merge pull request #1618 from katlapinka/kasiat/refactor-tests-description
Cleanup tests descriptions, prepare steps and values naming PART-1
2025-03-10 14:22:03 +01:00
Katarzyna Treder
476f62b2db Add separate steps for preparing devices, fix indent and move constants
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-03-10 14:21:15 +01:00
Katarzyna Treder
ba7d907775 Minor test description and names refactor
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-03-10 14:21:15 +01:00
Robert Baldyga
d4de219fec
Merge pull request #1619 from Deixx/io-direction-classifier
New IO class rule `io_direction`
2025-03-06 12:12:05 +01:00
Daniel Madej
4cc7a74534 Add io_direction to random params for IoClass
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2025-03-06 09:08:26 +01:00
Daniel Madej
1445982b91 Add io_direction to fuzzy test
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2025-03-06 09:08:26 +01:00
Daniel Madej
d3be9444e7 Add test for io_direction IO class rule
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2025-03-06 09:08:26 +01:00