Robert Baldyga
cf4a40e6c0
Merge pull request #1522 from robertbaldyga/forward_io
...
Implement forward_io interface
2024-09-20 18:42:35 +02:00
Robert Baldyga
c73686fa50
Remove unused configure.d symbols
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-20 18:03:06 +02:00
Robert Baldyga
4bb4b914cb
Remove unneeded ifdefs
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-20 18:03:06 +02:00
Robert Baldyga
baa0eb2698
Update OCF - forward_io changes
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-20 18:03:06 +02:00
Katarzyna Treder
ae2d14dfb2
Fix for core IO class statistics
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-18 09:04:47 +02:00
Kamil Gierszewski
cc5d796978
test-api: fix core pool parse
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-16 10:22:33 +02:00
Kamil Gierszewski
173810ad6d
tests: fix tests after tf disk recognition refactor
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-16 10:18:50 +02:00
Robert Baldyga
1e80f2d0c2
Update after removing struct ocf_io
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-13 12:38:26 +02:00
Robert Baldyga
5820e17e21
Drop support for submit_* ops
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-13 12:38:26 +02:00
Robert Baldyga
bc7710fb7d
Provide forward ops in block volume implementation
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-13 12:36:10 +02:00
Robert Baldyga
8f5dbc997b
Merge pull request #1521 from katlapinka/kasiat/tf-update
...
Update test-framework submodule version
2024-09-13 12:04:28 +02:00
Katarzyna Treder
73eb0c399b
Update test-framework submodule version
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-13 11:59:50 +02:00
Katarzyna Treder
a1ff17bbd3
Change path type to string in fs_utils remove command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-13 11:35:36 +02:00
Robert Baldyga
252866d840
Merge pull request #1516 from mmichal10/fix-compilation
...
Fix checking user param
2024-09-11 11:19:33 +02:00
Michal Mielewczyk
e7d7064341
Fix checking user param
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-11 11:04:20 +02:00
Robert Baldyga
7c7e7bff3f
Merge pull request #1512 from robertbaldyga/various_fixes
...
Bunch of smaller fixes
2024-09-10 15:20:24 +02:00
Robert Baldyga
ded760a760
Fix debug macros
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Robert Baldyga
d453456c5f
Add ./tags to .gitignore
...
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Roel Apfelbaum
6367a66a68
Fix comment referring to old name of CAS control device
...
Signed-off-by: Roel Apfelbaum <roel.apfelbaum@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Rafal Stefanowski
69c4ca246e
Fix interpreting version numbers as octal
...
Bash interprets any number with leading zero as an octal instead of
decimal, so make sure it doesn't happen if any version number has a
leading zero in version input file.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Michal Mielewczyk
72026cea63
Add missing ocf_volume_destroy() on cache init
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Michal Mielewczyk
6a409a0064
Set mngt queue to null if couldn't start thread
...
This prevents attempt to deinitialize the queue for the second time in
the start rollback
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Michal Mielewczyk
72594436ce
Don't access cache priv before locking cache
...
Cache priv may be freed by concurrent stop.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Michal Mielewczyk
79a73fded2
ctx: Remove unused zalloc ops
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:37 +02:00
Ian Levine
c9f301249e
Check memory parameters before copying to user space
...
Signed-off-by: Ian Levine <ian.levine@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 15:08:16 +02:00
Amir Haroush
14aea0eda0
Fix compilation distclean race where several tries to rm
...
If we run 'make -j' all 3 targets [modules, casadm, utils] will run in parallel.
modules & casadm will then call sync, and then call distcleandir from
ocf/Makefile. The distcleandir will try to remove empty directories, but now we
have two instances of make trying to do that. Also, what if one of them just
created directory to put files in it, and the other just removes it.
Make casadm target dependent on modules target will ensure that it will start
running only after modules target is done.
Signed-off-by: Amir Haroush <amir.haroush@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Avi Halaf
1a1d9507af
Fix get-param casadm man page
...
Signed-off-by: Avi Halaf <avi.halaf@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Amir Haroush
b02c02f1bb
Makefile: fix dependencies for casadm
...
Signed-off-by: Amir Haroush <amir.haroush@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Michael Lyulko
ef22115539
Change compiler flags from -O2 to -Ofast
...
Signed-off-by: Michael Lyulko <michael.lyulko@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Toby Roth
988ac5f645
Do not submit IO in complete flush
...
Signed-off-by: Toby Roth <toby.roth@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Jan Musial
ab81ac667b
Remove unused fields
...
Signed-off-by: Jan Musial <jan.musial@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Gal Hammer
b9110635c1
cas_cache: fix "blk_update_request: operation not supported" error
...
A write request with the REQ_RAHEAD flag enabled cause the nvme driver
to send a write command with access frequency value that is reserved
(at least on specification version 1.4c). NVME devices might fail this
write command with an unsupported error. So we now clear the request's
flag based on its direction.
Signed-off-by: Gal Hammer <gal.hammer@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
Robert Baldyga
de16763bec
Merge pull request #1496 from Kamoppl/kamilg/update_tests
...
tests: update tests
2024-09-10 14:35:18 +02:00
Robert Baldyga
45c37edd39
Merge pull request #1513 from mmichal10/update-readme
...
README: Update the latest version to 22.6.3
2024-09-10 12:09:35 +02:00
Michal Mielewczyk
fb239ccd7d
README: Update the latest version to 22.6.3
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-10 12:07:36 +02:00
Katarzyna Treder
b15076a22e
Fuzzy tests for casadm 'print statistics' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
e8fbc624ed
Fuzzy tests for casadm 'set param' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
4efdf36f45
Fuzzy tests for casadm 'load io class' command and for io class config
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
b8364ea593
Fuzzy tests for casadm 'get param' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
1861758c6a
Fuzzy tests for casadm 'flush' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
7f843fd6bf
Fuzzy tests for casadm 'set cache mode' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
aeb0321393
Fuzzy tests for casadm 'stop' and 'remove' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
fd7cf1ad7d
Fuzzy tests for casadm 'start cache' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
f4bfd5398e
Fuzzy tests for casadm 'io class list' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
981946de7d
Fuzzy tests for casadm 'add core' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
8156abdd12
Add missing peach fuzzer config files
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
619a6c8e2a
Refactor common fuzzy files
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
d324f541a1
Merge pull request #1488 from Kamoppl/kamilg/update_cas_api
...
test-api: Update cas api
2024-09-10 11:59:03 +02:00
Kamil Gierszewski
df3c759de8
test-conftest: fix git
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:39:08 +02:00
Kamil Gierszewski
36903a2c67
test-api: update cas api after reformat
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:39:08 +02:00