Michal Rakowski
a904a5bf66
Return values of expected type by the block layer
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-09-09 14:00:44 +02:00
Robert Bałdyga
02ce30adf5
Merge pull request #92 from mmichal10/fix-set-core-param
...
Fix setting core params.
2019-09-04 14:24:29 +02:00
Michal Mielewczyk
7ecd537170
Fix setting core params.
...
If core id wasn't specified, function was returning error insted of setting
given param for all cores.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-09-04 07:48:04 -04:00
Michał Mielewczyk
13c5462c7d
Merge pull request #90 from imjfckm/fix-OCL-OCF-env
...
Fix wrong fcn signature in OCF env
2019-09-03 09:05:47 +02:00
Jan Musial
dd8639316a
Fix wrong fcn signature in OCF env
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-09-02 13:41:30 +02:00
Adam Rutkowski
2c626a9568
Merge pull request #88 from KamilLepek/coverity_readme
...
Added coverity readme badge
2019-08-30 10:29:06 +02:00
Adam Rutkowski
a8f4450ad0
Merge pull request #89 from Open-CAS/felipe-documentation-changes
...
Update README.md
2019-08-30 10:28:25 +02:00
Felipe
0d4f13bce0
Update README.md
...
The README needs to have links to the Getting Started and to the Admin Guide
2019-08-29 10:20:04 -07:00
Kamil Lepek
d90df8bdc7
Added coverity readme badge
...
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-08-29 15:56:14 +02:00
Adam Rutkowski
580e24d889
Merge pull request #85 from micrakow/uname
...
modules: Fixed getting running kernel ver
2019-08-28 15:40:28 +02:00
Adam Rutkowski
93ee265827
Merge pull request #83 from micrakow/blk-mq
...
Switch CAS to multi-queue block API
2019-08-28 15:39:50 +02:00
Michal Rakowski
eab04f02fb
modules: Fixed getting running kernel ver
...
Kernel's 'make kernelversion' does not print some extra version tags
(like 4.19-xxx) so there was a problem with installing CAS on some
kernels. Moved it back to using just 'uname -r'.
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-08-26 15:52:32 +02:00
Michal Rakowski
95af3c6f9f
Move to blk-mq block interface.
...
Currently Open-CAS uses single queue block interface,
which is removed in kernel in version 5.0.
From this moment on Open-CAS supports only blk-mq,
and single queue is not supported any longer.
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-08-26 12:23:21 +02:00
Michal Rakowski
8d80ef5aef
smoke_tests: Fio test fixup
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-08-26 11:52:39 +02:00
Michal Rakowski
583deef8f6
configure: adapt to kernel 5.1
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-08-26 11:52:39 +02:00
Michal Rakowski
18b879884e
configure: slightly extended compile_module config helper
...
Allow to pass many includes along with creating function.
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-08-26 11:52:39 +02:00
Jan Musiał
a3c44d4645
Merge pull request #84 from Ostrokrzew/outgoing
...
Smoke tests update
2019-08-22 14:45:28 +02:00
Slawomir_Jankowski
91efcc528b
Smoke tests update
...
**cache_suspend 03**: added 'if' statement to recognize nvme disk and pass test correctly;
**init_script 03**: added '--force' option to start cache with 'casadm' command.
Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
2019-08-22 11:24:34 +02:00
Michał Mielewczyk
df5249ecfd
Merge pull request #82 from mmichal10/fix-reset-counters
...
Reset particular core stats only if core was specified by user.
2019-08-20 13:35:10 +02:00
Michal Mielewczyk
9e05950845
Reset particular core stats only if core was specified by user.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-20 07:20:02 -04:00
Michal Rakowski
1aa54c42ba
Merge pull request #81 from mmichal10/cache-name-in-array
...
Cache name in array
2019-08-20 09:50:53 +02:00
Michal Mielewczyk
341222e3d7
Treat '16384' as valid cache id.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-20 03:42:05 -04:00
Michal Mielewczyk
56cbc6595b
Pass name for newly initialized cache in array instead of pointer.
...
Unitl now pointer to local variable was passed to OCF and it's content could be
overwriten after leaving function responsible for preparing cache config.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-20 03:42:05 -04:00
Jan Musiał
ded43cdec6
Merge pull request #78 from mmichal10/ctx-deinit-op
...
Additional context ops: deinit.
2019-08-19 10:35:12 +02:00
Michal Mielewczyk
641902fb90
Implement synchronization primitives destroyers.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-19 02:34:54 -04:00
Michal Mielewczyk
202da8140c
Additional data type ops: deinit.
...
While unloading cas_cache module, volume types were deinitialized, although core
pool still wasn't empty. Now this deinitialization can be done after removing
cores from core pool, and before context is freed.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-16 08:52:43 -04:00
Michał Mielewczyk
d59f202df8
Merge pull request #80 from robertbaldyga/name-based-mngt
...
Use name based OCF management API
2019-08-16 14:51:38 +02:00
Robert Baldyga
f038223979
Use name based OCF management API
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-08-16 14:08:34 +02:00
Jan Musiał
c9fdcd9f76
Merge pull request #70 from mmichal10/additional-io-classification-rules
...
Additional io classification rules
2019-08-09 15:50:46 +02:00
Michal Mielewczyk
83a3cb693f
cas_cache: IO classification based on request size.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 09:02:54 -04:00
Michal Mielewczyk
a93cf22b60
cas_cache: IO classification based on offset in file.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 09:02:54 -04:00
Michal Mielewczyk
441508a6de
cas_cache: IO classification based on process name.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 09:02:54 -04:00
Michal Mielewczyk
c2eef6fe64
cas_cache: IO classification based on PID.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 08:35:24 -04:00
Michal Mielewczyk
7c4114b7bd
cas_cache: IO classification based on LBA.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 08:35:24 -04:00
Michal Mielewczyk
02f11db364
cas_cache: IO classification based on file extension.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 08:35:24 -04:00
Michal Mielewczyk
e36c8c53c6
cas_cache: Generic classifier for string conditions.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-09 08:35:23 -04:00
Jan Musiał
3075772d5d
Merge pull request #79 from robertbaldyga/scsi-init
...
Init SCSI request properly on newer kernels
2019-08-08 10:50:15 +02:00
Adam Rutkowski
f55425ed4d
Merge pull request #73 from Ostrokrzew/changed
...
Porting python2 to python3 syntax
2019-08-05 13:37:19 +02:00
Slawomir_Jankowski
3d5d82f892
Translate python2 to python3
...
*opencas.py*: changed result class to contain text values instead of bytes,
translated chache configuring methods to py3,
*init script*: changed regex input on raw string to work in py3.
Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
2019-08-05 13:19:04 +02:00
Robert Baldyga
ed6b5f60ee
Init SCSI request properly on newer kernels
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-08-05 11:51:17 +02:00
Michał Wysoczański
5603a77302
Merge pull request #77 from mmichal10/limit-configure-subprocesses-number
...
configure: Prevent spawning more subprocesses than CPUs available.
2019-08-02 12:25:46 +02:00
Michal Mielewczyk
827c4d1466
configure: Prevent spawning more subprocesses than CPUs available.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-02 01:00:34 -04:00
Jan Musiał
cf7a9b69b2
Merge pull request #74 from robertbaldyga/adapt-to-ocf_io-single-alloc
...
Adapt to new ocf_io API
2019-07-31 09:22:13 +02:00
Kamil Łepek
54b1a79128
Merge pull request #76 from robertbaldyga/pep8speaks-config
...
Add pep8speaks custom config
2019-07-30 12:09:33 +02:00
Adam Rutkowski
b306d2ba3f
Merge pull request #75 from robertbaldyga/utils-makefile-target-all
...
utils: Makefile: Rename default target to "all"
2019-07-30 10:49:22 +02:00
Robert Baldyga
0804ac5307
Add pep8speaks custom config
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-30 08:42:12 +02:00
Robert Baldyga
fa61d2d3a6
utils: Makefile: Rename "default" target to "all"
...
As "all" target is supported by upper level Makefile, and target
names are passed to subdirectory Makefiles, all of them need to
support "all" target as well. Rename default target for simplicity.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-27 19:03:37 +02:00
Robert Baldyga
231ae815c5
Adapt to new ocf_io API
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-27 18:53:02 +02:00
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