Michal Rakowski
d01c26d629
Merge pull request #71 from mmichal10/race-condition-in-configure
...
configure: Prevent race condition while preparing header file.
2019-07-24 10:24:34 +02:00
Michal Mielewczyk
fe9a0b262b
configure: Prevent race condition while preparing header file.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-24 04:13:54 -04:00
Michał Mielewczyk
3e5e436dbf
Merge pull request #68 from micrakow/create_exp_objs_fix
...
Fix error handling in case of fatal cache stop error
2019-07-17 15:32:53 +02:00
Michal Rakowski
eee7a0e220
Fix exported object cleanup in case of cache stop failure
...
In case of error during cache stop exported object is not being restored after destroying.
This may result in bug in case of calling stop once more.
This commit fixes this issue - exported objects are restored.
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-07-17 15:09:39 +02:00
Michal Rakowski
ee6cba515a
Added create/activate/free all exported objects methods
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-07-17 09:43:43 +02:00
Michal Rakowski
47a150644c
Doxygen fixup
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-07-17 09:43:43 +02:00
Michał Mielewczyk
6d56270961
Merge pull request #61 from mmichal10/extend-smoke-test-set
...
Extend smoke tests set
2019-07-16 15:11:45 +02:00
Michal Rakowski
a493b9d3fc
Merge pull request #67 from mmichal10/execute-configure-in-parallel
...
Execute configure in parallel
2019-07-16 14:14:37 +02:00
Michal Mielewczyk
5ff092eddb
Extend smoke tests set
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-15 06:32:10 -04:00
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
Adam Rutkowski
5d621d63b6
Merge pull request #65 from mmichal10/test-for-existing-metadata
...
Test for existing metadata
2019-07-10 10:51:29 -04:00
Michal Mielewczyk
b8453d39e6
smoke tests: adapt existing tests to new metadata detection behavior.
...
In some tests start have to be performed with force flag.
Added new cache mode to dictionary.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-10 06:38:22 -04:00
Michal Mielewczyk
49df43a94b
casadm: add new OCF error code to casadm
...
ocf update
Starting cache on device with existing metadata will require --force or --load
flag to be used.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-10 06:38:22 -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