Robert Baldyga
2f6a29b611
Merge pull request #560 from anatol/4upstream
...
Use linux/blkdev.h header for lookup_bdev()
2020-11-06 15:54:31 +01:00
Anatol Pomozov
c04b0b6d67
Use linux/blkdev.h header for lookup_bdev()
...
Upstream commit 3f1266f1f82d7 moved lookup_bdev() to linux/blkdev.h
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
2020-11-05 15:22:46 -08:00
Robert Baldyga
dfd63abcb9
Merge pull request #365 from Ostrokrzew/consistency
...
Add test for checking outputs' consistency
2020-11-05 14:04:00 +01:00
Robert Baldyga
ab4665ba3e
Merge pull request #492 from Deixx/raid-ocl
...
Cleanup RAIDs, example test and RAID + udev test
2020-11-05 14:03:39 +01:00
Robert Baldyga
c289b014e4
Merge pull request #556 from robertbaldyga/README-examples-v20.3.2
...
Use latest version (v20.3.2) in README examples
2020-11-05 14:03:23 +01:00
Robert Baldyga
36f0b750f5
Merge pull request #555 from rafalste/selinux_doc_update
...
Update README about possible SELinux fix
2020-11-05 14:03:06 +01:00
Robert Baldyga
4972deb312
Merge pull request #558 from imjfckm/fix-cache-lazy-startup
...
Fix handling of lazy_startup for cache
2020-11-05 14:02:41 +01:00
Robert Baldyga
539e64e2c9
Merge pull request #566 from robertbaldyga/deb-dkms
...
Introduce DKMS support for DEB packages
2020-11-05 14:01:32 +01:00
Robert Baldyga
078cbcdf01
Merge pull request #567 from robertbaldyga/fix-status-badges-urls
...
Fix status badges URLs
2020-11-05 13:50:29 +01:00
Robert Baldyga
65872d5c1b
Fix status badges URLs
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-11-05 13:18:18 +01:00
Robert Baldyga
9a0577b592
Merge pull request #562 from imjfckm/test-only-atomic-device
...
Perform volume test only for atomic device
2020-11-05 13:17:21 +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
Robert Baldyga
3060aaf95f
Introduce DKMS support for DEB packages
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-11-04 11:47:34 +01:00
Jan Musial
b217e406be
Perform volume test only for atomic device
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-11-02 11:39:37 +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
Jan Musial
45d0d36191
Fix handling of lazy_startup for cache
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-10-27 11:17:26 +01:00
Robert Baldyga
f8a9b8f4bc
Use latest version (v20.3.2) in README examples
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-10-23 13:44:09 +02:00
Rafal Stefanowski
28fe363ddb
Update README about possible SELinux fix
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-10-23 00:40:15 +02: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
Daniel Madej
59596a77ab
Test CAS udev rules with RAID devices
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:51 +02:00
Daniel Madej
a61a1341ff
Example test using RAID API
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:51 +02:00
Daniel Madej
087cad684e
Cleanup RAIDs in prepare
...
Update test-framework
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:39 +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