Jan Musial
a187813d13
Minor improvements in opencas.py/casctl
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
9da912e485
Forbid using load with other options in cas_cache
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
58b09c11a6
Forbid using load with other options in casadm
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
2ff055d689
Don't generate cache_id's on casadm side and use loaded cache params
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
199993d9a4
Fix error logging levels
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Robert Baldyga
3b42355b82
Merge pull request #1059 from pdebski21/1021
...
fix for issue #1021
2022-02-10 11:54:31 +01:00
Robert Baldyga
d942533f0d
Merge pull request #1045 from pdebski21/1024
...
fix for issue #1024 - mismatch metadata error msg
2022-02-07 16:33:32 +01:00
Robert Baldyga
3458688a9e
Merge pull request #1058 from robertbaldyga/version-v22.3
...
Update version to v22.3
2022-02-07 15:59:45 +01:00
Robert Baldyga
b263dec467
Merge pull request #1038 from karolinavelkaja/seq_cutoff_multi_core_test_2variants
...
test_seq_cutoff_multi_core improved to has 2 variants
2022-02-02 12:57:25 +01:00
Robert Baldyga
5301c29063
Update version to v22.3
...
Make the release name match the expected release date.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-02-01 03:17:40 +01:00
Piotr Debski
038631af2a
fix for issue 1021
...
cache device path for standby mode in Try `casadm --help | -H' for more information.
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-01-30 02:52:32 +01:00
Piotr Debski
1d1baed247
fix for issue #1024 - mismatch metadata error msg
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-01-25 04:20:09 +01:00
Karolina Rogowska
851cd2c940
test_seq_cutoff_multi_core improved to has 2 variants
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-01-14 14:59:37 +01:00
Robert Baldyga
7041517bf4
Merge pull request #1040 from robertbaldyga/fix-core-add-bug
...
Protect core config preparation function against non-existing cache
2022-01-12 12:29:54 +01:00
Robert Baldyga
415cd73438
Merge pull request #1027 from robertbaldyga/redesign-failover-standby
...
Redesign failover standby management
2022-01-11 17:00:06 +01:00
Robert Baldyga
05e0590fbc
Protect core config preparation function against non-existing cache
...
It is legal to call KCAS_IOCTL_INSERT_CORE against non-existing cache
(in try_add mode), however in that case core_id has to be provded.
Return error code in case when given cache id does not exist and core_id
is set to OCF_CORE_MAX.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-10 20:03:50 +01:00
Robert Baldyga
ab96a7d736
Merge pull request #1033 from jfckm/remove-packaging-package
...
Remove dependency on packaging Python package
2022-01-10 18:19:03 +01:00
Robert Baldyga
63bab9584c
Redesign failover standby management
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-05 16:17:52 +01:00
Robert Baldyga
4333f5f62c
Merge pull request #1037 from robertbaldyga/update-ocf-flapping
...
Update OCF - metadata flapping + tests
2022-01-05 13:41:33 +01:00
Robert Baldyga
dc75d76087
Update metadata corruption smoke tests for flapping
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-04 19:33:12 +01:00
Adam Rutkowski
0bfe0f84f2
Update OCF
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-04 19:33:00 +01:00
Robert Baldyga
1738876ff7
Merge pull request #1035 from hammerg/fix_kernel_5.11
...
configure: adapt to kernel 5.11
2021-12-31 10:56:56 +01:00
Robert Baldyga
46e6d92732
configure: trigger compilation error on pointer type incompatibility
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-12-29 16:45:11 +01:00
Jan Musial
c64e6a3f33
Fix code formatting in casctl
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-12-29 07:25:16 +01:00
Jan Musial
aa895fe20c
Remove dependency on packaging Python package
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-12-29 07:24:30 +01:00
Gal Hammer
2162e945c2
configure: adapt to kernel 5.11
...
The disk_part_iter_next function is declated in linux/genhd.h header file.
Signed-off-by: Gal Hammer <gal.hammer@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
2021-12-28 17:10:51 +02:00
Robert Baldyga
b0a3c9cd45
Merge pull request #982 from robertbaldyga/remove-redundant-io-get-put
...
Remove redundant ocf_io_get()/ocf_io_put() from bottom volume
2021-12-27 15:21:32 +01:00
Robert Baldyga
8207d5d2b8
Merge pull request #1001 from rafalste/multiarch-packages
...
Add multi-arch package build support
2021-12-09 10:57:02 +01:00
Robert Baldyga
ecda2431ce
Merge pull request #1010 from arutk/failover_err_msg
...
failover standby fixes
2021-11-30 17:36:48 +01:00
Adam Rutkowski
0f6a024025
Make device parameter obligatory in failover activate
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-12-01 00:58:09 +01:00
Adam Rutkowski
8f53682954
extended error messages in casadm --failover-activate
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-12-01 00:58:09 +01:00
Adam Rutkowski
5c1987440e
OCF update
...
Failover fixes and Makefile exec bit clear
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-12-01 00:58:09 +01:00
Adam Rutkowski
c1935b5c25
Add missing error messages in casadm
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-12-01 00:58:09 +01:00
Robert Baldyga
da0e4452b7
Merge pull request #1008 from mmichal10/cas-mem-leak
...
casadm: fix memory leak
2021-11-30 15:02:02 +01:00
Michal Mielewczyk
3d8d5c2e99
casadm: fix memory leak
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-11-26 12:32:49 +01:00
Robert Baldyga
20711a5069
Merge pull request #1003 from rafalste/fix_vmalloc
...
Fix kernel __vmalloc() check
2021-11-26 11:48:42 +01:00
Robert Baldyga
c974fee1da
Merge pull request #1006 from robertbaldyga/fix-error-mapping
...
Fix error mapping
2021-11-26 10:48:15 +01:00
Robert Baldyga
990f55d250
Fix error mapping
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-26 09:29:37 +01:00
Robert Baldyga
f3c64d2538
Merge pull request #1004 from robertbaldyga/io-path-map-error
...
Map OCF error codes to errno in io path
2021-11-25 18:58:48 +01:00
Robert Baldyga
d28881588d
Map OCF error codes to errno in io path
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-25 17:11:07 +01:00
Robert Baldyga
57a3938872
Improve error mapping code
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-25 17:11:07 +01:00
Robert Baldyga
73461fc26d
Add missing error mappings
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-25 16:27:08 +01:00
Rafal Stefanowski
3d23b6d08f
Fix kernel __vmalloc() check
...
Use dedicated 'pgprot_t' type instead of 'struct pgprot'
which is only defined for x86 architecture.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-11-25 09:14:42 +01:00
Rafal Stefanowski
f67f5c8aea
Add multi-arch package build support
...
- do not restrain package build to just one architecture
and allow user to create packages outside of x86_64
- add pckgen option to specify different architecture
to build packages for, instead of the current one
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-11-24 16:58:38 +01:00
Robert Baldyga
2ce3f52d7d
Merge pull request #995 from robertbaldyga/return-kernel-errors-on-io-path
...
Return kernel error codes on I/O path
2021-11-23 17:02:45 +01:00
Robert Baldyga
5f4f91d019
Merge pull request #996 from mmichal10/requirements.txt
...
rpm&deb: update dependencies
2021-11-22 15:19:53 +01:00
Michal Mielewczyk
9a22c61ac2
rpm&deb: update dependencies
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-11-22 14:40:13 +01:00
Robert Baldyga
6743c02033
Return kernel error codes on I/O path
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-22 14:35:24 +01:00
Robert Baldyga
772193c00e
Merge pull request #994 from mmichal10/requirements.txt
...
Requirements.txt
2021-11-22 11:32:54 +01:00
Michal Mielewczyk
3467ebc763
Installing python modules in installation guide
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-11-22 11:27:19 +01:00