Commit Graph

1489 Commits

Author SHA1 Message Date
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
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
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
Rafal Stefanowski
c7a0ae4af3 License change to be approved by contributors
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-27 11:54:04 +02:00
Adam Rutkowski
4e9ee56b78
Merge pull request #973 from jfckm/remove-tf
Remove references to test-framework
2021-10-22 14:10:15 +02:00
Sonia BENDIG-Pszczolińska
23052671e4
Merge pull request #974 from rafalste/dictionary_update
Add 'failover' to smoke-test's dictionary
2021-10-22 13:56:58 +02:00
Rafal Stefanowski
4bae7269ce Add 'failover' to smoke-test's dictionary
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-22 11:23:18 +02:00
Jan Musial
fa371cd061 Remove test-framework checks in cas_version_gen and pckgen
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-10-22 09:04:01 +02:00
Jan Musial
bba0e5aa56 Remove test-framework submodule
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-10-22 09:03:26 +02:00
Michał Wysoczański
21a44d54a4
Merge pull request #969 from arutk/failover
Failover detach
2021-10-08 17:36:02 +02:00
Adam Rutkowski
88f1b10954 OCF update
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-10-08 16:40:55 +02:00
ajrutkow
5a5bf31e04 whitelist drbd device
Signed-off-by: ajrutkow <adam.j.rutkowski@intel.com>
2021-10-08 15:20:52 +02:00
Adam Rutkowski
90d8584bd7 failover detach
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-10-08 15:20:52 +02:00
Robert Baldyga
86c7a9f5ae
Merge pull request #964 from karolinavelkaja/metadata_mode_cleanup
Cleanup: removing 'metadata_mode' leftovers
2021-10-01 12:56:26 +02:00
Robert Baldyga
464cf141c0
Merge pull request #966 from karolinavelkaja/udev_test_imports_fix
Fixing imports in test_udev
2021-10-01 12:55:57 +02:00
Robert Baldyga
02b7abc263
Merge pull request #965 from karolinavelkaja/get_core_info_reader
Using DictReader for getting core info from 'list caches' command output
2021-09-29 00:16:03 +02:00
Robert Baldyga
16f1de5245
Merge pull request #967 from karolinavelkaja/stop_cache_cli_message
Update cli error message for stopping cache
2021-09-29 00:15:49 +02:00
Karolina Rogowska
2b245a7177 Update error message for stopping cache
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-09-27 15:59:17 +02:00
Karolina Rogowska
67d0729355 Fixing imports in test_udev
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-09-27 15:49:30 +02:00
Karolina Rogowska
5951e5996f Using DictReader for getting core info from 'list caches' command output
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-09-27 15:44:28 +02:00
Karolina Rogowska
f057eba2cb Removing 'metadata_mode' leftovers
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-09-27 15:35:44 +02:00
Michał Mielewczyk
5b0fd800b6
Merge pull request #961 from robertbaldyga/readme-v21.6.1
Update installation instructions for 21.6.1
2021-09-24 12:40:22 +02:00
Robert Baldyga
d71bf4ce37 Update installation instructions for 21.6.1
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-09-15 18:37:58 +02:00
Robert Baldyga
a13ddfbfa8
Merge pull request #790 from karolinavelkaja/zero_metadata_test
Adding new test for '--zero-metadata' command
2021-09-14 07:57:00 +02:00
Robert Baldyga
99973df8b5
Merge pull request #586 from karolinavelkaja/fault_injection_many_cores_raid_as_cache_test
Adding test 'test_many_cores_raid_as_cache'
2021-09-13 22:19:59 +02:00
Robert Baldyga
6792c1b455
Merge pull request #930 from robertbaldyga/cache-passive-state
Add cache passive state
2021-09-10 13:09:23 +02:00