Commit Graph

99 Commits

Author SHA1 Message Date
Jan Musial
4035d4e225 Fix cleaner leaking caches
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-25 15:43:51 +02:00
Daniel Madej
6ab23b62ec
Merge pull request #45 from KamilLepek/env
Remove date from smoke tests log directory
2019-06-24 13:21:24 +02:00
Kamil Lepek
f8bcca8f09 Remove date from smoke tests log directory
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-24 13:03:46 +02:00
Jan Musiał
488fd7eb6d
Merge pull request #43 from arutk/fix_make_install
Fix setting KERNEL_VERSION in modules makefile
2019-06-21 15:29:00 +02:00
Adam Rutkowski
59520a001c Fix setting KERNEL_VERSION in modules makefile
Shell command evaluation should be performed using 'shell'
function. This fixes 'make install'.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-21 17:27:21 -04:00
Michał Mielewczyk
f786f8419a
Merge pull request #39 from arutk/config_custom_kernel
Respect KERNEL_DIR environment variable
2019-06-21 13:23:19 +02:00
Jan Musiał
c2ebdd53ee
Merge pull request #37 from mmichal10/fio-data-integrity-tests
Added fio integrity test for different cache modes and cache line sizes.
2019-06-21 09:52:09 +02:00
Jan Musiał
b1ca7b325d
Merge pull request #41 from KamilLepek/distclean
Force modules distclean
2019-06-21 08:48:53 +02:00
Kamil Lepek
9f87a283a3 Force modules distclean
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-19 15:52:55 +02:00
Michal Mielewczyk
569453f82d Added fio integrity test for different cache modes and cache line sizes.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-19 00:02:50 -04:00
Michal Rakowski
89fbfac2d5
Merge pull request #33 from arutk/configure_check_tools
Check for required commands in configure script
2019-06-18 10:42:44 +02:00
Adam Rutkowski
4db30027a9 Respect KERNEL_DIR environment variable
KERNEL_DIR environment variable can be used to configure
and make CAS with custom kernel source path.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-14 19:35:53 -04:00
Kamil Łepek
edd1a51395
Merge pull request #38 from imjfckm/fix-ioclass-config
Update OCF to fix IO-class configs
2019-06-14 14:35:16 +02:00
Jan Musial
ca67643891 Update OCF to fix IO-class configs
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-14 14:18:00 +02:00
Michal Rakowski
815c1164ee
Merge pull request #34 from arutk/engine_wo
Extend CAS interface with Write-only cache mode
2019-06-14 12:41:43 +02:00
Adam Rutkowski
cef2f89a87 Extend BVT tests to cover WO cache mode
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-13 15:54:51 -04:00
Adam Rutkowski
ffa1f4b067 Extend CAS interface with Write-only cache mode
Write-only (WO) cache mode is similar to Write-back (WB), however
read operations do not promote data to cache. Reads are mostly
serviced by the core device, only dirty sectors are fetched from
the cache.

