Slawomir Jankowski
a36c1be8a0
In DI12h test, verify each job separately, right after job is done.
...
Verifying the whole workload at once generates failures in some DUT configurations.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
e5c8324398
Fix recovery tests
...
Methods receiving device as an argument, uses its system_path field, not full_path
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
cae2dd2ef5
Fix incremental load tests
...
Inactive statistics for particular modes:
WT only dirty should be zero
WA, PT all should be zero
WB, WO only clean should be zero
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
f6ec36e49e
Increase readability
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
a99da7fa85
Add 1-second pause after plugging device
...
sometimes test cannot find plugged device, because plug operation is too slow
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
0d6318461e
Cast alru_params.activity_threshold.total_milliseconds()
to int
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
607ad5d16c
Use Time
wrapper instead of timedelta
...
because `set_params_alru` uses method `total_milliseconds()`
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
1ce946239d
Remove line which isn't in stderr output.
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
deb34f62d5
Use existing wrapper
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Robert Baldyga
ddd7d1617a
Merge pull request #561 from anatol/issue-540
...
Specify modules source dir to avoid build warnings
2020-11-04 11:58:18 +01:00
Anatol Pomozov
59d0492ef4
Specify modules source dir to avoid build warnings
...
If we run 'make kernelversion' in a read-only dir then it produces
mkdir: cannot create directory ‘.tmp_1056416’: Permission denied
mkdir: cannot create directory ‘.tmp_1056420’: Permission denied
mkdir: cannot create directory ‘.tmp_1056421’: Permission denied
mkdir: cannot create directory ‘.tmp_1056423’: Permission denied
warnings. To avoid it we need to specify where the source (and build)
directory located.
Closes #540
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
2020-10-29 18:36:23 -07:00
Robert Baldyga
edc729bed8
Merge pull request #475 from katlapinka/trim
...
Add trim test using devices supporting and not supporting discards
2020-10-21 12:57:40 +02:00
Katarzyna Lapinska
85df47cddd
Add trim tests using devices supporting and not supporting discards
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-10-21 09:33:23 +02:00
Robert Baldyga
96ce3131f6
Merge pull request #473 from Ostrokrzew/mem
...
Negative test for loading CAS module with lack of memory
2020-10-20 16:42:44 +02:00
Robert Baldyga
c844aa7b85
Merge pull request #476 from Ostrokrzew/discard
...
Test for handling discard request on huge CAS device
2020-10-20 16:35:11 +02:00
Robert Baldyga
51882e90c0
Merge pull request #547 from Ostrokrzew/issue_template
...
Add a template for several kinds of issues
2020-10-20 15:41:42 +02:00
Robert Baldyga
2b4effe335
Merge pull request #548 from Deixx/kernel-params
...
Introduce CAS kernel module parameters configuration
2020-10-20 15:41:15 +02:00
Robert Baldyga
2188ca2e8c
Merge pull request #551 from imjfckm/enhance-casctl-settle-master
...
Make casctl settle wait for udev and add cores/start caches
2020-10-20 15:39:37 +02:00
Robert Baldyga
ec1d51825a
Merge pull request #541 from Ostrokrzew/initconfig
...
Update API for init config
2020-10-15 10:16:45 +02:00
Slawomir Jankowski
bfcc5e5c4a
Add a template for several kinds of issues
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-10-14 14:52:40 +02:00
Jan Musial
3ce173800f
Make casctl settle wait for udev and add cores/start caches
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-10-14 14:27:06 +02:00
Robert Baldyga
7a87393cf8
Merge pull request #550 from imjfckm/fix-nightly
...
Fix init script test sometimes failing
2020-10-14 13:49:12 +02:00
Jan Musial
9ed78b25f3
Fix init script test sometimes failing
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-10-13 14:07:22 +02:00
Daniel Madej
f3dd047917
Reload cas_cache if its params need to be changed
...
Before starting cache, the method checks if current kernel module params
are equal to configured (or default if configuration is default). If not
then kernel module is reloaded with proper parameters.
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-13 09:36:44 +02:00
Robert Baldyga
0a97be8cc6
Merge pull request #546 from arutk/ocf_update_071020
...
OCF update (volatile cache flush improvements)
2020-10-12 22:42:20 +02:00
Daniel Madej
2719804d38
Add class for cas_cache parameters configuration
...
Update test_framework
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 15:04:07 +02:00
Adam Rutkowski
20a41571cf
OCF update (volatile cache flush improvements)
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2020-10-07 16:03:15 +02:00
Robert Baldyga
bc4450b478
Merge pull request #542 from imjfckm/update-conf-comments
...
Update sample opencas.conf to include lazy_startup option
2020-10-05 17:25:07 +02:00
Jan Musial
bc29b6987a
Update sample opencas.conf to include lazy_startup option
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-10-05 16:49:53 +02:00
Robert Baldyga
0aab23f2f6
Merge pull request #545 from robertbaldyga/blacklist-md-name
...
Blacklist /dev/disk/by-id/md-name* symlinks
2020-10-05 16:00:31 +02:00
Robert Baldyga
90e588403e
Blacklist /dev/disk/by-id/md-name* symlinks
...
This fixes startup bug when core was added to core pool by md-name*
symlink, but cache metadata contained md-uuid* path, which led to
incomplete configuration
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-10-05 15:38:21 +02:00
Slawomir Jankowski
0917215f1a
Update API for init config
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-10-01 14:56:02 +02:00
Robert Baldyga
3ea056eb30
Merge pull request #523 from rafalste/add_deb_package_generation
...
Automatic package generator improvements
2020-09-17 12:26:31 +02:00
Robert Baldyga
3536ad94e0
Merge pull request #529 from robertbaldyga/fix-casadm-compilation-warnings
...
Fix casadm compilation warnings
2020-09-17 11:53:49 +02:00
Robert Baldyga
bba3cbd9d8
Remove noop line causing compilation warning
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-09-17 09:46:44 +02:00
Robert Baldyga
a13287b4ff
Replace deprecated ftime() with gettimeofday()
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-09-17 09:46:44 +02:00
Rafal Stefanowski
ef70bce154
Update automatic package generator
...
- add DEB package creation functionality
- update RPM spec file to work with SLES
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-09-14 14:17:28 +02:00
Rafal Stefanowski
bc5c92d3ed
Fix typo in casctl manpage title line
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-09-14 13:12:06 +02:00
Robert Baldyga
795bdd2440
Merge pull request #483 from rafalste/fix_weak_updates_symlinks
...
Fix depmod error in RPM install/uninstall
2020-09-14 12:36:07 +02:00
Rafal Stefanowski
67858ed594
Fix depmod error in RPM install/uninstall
...
Fixes module removing by weak-modules and deleting broken symlinks to
non-existing modules.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-09-11 16:08:04 +02:00
Slawomir Jankowski
9237d26ee2
Test for handling discard request on huge CAS device
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-09-10 14:00:32 +02:00
Michał Mielewczyk
fea55bca42
Merge pull request #515 from katlapinka/io-class-renew
...
Rewrite IO class tests to use latest Test Framework API
2020-09-08 15:43:42 +02:00
Michał Mielewczyk
120600e70e
Merge pull request #516 from rafalste/fix_sles_rpm_gen
...
Patch for RPM generation on SLES
2020-09-08 14:53:50 +02:00
Robert Baldyga
2bce59ec3e
Merge pull request #519 from robertbaldyga/update-ocf-20200903
...
Update OCF - Fix bugs in engine and attach/detach path
2020-09-03 14:43:21 +02:00
Robert Baldyga
d2d54ad095
Update OCF - Fix bugs in engine and attach/detach path
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-09-03 14:24:33 +02:00
Rafal Stefanowski
db07756d22
Patch for RPM generation on SLES
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-09-01 00:15:37 +02:00
Katarzyna Lapinska
6ac104c3b8
Rewrite IO class tests to use latest Test Framework API
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-28 12:43:07 +02:00
Robert Baldyga
f9f3ce100b
Merge pull request #514 from Ostrokrzew/fast_fix
...
Fix previous fix
2020-08-27 08:39:32 +02:00
Slawomir Jankowski
d4cd1fd4cf
Add Werror compilation flag to casadm Makefile
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-26 16:40:36 +02:00
Slawomir Jankowski
dffadd5530
Fix previous fix
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-26 15:16:40 +02:00