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
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
Michal Mielewczyk
5685d91d9c
Add requirements.txt file
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-11-22 09:45:02 +01:00
Robert Baldyga
004609570a
Merge pull request #991 from robertbaldyga/update-ocf-20211119
...
Update OCF - dynamic metadata update in standby mode
2021-11-19 20:14:45 +01:00
Robert Baldyga
b189a7147e
Update OCF - dynamic metadata update in standby mode
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-19 17:02:32 +01:00
Robert Baldyga
d9b8df7748
Merge pull request #978 from rafalste/license_change_contributions
...
License change to be approved by contributors
2021-11-19 16:58:44 +01:00
Robert Baldyga
155e8705dc
Merge pull request #984 from Open-CAS/casadm_patch
...
Fix for issue #981
2021-11-15 13:39:38 +01:00
Krzysztof Majzerowicz-Jaszcz
4768d06b97
Fix for issue #981
...
Added extra argument checks for --failover-standby switch in casadm.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2021-11-15 12:32:45 +01:00
Robert Baldyga
91c7aa2361
Merge pull request #985 from robertbaldyga/min-python-version-check
...
Better minimum python version check
2021-11-10 12:36:40 +01:00
Robert Baldyga
9a8afc787a
Merge pull request #986 from robertbaldyga/shorten-service-timeout
...
Update open-cas.service timeout
2021-11-10 11:54:04 +01:00
Robert Baldyga
96e6acc7f1
casctl: Add minimum python version check
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:59:05 +01:00
Robert Baldyga
5bc29d26ca
casctl: Fix license tag
...
Open CAS Linux and other projects in the Open CAS repo were always intended
to be released under the OSI-approved BSD 3-Clause License.
Change the license tag to the proper one.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:59:05 +01:00
Robert Baldyga
791829a8ce
Revert "utils: casctl needs python 3.5+"
...
This reverts commit 087dd29560
.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:58:58 +01:00
Robert Baldyga
14abaf1589
Revert "opencas.py uses the f-string feature of python3.6+."
...
This reverts commit b533e2cbf9
.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:57:00 +01:00
Robert Baldyga
83a477683f
open-cas.service: Increase start timeout
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:56:16 +01:00
Robert Baldyga
b689ca3aa6
open-cas.service: Fix license tag
...
Open CAS Linux and other projects in the Open CAS repo were always intended
to be released under the OSI-approved BSD 3-Clause License.
Change the license tag to the proper one.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:56:16 +01:00
Robert Baldyga
5d33fce70f
Revert "utils: lengthen open-cas service timeout"
...
This reverts commit 40694e5ef3
.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-10 10:55:55 +01:00
Robert Baldyga
3f22553727
Merge pull request #983 from rafalste/set_promote_on_threshold
...
OCF submodule update
2021-11-09 20:24:55 +01:00
Rafal Stefanowski
2097f8029b
Set promote_on_threshold sequential cutoff flag
...
Due to linux thread scheduling nature, we prefer to promote streams
as early as we reasonably can. One way to achieve that is to set
promotion count really low, which unfortunately significantly increases
number of accesses to shared structures. The other way is to promote
streams which reach cutoff threshold, as we can reasonably assume that
they are likely be continued after thread is rescheduled to another CPU.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-11-09 13:41:49 +01:00
Robert Baldyga
259f9e3c58
Merge pull request #747 from Ostrokrzew/interrupt_test_fix
...
Fix interruption tests
2021-11-08 13:35:11 +01:00
Daniel Madej
7ab8423b55
Send actual output to CmdException
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-11-08 11:27:52 +01:00
Slawomir Jankowski
0b299b7d96
Fix interruption tests
...
Add helper functions and use them in interruption tests.
Fix tests descriptions and messages.
Update test according to current behaviour of cache mode switching.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-11-08 11:27:45 +01:00
Robert Baldyga
f909b21276
Remove redundant ocf_io_get()/ocf_io_put() from bottom volume
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-11-05 12:49:44 +01:00
Robert Baldyga
5431f83273
Merge pull request #962 from Open-CAS/passive_api
...
Passive state - API changes
2021-11-03 10:11:08 +01:00
Robert Baldyga
91ca3d3809
Merge pull request #980 from rafalste/license_change
...
Fix license
2021-11-02 10:19:08 +01:00
Krzysztof Majzerowicz-Jaszcz
3185564869
Standby state API changes
...
Don't print statistics for a cache in passive state
Passive cache - casadm set/get cache param disabled in passive state
Obsolete "cache_get_param" function removed
Error in layer_cache_management.c fixed
Flushing cache/core disabled with error for passive mode
Core addition disabled in passive mode
IO class setting disabled for passive mode
Counters reset disabled for passive mode
Ioctl handling changes to reflect OCF API changes
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2021-10-29 12:34:33 +02:00
Rafal Stefanowski
acec05060d
Fix license
...
Change license to BSD-3-Clause
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 12:46:42 +02:00