Commit Graph

2154 Commits

Author SHA1 Message Date
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
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