Commit Graph

58 Commits

Author SHA1 Message Date
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
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
Michal Rakowski
5eb40cc08b Reported CAS version cleanup
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-21 16:49:06 +02:00
Adam Rutkowski
9a89023533
Merge pull request #21 from micrakow/add_configure_script
Add configure script
2019-05-21 06:58:03 -04:00
Michal Rakowski
869cb9c6ed Enabling CentOS 7.6
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-21 12:48:30 +02:00
Michal Rakowski
61e2af80bc Added configure script
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-21 12:48:30 +02:00
Michal Rakowski
80f8e617e3
Merge pull request #16 from mmichal10/cleaner-kick
Added possibility to disable cleaner thread.
2019-05-10 15:58:33 +02:00
Michal Mielewczyk
095ccc51fe Added possibility to disable cleaner thread.
In case of cleaner thread retrived 'OCF_CLEANER_DISABLE' no cleaning is
performed until kick is called.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-05-10 09:47:53 -04:00
Michal Mielewczyk
64a79086a8 Removed core pool initializing from adapter.
As core pool is initialized by OCF, it is no longer required to do it in adapter

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-05-10 09:32:01 -04:00
Michal Rakowski
be4dcd0bc0
Merge pull request #17 from robertbaldyga/handle-non-interruptible-flush
Handle non interruptible flush
2019-05-10 15:12:17 +02:00
Michał Mielewczyk
103d8683e2
Merge pull request #19 from micrakow/atomic_format_err_ext_msg
Added more descriptive err msg for NVMe format
2019-05-10 14:27:15 +02:00
Michal Rakowski
637ca6e2f4 More descriptive err msg for NVMe format
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-10 13:31:10 +02:00
Michal Rakowski
9a02ac3c3c
Merge pull request #18 from katlapinka/submodulePath
Change ocf submodule path to https
2019-05-09 13:20:14 +02:00
klapinsk
1a94bef2b2 Change ocf submodule path to https 2019-05-09 12:42:45 +02:00
Robert Baldyga
529cd4aabc Remove unneeded argument
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-05-08 12:48:21 +02:00
Robert Baldyga
0411f2d42f Handle non-interruptible flush
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-05-08 12:48:21 +02:00
Adam Rutkowski
28eee81fea
Merge pull request #15 from micrakow/added_wlth_support
Added Write Lifetime Hint support in classifier
2019-04-25 15:15:31 +02:00
Michal Rakowski
7eb2324189 Added Write Lifetime Hint support in classifier
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-04-25 14:56:01 +02:00
Adam Rutkowski
f6e65598f0
Merge pull request #14 from mmichal10/add-nullchecks
Add nullchecks
2019-04-19 06:04:30 -04:00
Michal Mielewczyk
f62c53862d Add asserts in case of detached cache.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-19 03:59:43 -04:00
Michal Mielewczyk
ea66039326 Update OCF (secure alloc fix)
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-19 02:41:58 -04:00
Adam Rutkowski
ae475515a9
Merge pull request #12 from arutk/secure_alloc
Secure alloc/free in env
2019-04-18 10:07:10 -04:00
Adam Rutkowski
79eb92cd9a Implement secure alloc/free using vmalloc/vfree
In kernel there is no point in mlocking and zeroring memory
before freeing.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-04-18 18:04:57 -04:00
Adam Rutkowski
0cddcb6f5f Update OCF
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-04-18 18:04:56 -04:00
Michał Mielewczyk
c0ae3e0c5e
Merge pull request #11 from mmichal10/printf-rename
Rename logger ops from pritnf to print.
2019-04-18 09:40:50 +02:00
Michal Mielewczyk
de128e8747 Rename logger ops from pritnf to print.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-18 03:23:03 -04:00
Michał Wysoczański
3feeeb9186
Merge pull request #9 from mmichal10/smoke-tests
Introduce framework for smoke tests
2019-04-17 16:30:17 +02:00
Michal Mielewczyk
e7f6becf88 Added framework for smoke tests and few basic tests.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-15 11:51:19 -04:00
Michał Mielewczyk
e2c901de6d
Merge pull request #8 from arutk/fix-stop-error-handling
Abort cache deinit in case of ocf stop fatal error
2019-04-12 13:40:36 +02:00
Michal Mielewczyk
9cda4f7df2 Update ocf submodule version
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-12 06:40:40 -04:00
Adam Rutkowski
153a729581
Merge pull request #10 from mmichal10/prevent-cache-mode-truncating
Prevent cache mode to be truncated in case of 'Unknown' mode.
2019-04-11 11:19:55 -04:00
Michal Mielewczyk
9ea42084b3 Prevent cache mode to be truncated in case of 'Unknown' mode.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-11 08:50:12 -04:00
Adam Rutkowski
cfaf0d279f Abort cache deinit in case of ocf stop fatal error
We should only proceed with deinitialization in case of cache
write error, not just any error.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-04-10 14:36:07 -04:00
Michał Wysoczański
6a70be4fc0
Merge pull request #7 from mmichal10/error-on-adding-core-failed
Return appropiriate error code when adding core failed.
2019-04-10 11:25:20 +02:00
Michal Mielewczyk
4655b397a0 Return appropiriate error code when adding core failed.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-10 05:09:07 -04:00
Jan Musiał
c9c7b1b2e5
Merge pull request #6 from mmichal10/task-reset-cache-stats
Allow reset stats for all cores within cache instance at once.
2019-04-09 13:43:45 +02:00
Michal Mielewczyk
54027e92ae Allow reset stats for all cores within cache instance at once.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-09 07:07:37 -04:00
Michal Rakowski
3ee1d84120
Merge pull request #5 from arutk/ajrutkow-add-gitignore
Add .gitignore
2019-04-08 10:42:19 +02:00
Adam Rutkowski
278a544991 Add .gitignore
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-04-04 17:55:40 -04:00
Michał Wysoczański
b6ba58e1f3
Merge pull request #4 from micrakow/ubuntu-exceeded-stack-frame-size-fix
Compilation on ubuntu fixed (exceeded stack frame size)
2019-04-03 11:57:32 +02:00
Michal Rakowski
cb8734eb3f Compilation on ubuntu fixed (exceeded stack frame size)
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-04-03 11:51:43 +02:00
Michał Wysoczański
f5588bbada
Merge pull request #3 from arutk/atomic_dev_fixes
Atomic volume fixes
2019-04-03 08:52:25 +02:00
Adam Rutkowski
9670adf751 Move querying for atomic device params before cache start
This needs to be done in caller application context. As part of asynchronous
management API rework, volume_open callback was moved to kernel worker thread
context. To work around this, atomic parameters are now read before cache
attach/load/probe and provided to bottom volume via volume params.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-04-02 14:47:39 -04:00