Commit Graph

110 Commits

Author SHA1 Message Date
Adam Rutkowski
09e8d0992d Handle ocf_volume_open ret code in cas_blk_open_volume_by_bdev
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-27 11:12:43 -04:00
Jan Musiał
60d59e5fe8
Merge pull request #50 from micrakow/update_ver_to_19_06
Update reported CAS Version to 19.06
2019-06-26 15:58:52 +02:00
Michal Rakowski
9cf20a9e75 Update reported CAS Version to 19.06 2019-06-26 15:10:40 +02:00
Adam Rutkowski
5feb4d030e
Merge pull request #40 from imjfckm/add-metadata-corrupt-tests
Add metadata corruption tests
2019-06-26 08:46:43 -04:00
Jan Musial
920720777f Add metadata corruption tests
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-26 12:15:10 +02:00
Adam Rutkowski
c6882b5bf7
Merge pull request #48 from imjfckm/fix-leaking-volumes
Update OCF to fix leaking volumes
2019-06-26 05:37:46 -04:00
Adam Rutkowski
e4b603396b
Merge pull request #46 from micrakow/cache_stop_dirty_bug_on
Added check for dirty cache/core during cache stop/core removal
2019-06-26 05:37:13 -04:00
Jan Musial
06974c473a Update OCF to fix leaking volumes
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-26 10:51:25 +02:00
Michal Rakowski
a119a6ac2a Added check for dirty cache/core during cache stop/core removal 2019-06-26 09:32:26 +02:00
Michał Mielewczyk
c16030883e
Merge pull request #47 from imjfckm/fix-cleaner-leaking-caches
Fix cleaner leaking caches
2019-06-26 09:27:46 +02:00
Jan Musial
240e6dbc9e Fix too short thread name size in CAS
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-25 15:44:05 +02:00
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