Commit Graph

2322 Commits

Author SHA1 Message Date
Michal Mielewczyk
5ef09fb1a2 casadm: A generic mechanism to disable commands
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-06 12:24:15 +02:00
Robert Baldyga
ec0e03fb39
Merge pull request #1502 from robertbaldyga/update-mngt-queue-creation
Update mngt queue creation API
2024-09-05 16:15:16 +02:00
Robert Baldyga
d605ab48c8 Update mngt queue creation API
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-05 16:07:37 +02:00
Robert Baldyga
45a43e146f
Merge pull request #1500 from katlapinka/kasiat/remove-duplicate
Remove test trim duplicate and update the original one
2024-09-04 15:59:18 +02:00
Katarzyna Treder
e711dc981d Remove test trim duplicate and update the original one
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-04 13:47:18 +02:00
Robert Baldyga
5ca92d422d
Merge pull request #1402 from robertbaldyga/tests-fix-invalid-mark
tests: Fix invalid mark
2024-09-04 13:41:45 +02:00
Robert Baldyga
63244e6943
Merge pull request #1499 from katlapinka/kasiat/perf-test
Add write performance test
2024-09-04 11:32:43 +02:00
Katarzyna Treder
9e0d7df3a2 Add write performance test
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-04 11:29:36 +02:00
Robert Baldyga
dd040386c5
Merge pull request #1498 from robertbaldyga/fix-kmemleak
rpool: Mark an entry for kmemleak outside of atomic context
2024-09-02 13:53:56 +02:00
Robert Baldyga
20ad0478c8 rpool: Mark an entry for kmemleak outside of atomic context
The kmemleak_alloc() function can sleep, thus should not be called
under spinlock. This patch fixes bug occurring on debug kernel with
kmemleak enabled.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-02 12:16:59 +02:00
Robert Baldyga
80f22e99f4
Merge pull request #1495 from robertbaldyga/version-v24.9
Update version to v24.9
2024-08-28 23:37:35 +02:00
Robert Baldyga
623f32f33c Update version to v24.9
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-08-28 18:50:41 +02:00
Robert Baldyga
b1f3cc1520
Merge pull request #1494 from robertbaldyga/update-ocf-20240828
Update OCF submodule and API changes
2024-08-28 09:51:42 +02:00
Michal Mielewczyk
c9644baf42 Rename "initializing" cache state to "detached"
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-08-28 09:50:27 +02:00
Robert Baldyga
91590ce96f Update OCF submodule
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-08-28 08:17:17 +02:00
Michał Mielewczyk
020b6e2b99
Merge pull request #1492 from Open-CAS/mmichal10-patch-1
github: Improve bug template
2024-08-21 11:15:54 +02:00
Michał Mielewczyk
348b39ba69
github: Improve bug template
Ask reporter to include configuration files for fio, vbdench or any other
benchmarking tool

Signed-off-by: Michał Mielewczyk <michal.mielewczyk@huawei.com>
2024-08-21 10:47:07 +02:00
Robert Baldyga
6c0829d5ea
Merge pull request #1481 from mmichal10/fput-sync
Close block devices in a synchronous manner
2024-07-31 08:45:33 +02:00
Michal Mielewczyk
0836101b85 configure: refactor bdev_{close|open}() API
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-07-31 07:13:12 +02:00
Michal Mielewczyk
cc7ac0f551 Close block devices in a synchronous manner
fput() doesn't wait for all references on the disk to be unclaimed but instead
it only schedules a worker that is supposed to cleanup resources once the device
is released.

During cache initialization we open device at least twice - to check its
properties and then to actually use it as cache. But since we use the async
fput() after the probe, the device might still be in use once we try to open it
for the second time (the second open returns -EBUSY).

Using synchronous __fput_sync() to close the device fixes the issue

__fput_sync() exists in the kernel API longer than bdev_file_open_by_path() and
the presence of the latter is the condition to use the synchronous put so it is
perfectly safe to get rid of fput() from the configure framework

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-07-31 07:12:01 +02:00
Robert Baldyga
b3afde9b98
Merge pull request #1484 from katlapinka/kasiat/fix-tf-submodule
Fix TF submodule
2024-07-25 13:14:53 +02:00
Katarzyna Treder
ba559a2b67 Fix TF submodule
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-07-25 12:18:42 +02:00
Katarzyna Treder
f03ce559a0
Merge pull request #1477 from katlapinka/kasiat/ft-submodule
Remove TF files and add TF as a submodule
2024-07-25 10:47:09 +02:00
Robert Baldyga
518dd6776e
Merge pull request #1480 from robertbaldyga/fix-redefined
Fix redefined macro error
2024-07-23 22:06:24 +02:00
Robert Baldyga
2bcb220a03 Fix redefined macro error
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-07-22 15:53:10 +02:00
Katarzyna Treder
80a74a11f4 Update to work with TF submodule
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-07-16 15:07:04 +02:00
Katarzyna Treder
221bc61769 Add TF submodule
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-07-12 13:13:52 +02:00
Katarzyna Treder
675c37b640 Remove TF files
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-07-12 13:11:55 +02:00
Robert Baldyga
eb97598e48
Merge pull request #1476 from robertbaldyga/fix-compilation-on-older-rhel
Fix compilation on RHEL <9.x
2024-07-12 11:54:35 +02:00
Robert Baldyga
4b693a5ecd Fix compilation on RHEL <9.x
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-07-11 15:19:11 +02:00
Robert Baldyga
0cf71d4842
Merge pull request #1473 from robertbaldyga/kernel-6.9
Add support for kernel v6.9
2024-07-08 14:17:34 +02:00
Robert Baldyga
d3a1ce8987 Add support for kernel v6.9
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-07-08 14:16:14 +02:00
Robert Baldyga
4ad71a55b6
Merge pull request #1470 from MJAsadi72/master
Fix compile on Rockylinux 9
2024-06-27 18:16:54 +02:00
Robert Baldyga
8d59d86d7a
Merge pull request #1471 from mmichal10/fix-missing-header
configure: add missing include
2024-06-27 18:15:19 +02:00
MohammadJavad Asadi
b4a1e9aac3 Fix compile on Rockylinux 9
Signed-off-by: MohammadJavad Asadi <mj.asadi72@gmail.com>
2024-06-22 13:37:54 +03:30
Michael Lyulko
7e7a93132d configure: add missing include
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-06-21 09:42:02 +02:00
Robert Baldyga
ba5bdf4796
Merge pull request #1468 from robertbaldyga/kernel-6.8
Add support for kernel up to 6.8
2024-05-14 09:13:06 +02:00
Robert Baldyga
b9aa65f254 Add support for Linux kernel up to 6.8
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-05-14 08:47:45 +02:00
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
dependabot[bot]
51cacba46e
Bump tj-actions/changed-files from 18.2 to 41 in /.github/workflows
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 18.2 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v18.2...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 16:43:21 +00: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