Robert Baldyga
90c3c155ed
Update README to point to latest (v20.12.2) release
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-02-25 07:21:15 +01:00
Robert Baldyga
c2c1d9eb4c
Merge pull request #691 from mmichal10/requirements
...
Requirements for occupancy per ioclass
2021-02-19 17:10:46 +01:00
Michal Mielewczyk
dcdcc658b4
Requirements for occupancy per ioclass
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-02-19 09:02:20 -05:00
Robert Baldyga
09b7af82e5
Merge pull request #700 from mmichal10/update-ocf-cleaning
...
update ocf: fix cleaning policy
2021-02-18 16:42:27 +01:00
Michal Mielewczyk
c7377b0bb2
update ocf: fix cleaning policy
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-02-18 10:24:42 -05:00
Robert Baldyga
59c76d91ff
Merge pull request #678 from robertbaldyga/requirements
...
doc: Introduce reqparse, the plain text requirement parser
2021-02-18 14:05:23 +01:00
Robert Baldyga
008e327492
Merge pull request #693 from Ostrokrzew/template
...
Modify issues template
2021-02-16 17:54:11 +01:00
Robert Baldyga
a43e2442c9
Merge pull request #698 from robertbaldyga/manpage-remove-casadm-nvme
...
Remove info about casadm -N command from manpage
2021-02-16 17:53:55 +01:00
Robert Baldyga
9eaca4bc96
Remove info about casadm -N command from manpage
...
This command is no longer available.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-02-16 15:38:21 +01:00
Katarzyna Łapińska
b72880ce86
Merge pull request #634 from katlapinka/ioclass-fixes
...
IO classification tests fixes
2021-02-16 12:33:25 +01:00
Katarzyna Lapinska
73e9906a54
Test for loading cache after dirty shutdown
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-02-16 12:05:55 +01:00
Katarzyna Lapinska
b8158f9ceb
Add remove core script command to tests API
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-02-16 11:47:11 +01:00
Slawomir Jankowski
84c54e2740
Enumerate few types of devices in issue templates
...
instead of asking user about specific model.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-02-15 11:34:24 +01:00
Robert Baldyga
65796836e4
Merge pull request #689 from mmichal10/update-readme
...
Update README to v20.12.1
2021-02-11 12:42:52 +01:00
Michal Mielewczyk
bcc83f4256
Update README to v20.12.1
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-02-11 06:27:31 -05:00
Robert Baldyga
dae14f3e4b
Merge pull request #683 from rafalste/rpm_python3
...
RPM: Improve python files handling
2021-02-10 11:44:51 +01:00
Robert Baldyga
1697f0d10b
Merge pull request #684 from Ostrokrzew/make_fix
...
Fix for building OpenCAS
2021-02-10 11:43:54 +01:00
Slawomir Jankowski
e35b8dd12f
Fix for building OpenCAS
...
On some systems, e.g. Ubuntu, the order of linking `math` library is
important and when linking is done too early, openCAS making fails.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-02-09 10:54:11 +01:00
Rafal Stefanowski
e17da1cdcc
RPM: Improve python files handling
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-02-09 01:04:36 +01:00
Robert Baldyga
a901475f1b
doc: Introduce reqparse, the plain text requirement parser
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-02-03 20:23:08 +01:00
Robert Baldyga
b920113ad5
Merge pull request #676 from mmichal10/fix-stats-ocf
...
Update ocf `fix ioclass stats`
2021-02-03 15:25:31 +01:00
Michal Mielewczyk
87bac66e15
Update ocf fix ioclass stats
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-02-03 07:25:15 -05:00
Robert Baldyga
2272127b50
Merge pull request #666 from mmichal10/fix-rounding-error
...
casadm: don't cast a float to an int explicitly
2021-01-29 16:10:31 +01:00
Michal Mielewczyk
ffaaaa0a34
casadm: don't cast a float to an int explicitly
...
If an underflowed float number was casted to an int explicitly, it's value was
rounded to a lower value.
Using `round()` function ensures that the number will be always rounded to a
nearest integer.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-01-29 09:25:16 -05:00
Katarzyna Łapińska
ff00dab04c
Merge pull request #633 from katlapinka/fix-by-id
...
Fixes in tests and CAS API due to the change with by-id devices paths
2021-01-26 13:36:14 +01:00
Katarzyna Lapinska
87f68bb2f5
Fixes in tests and CAS API due to the change with by-id devices paths
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-26 13:19:47 +01:00
Robert Baldyga
3acb51c922
Merge pull request #656 from robertbaldyga/update-version-v21.3
...
Update version to next planned release
2021-01-26 12:13:46 +01:00
Katarzyna Łapińska
1eea91b15c
Merge pull request #657 from katlapinka/tf-update
...
[TF] Test Framework update
2021-01-26 10:18:22 +01:00
Robert Baldyga
c00dc77d0e
Merge pull request #655 from robertbaldyga/update-tutorial-v20.12
...
README: Update tutorial to point to the latest release
2021-01-26 10:04:39 +01:00
Katarzyna Lapinska
936e71baa9
[TF] Test Framework update
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-26 09:57:05 +01:00
Robert Baldyga
e52f46efb9
Update version to next planned release
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-01-25 19:29:25 +01:00
Robert Baldyga
d63cd698a3
Merge pull request #651 from Deixx/pytest-asyncio
...
Add pytest-asyncio package to requirements
2021-01-25 19:26:02 +01:00
Robert Baldyga
b992818356
README: Update tutorial to point to the latest release
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-01-25 19:24:48 +01:00
Katarzyna Łapińska
3685a926b4
Merge pull request #577 from karolinavelkaja/fault_power_hit_test
...
Adding test 'test_fault_power_hit' and cli messages accordingly
2021-01-25 13:50:28 +01:00
Katarzyna Łapińska
5ef08b06ac
Merge pull request #598 from karolinavelkaja/check_number_of_processes_test
...
add test 'test_check_number_of_processes'
2021-01-25 13:49:19 +01:00
Katarzyna Łapińska
362e224dba
Merge pull request #601 from katlapinka/old-version
...
Workaround for running tests on CAS version with old versioning style
2021-01-25 13:46:35 +01:00
Daniel Madej
dbe9573afa
Add pytest-asyncio package to requirements
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-01-25 09:20:07 +01:00
Robert Baldyga
af664f9917
Merge pull request #649 from arutk/zero-md-old-meta
...
Zero metadata if on-disk version differs from current
2021-01-21 17:54:29 +01:00
Adam Rutkowski
b0ba347ee7
man entry for --zero-metadata command
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 17:11:31 +01:00
Adam Rutkowski
4c98949cac
Add force option to zero-metadata
...
Force option is used to enforce metadata erasure despite
dirty data, metadata mistmatch and/or dirty shutdown.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 15:50:17 -06:00
Adam Rutkowski
68b68db9c0
Zero metadata if on-disk version differs from current
...
Kernel adapter now returns is_cache_device=1 and newly added
metadata_compatible=0 in case of metadata detected with
differing version (instead of is_cache_device = 0).
This allows zero-superblock command to recognize old
cache instance and clear it.
casadm --script --check-cache-device still returns 'Is cache'='no'
in this case, as this layer only cares about metadata in current
version to be able to detect dirty datas tatus.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 14:47:54 -06:00
Robert Baldyga
63eb23ba40
Merge pull request #648 from rafalste/update_copyright
...
Update copyright statements (2021)
2021-01-21 13:27:51 +01:00
Karolina Rogowska
813c602ab3
adding test 'test_raid_as_cache'
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
moving test to volumes group
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-01-21 13:25:21 +01:00
Robert Baldyga
be4920eb4e
Merge pull request #644 from arutk/list
...
casadm robustness and security fixes
2021-01-21 13:24:13 +01:00
Adam Rutkowski
2b739d1165
Check exclusive device access before probing metadata
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 14:03:36 -06:00
Adam Rutkowski
5f65d93a36
Replace cache started check with exclusive open in zero superblock.
...
This check covers the previous case (cache started) as well as
other potential incorrect usages of the command. Also now
the check is made exactly at the moment of opening the
device to write to.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 14:03:36 -06:00
Adam Rutkowski
1fcb175fee
Fix probing cache device in casadm
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 14:03:36 -06:00
Adam Rutkowski
1fb5fd9662
Verify whether input device path is actually a block device
...
This applies to add/momove core, start/stop cache, zero superblock
commands.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 14:03:36 -06:00
Slawomir Jankowski
5f5c150c30
Add comment about calling only after normalizing path
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-01-21 14:03:36 -06:00
Slawomir Jankowski
636e083e22
Remove unneccesary variable
...
Remove unused `buff` from `print_slow_atomic_cache_start_info()`
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-01-21 14:03:36 -06:00