klapinsk
28ae17e23b
Count md5sum of tmp files in recovery tests before reboot
...
Signed-off-by: klapinsk <katarzyna.lapinska@intel.com>
2021-04-28 15:16:42 +02:00
Michal Mielewczyk
3503d81d9b
tests: fix trim eviction test
...
Consider IO to metadata as vaild
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-28 09:51:18 +02:00
Michal Mielewczyk
0e8758528b
Return mempool instead of enum
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-22 14:17:39 +02:00
Robert Baldyga
a0cccb8702
Merge pull request #806 from robertbaldyga/post-release-v21.3
...
Post-release maintenance
2021-04-21 22:05:59 +02:00
Robert Baldyga
e2d07159a6
Update version referred by README to v21.3
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-21 14:40:39 +02:00
Robert Baldyga
1d6d326803
Bump master version to v21.6
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-21 14:38:25 +02:00
Michal Mielewczyk
7727482db6
doc: Requirements for the eviction
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-21 13:24:56 +02:00
Robert Baldyga
5a6d4bea86
Merge pull request #803 from arutk/queue_flags
...
Set proper multiqueue flags
2021-04-16 22:19:09 +02:00
Adam Rutkowski
9c08ed4b87
Set proper multiqueue flags
...
Setting BLK_MQ_F_STACKING (to indicate stacked device) and
BLK_MQ_F_BLOCKING (to indicate potentially blocking operations
like acquiring mutex or GFP_NOIO allocations).
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-16 22:52:18 -05:00
Robert Baldyga
c46c638e2e
Merge pull request #802 from arutk/stop_error_handling
...
Properly handle flush error in cache stop
2021-04-15 18:11:47 +02:00
Adam Rutkowski
2a9a77edac
Change cache stopping in recovery tests
...
It is required to stop cache with "--flush=no" when
cache device is detached.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-15 18:15:55 -05:00
Adam Rutkowski
da0dda2dbd
Properly handle flush error in cache stop
...
In case of initial flush error stop is aborted. In case
of failure during the second flush, appropriate error
message is presetned to the user.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-15 18:11:23 -05:00
Robert Baldyga
e50481743b
Merge pull request #801 from jfckm/update-tf
...
Update test-framework
2021-04-15 10:23:21 +02:00
Jan Musial
12ddcceb98
Update test-framework
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-04-15 09:32:50 +02:00
Robert Baldyga
fc0bd006ea
Merge pull request #800 from mmichal10/update-ocf-core
...
Update ocf
2021-04-14 21:23:02 +02:00
Michal Mielewczyk
fa97653ce9
Update ocf
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-14 20:15:28 +02:00
Michal Mielewczyk
850c097e90
casadm: Error message for UUID_EXISTS error code
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-14 20:15:14 +02:00
Robert Baldyga
eaebdffa5b
Merge pull request #795 from robertbaldyga/fix-seq-cutoff-thresh-units
...
casadm: Fix seq cutoff threshold units
2021-04-12 15:06:34 +02:00
Robert Baldyga
61d704fbb9
casadm: Fix seq cutoff threshold units
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-12 14:22:58 +02:00
Robert Baldyga
802934b263
Merge pull request #794 from mmichal10/dirty-inactive-core
...
Reorganize `remove-inacitve` command
2021-04-12 14:17:18 +02:00
Michal Mielewczyk
4e680bb50a
Reorganize remove-inacitve
command
...
Don't remove inactive core if it has dirt cache lines assigned unless `force`
flag is specified.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-12 13:48:28 +02:00
Robert Baldyga
8a8572d8bb
Merge pull request #791 from mmichal10/remove-core-cleanup
...
Clean-up 'remove-core' command
2021-04-12 09:45:34 +02:00
Michal Mielewczyk
083d6fe93e
Clean-up 'remove-core' command
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-09 19:57:07 +02:00
Robert Baldyga
1cec062f67
Merge pull request #752 from Ostrokrzew/special_devs
...
Allow to add special deviced as cores to the cache
2021-04-09 07:33:14 +02:00
Slawomir Jankowski
6ea3dcbd65
Allow to add special deviced as cores to the cache
...
Add below devices to whitelist:
* CAS device partitions - fix,
* RAM devices - new,
* null block devices - new.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-08 21:59:33 +02:00
Robert Baldyga
b7daa67a71
Merge pull request #767 from lausaa/master
...
python3.6+ is needed for casctl
2021-04-08 14:36:33 +02:00
Robert Baldyga
69cc431e5b
Merge pull request #789 from mmkayPL/set-bio-data-fix
...
Fix _blockdev_set_bio_data iteration
2021-04-08 14:35:51 +02:00
Kozlowski Mateusz
a45f0c854f
Fix _blockdev_set_bio_data iteration
...
The data->size field can be initialized to a lower value than bio->bi_vcnt,
if the bio is split. The bio_for_each_segment then iterates based on the original
indexes and the mismatch eventually causes a BUG_ON.
Fixes #714
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-04-08 12:28:35 +02:00
Robert Baldyga
301854ae39
Merge pull request #786 from robertbaldyga/update-ocf-20210406
...
Update OCF: Fix io put
2021-04-06 15:37:07 +02:00
Robert Baldyga
3f348cf5d8
Merge pull request #787 from arutk/probe3
...
Check dirty status in case of metadata mismatch
2021-04-06 15:14:17 +02:00
Adam Rutkowski
048f25379b
Check dirty status in case of metadata mismatch
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-06 15:37:44 -05:00
Robert Baldyga
da4f06cefc
Update OCF: Fix io put
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-06 14:23:04 +02:00
Adam Rutkowski
f6c1438dee
Merge pull request #783 from arutk/ocf_020421
...
OCF update
2021-04-02 10:35:15 +02:00
Adam Rutkowski
b256b9a985
OCF update
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-02 11:24:25 -05:00
Robert Baldyga
4d6ecfbb02
Merge pull request #782 from arutk/ocf_010421_2
...
OCF update
2021-04-01 17:31:35 +02:00
Adam Rutkowski
77a3c1f56d
OCF update
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-01 18:18:54 -05:00
Robert Baldyga
41e74eb36a
Merge pull request #780 from arutk/ocf_010421
...
OCF update
2021-04-01 14:50:53 +02:00
Adam Rutkowski
2619e691e5
OCF update
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-04-01 15:22:31 -05:00
Karolina Rogowska
4a274ff010
longer io in test_soft_hot_plug_device
...
Fix for problem: io ended before core disappeared from the system after unplug so then were no errors counted/detected.
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-04-01 14:45:20 +02:00
Karolina Rogowska
5f59376ea9
test fix: test_ioclass_eviction_priority
...
Using workload path per each io class
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-03-31 20:25:15 +02:00
Michał Mielewczyk
7a3b248c35
Merge pull request #764 from mmkayPL/false_stats
...
Change method for calculating 'dirty_for' statistic
2021-03-31 12:23:53 +02:00
Michał Mielewczyk
b1fe770aa0
Merge pull request #777 from arutk/ocf_310321
...
OCF update
2021-03-31 12:16:53 +02:00
Adam Rutkowski
d3a16d82d8
OCF update
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-03-31 12:32:49 -05:00
Karolina Rogowska
ade2384290
test fix: test_ioclass_pid
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-03-30 16:48:20 +02:00
Robert Baldyga
f77e5a9b49
Merge pull request #768 from mmkayPL/fix-core-size-calculation
...
Change core size gb calculation to use 64bit parameter
2021-03-30 09:47:29 +02:00
Robert Baldyga
5176ac3359
Merge pull request #771 from robertbaldyga/fix-casadm-long-path-printing
...
casadm: Fix printing long device paths
2021-03-30 09:28:18 +02:00
Robert Baldyga
8306de7b99
casadm: Fix printing long device paths
...
Don't break line when first word in column is too long to fit into the
screen.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-03-29 18:35:25 +02:00
Kozlowski Mateusz
32b3c98527
Change core size gb calculation to use 64bit parameter
...
Fixes #766
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-03-29 13:27:47 +02:00
Sha Fanghao
b533e2cbf9
opencas.py uses the f-string feature of python3.6+.
...
Signed-off-by: Sha Fanghao <shafanghao@gmail.com>
2021-03-29 18:17:11 +08:00
Kozlowski Mateusz
ab0a7e0a44
Add detection of ktime_get_real_ts64 vs getnstimeofday
...
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-03-26 13:46:09 +01:00