Write-only cache mode is behaving similarly to Write-back with
respect to flushing dirty data. For example it is required to
explicitly enable/disable flushing when changing cache mode
from WO to something other than WB.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-13 15:54:51 -04:00
Adam Rutkowski
6257887e3e
Merge pull request #36 from mmichal10/fix-old-metadata-detection
Fix old metadata detection.
2019-06-13 08:17:14 -04:00
Michal Mielewczyk
0cb219d178 Fix old metadata detection.
Due the changes in ocf error codes adapter misinterpreted information about no
preexisting metadata.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-13 07:55:12 -04:00
Michał Wysoczański
a6a167359c
Merge pull request #35 from Open-CAS/kw-fixes-06-2019
Code cleanup
2019-06-13 13:06:06 +02:00
Michal Mielewczyk
d6c5fdf5a2 Remove redundant assertion 2019-06-12 06:34:46 -04:00
Michal Mielewczyk
66a2d3ddd4 Fixed classifier debug message 2019-06-12 06:34:46 -04:00
Michal Mielewczyk
6911cc782b Removed reduntant variable 2019-06-12 06:34:46 -04:00
Michal Mielewczyk
94df75cdeb Close ctrl device in error path 2019-06-12 05:27:07 -04:00
Adam Rutkowski
c8d7c32236 Check for required commands in configure script
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-07 15:47:55 -04:00
Adam Rutkowski
a9eb0ee705
Merge pull request #32 from mmichal10/unified-mngt-functions-prefix
Unified management functions prefix
2019-06-07 07:51:03 -04:00
Michal Mielewczyk
0208375202 Unified management functions prefix
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-06 09:46:40 -04:00
Michal Rakowski
7025cab6cc
Merge pull request #29 from micrakow/IO_err_codes
Translate OCF-error-codes in IO path
2019-06-05 15:47:14 +02:00
Michal Rakowski
f9c0c929c1 Translate OCF-error-codes in IO path
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-05 15:34:04 +02:00
Michal Rakowski
b63cf8268d Update to newest OCF
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-05 12:35:12 +02:00
Michał Mielewczyk
15196017b8
Merge pull request #31 from robertbaldyga/adapt-to-new-ocf-20190604
Adapt to new OCF API
2019-06-05 12:22:01 +02:00
Robert Baldyga
23e330a21f Adapt to new cache lock API
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-06-04 15:24:55 +02:00
Robert Baldyga
8d59e41e20 Add utils_mpool
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-06-04 14:40:22 +02:00
Michal Rakowski
ed2bc8712f
Merge pull request #30 from mmichal10/dependencies-in-configure
Force ordering in configure script
2019-06-03 15:05:07 +02:00
Michal Mielewczyk
42f981918d Force ordering in configure script
To prevent using macros before they are defined, enfoce calling them in an
appropriate order.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-03 08:34:32 -04:00
Michal Rakowski
e9e971fa8c
Merge pull request #25 from mmichal10/improve-configure-script
Extending 'configure' script
2019-05-30 12:46:14 +02:00
Michal Mielewczyk
1e5355eba1 Extending 'configure' script
Functions and macros dependent on different kernel versions are now generated
before compilation basing on current kernel capabilities instead of hardcoding
them for specific kernels.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-05-30 06:29:07 -04:00
Daniel Madej
f88d78f603
Merge pull request #27 from imjfckm/master
Add tests for opencas.py
2019-05-29 12:27:41 +02:00
Daniel Madej
ee123acbe3
Merge branch 'master' into master 2019-05-29 12:19:11 +02:00
Michał Mielewczyk
95361f86d5
Merge pull request #28 from imjfckm/update-readme
Add info about security vulnerabilities
2019-05-29 10:53:13 +02:00
Jan Musial
422ebfbc0b Add info about security vulnerabilities
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-05-29 10:38:29 +02:00
Jan Musial
aa0f3c078a Add tests for opencas.py
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-05-28 17:56:15 +02:00
Kamil Łepek
d773a81fa7
Merge pull request #26 from robertbaldyga/adapt-to-new-ocf-20190524
Adapt to new ocf 20190524
2019-05-27 09:46:31 +02:00
Robert Baldyga
00dae3bd2f Use new functions for creating and destroying ocf_ctx
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-05-24 18:24:51 +02:00
Robert Baldyga
077956f9a9 Pass cache_id to cache_mng_add_core_to_cache()
struct ocf_mngt_core_config no longer contains this information,
so we need to pass it as separate argument.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-05-24 18:14:17 +02:00
Michał Mielewczyk
068aaddd4a
Merge pull request #24 from arutk/inode_alias_iter_fix
classifier: fix dentry alias list iteration
2019-05-24 15:51:30 +02:00
Jan Musiał
b7aa86b625
Merge pull request #23 from micrakow/prv-WLTH_tests
Basic WLTH-ioclass tests added
2019-05-24 14:38:29 +02:00
Michal Rakowski
347644ad59 Basic WLTH-ioclass tests added
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-24 14:33:29 +02:00
Jan Musiał
7649ede1a3
Merge pull request #22 from micrakow/cas_ver_cleanup
Reported CAS version cleanup
2019-05-23 13:38:48 +02:00
Adam Rutkowski
1774179493 classifier: fix dentry alias list iteration
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-05-22 13:09:22 -04:00