Commit Graph

135 Commits

Author SHA1 Message Date
Michal Mielewczyk
a32b079a8a Enable confiugure script to generate header in parallel.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-15 06:23:11 -04:00
Michal Mielewczyk
9473cf9795 Enable configure script to compile test modules in parallel.
This patch significantly reduces time needed to prepare config file.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-12 03:00:18 -04:00
Robert Baldyga
13c51041ff Generate and apply config
Allows for faster configuration in known environments

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-11 03:32:53 -04:00
Michal Rakowski
e1055fe262
Merge pull request #58 from mmichal10/fix-cache-load
Initialize structures with 0.
2019-07-04 10:23:03 +02:00
Michal Mielewczyk
c1b5ccbc75 Initialize structures with 0.
If 'open_cores' flag is not explicite set, cores migth not be added on cache
load.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-04 03:06:24 -04:00
Michal Rakowski
a4b58be7d2
Merge pull request #60 from KamilLepek/Fix_link
Fix for casadm -H support link
2019-07-03 14:52:55 +02:00
Daniel Madej
9147781419
Merge pull request #59 from mmichal10/configure-progress
configure.d: Print information about progress from configure script
2019-07-03 13:57:05 +02:00
Kamil Lepek
80ee3633ce Fix for casadm -H support link
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-07-03 13:18:49 +02:00
Michal Mielewczyk
3f65c7fab2 configure.d: Print information about progress from configure script
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-02 10:24:41 -04:00
Michal Rakowski
3fd6dfc13b
Merge pull request #57 from arutk/fix_blk_rq_append
configure.d: fix detecting and usage of cas_blk_rq_append_bio
2019-07-02 16:20:59 +02:00
Adam Rutkowski
ef223cfd47 configure.d: fix detecting and usage of cas_blk_rq_append_bio
1. When generating cas_blk_rq_append_bio, check whether a
   version with double pointer compiles successfully. This
   is a better criteria than the version with single pointer
   since the latter may compile successfully regardless of
   kernel blk_rq_append_bio prototype.
2. Always provide single pointer to cas_blk_rq_append_bio
   macro - its up to cas_blk_rq_append_bio implementation to
   decide whether extra level of indirection is needed.

This fixes compilation with kernel 4.14.98.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-07-02 14:40:51 -04:00
Michal Rakowski
3c94734d4e
Merge pull request #56 from imjfckm/fix-core-info
Fix get_core_info trying to access already freed UUID
2019-06-28 13:33:23 +02:00
Jan Musial
506ff687f7 Fix get_core_info trying to access already freed UUID
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-28 13:15:20 +02:00
Kamil Łepek
3df6dc40d3
Merge pull request #55 from micrakow/lookup_bdev_macro
Use lookup_bdev generated macro instead of direct call
2019-06-28 09:48:25 +02:00
Michal Rakowski
3ca9a14bb2 Use lookup_bdev generated macro instead of direct call
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-28 09:36:11 +02:00
Jan Musiał
47647a890f
Merge pull request #54 from micrakow/casadm_ver_fix
Report proper casadm version
2019-06-27 12:48:36 +02:00
Michal Rakowski
31fb19e2f1 Report proper casadm version
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-27 12:39:26 +02:00
Adam Rutkowski
f0b59c58d9
Merge pull request #53 from mmichal10/validate-core-config
Validate core config
2019-06-27 05:54:49 -04:00
Jan Musiał
1c10137915
Merge pull request #52 from arutk/wo_manpage_fix
Edit WO cache mode man page
2019-06-27 11:32:44 +02:00
Adam Rutkowski
9f4e842f01 Edit WO cache mode man page
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-27 13:00:01 -04:00
Michał Mielewczyk
7db7bf8320
Merge pull request #49 from imjfckm/fix-leaking-queue-on-failed-load
Fix leaking mngt_queue on load failure
2019-06-27 11:22:24 +02:00
Jan Musial
2964b56615 Fix leaking mngt_queue on load failure
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-27 10:54:37 +02:00
Michal Rakowski
aaba2607f5
Merge pull request #51 from arutk/vol_open_err_handling
Handle ocf_volume_open ret code in cas_blk_open_volume_by_bdev
2019-06-27 09:20:47 +02:00
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
Michal Mielewczyk
db534a70b6 Check if given core device exists.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-26 12:37:53 -04:00
Michal Mielewczyk
60192c447e Fix typos in configuration script
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-26 12:37:53 -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