Commit Graph

1448 Commits

Author SHA1 Message Date
Robert Baldyga
a226b39c4e
Merge pull request #811 from mmichal10/fix-discard
Fix max discard size
2021-05-10 15:36:37 +02:00
Katarzyna Łapińska
d32a8b0f88
Merge pull request #774 from karolinavelkaja/fix_ioclass_pid_test
test fix: test_ioclass_pid
2021-05-10 15:29:01 +02:00
Katarzyna Łapińska
7bd370428d
Merge pull request #775 from karolinavelkaja/fix_ioclass_eviction_priority_test
test fix: test_ioclass_eviction_priority
2021-05-10 15:27:15 +02:00
Katarzyna Łapińska
c9938d1e4c
Merge pull request #773 from katlapinka/test-fixes
Scope minor tests fixes
2021-05-10 13:56:13 +02:00
Robert Baldyga
adafd76280
Merge pull request #807 from mmichal10/mpool-enum
Return mempool instead of enum
2021-05-10 10:29:59 +02:00
Michal Mielewczyk
0387ba18d7 Fix max discard size
`blk_queue_max_discard_sectors()` accepts 32bit parameter

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-05-07 11:14:46 +02:00
Katarzyna Łapińska
dd65a4fe7c
Merge pull request #635 from katlapinka/trim-test-fix
Device not supporting discards instead of random HDD in test checking discards support
2021-04-30 14:48:59 +02:00
klapinsk
5b722b3a07 Scope tests fixes
Signed-off-by: klapinsk <katarzyna.lapinska@intel.com>
2021-04-30 14:46:52 +02:00
Robert Baldyga
61942bbd75
Merge pull request #812 from robertbaldyga/fix-buiding-deb
Fix building DEB packages
2021-04-30 13:38:42 +02:00
Robert Baldyga
f085081a67 Fix building DEB packages
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-30 13:13:29 +02:00
Michał Mielewczyk
ffc9c83fbf
Merge pull request #809 from mmichal10/fix-trim-test
tests: pass through metadata in trim test
2021-04-29 03:01:18 -04:00
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