Robert Baldyga
877f8b1443
env: posix: Fix recursive mutex
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-23 13:23:01 +02:00
Jan Musiał
232f0cd8d7
Merge pull request #216 from robertbaldyga/io-and-req-in-single-allocation
...
Allocate io and req in single allocation
2019-07-23 11:40:30 +02:00
Jan Musiał
08abf69224
Merge pull request #217 from Open-CAS/remove-redundant-field
...
Remove redundant field from struct ocf_cache_device
2019-07-23 09:55:03 +02:00
Adam Rutkowski
7b475fa7fc
Merge pull request #215 from imjfckm/add-promotion-policy-api
...
Add promotion policy API and use it in I/O path
2019-07-22 14:23:38 +02:00
Jan Musial
917cbd859a
Add promotion policy API and use it in I/O path
...
Promotion policy is supposed to perform ALRU noise filtering by
eliminating one-hit wonders being added to cache and polluting it.
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-07-19 13:52:00 +02:00
Robert Baldyga
6822ab6140
Remove redundant field from struct ocf_cache_device
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-19 12:59:14 +02:00
Robert Baldyga
e64bb50a4b
Allocate io and request in single allocation
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-17 10:31:23 +02:00
Robert Baldyga
61414f889e
Introduce OCF IO allocator
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-17 10:31:23 +02:00
Robert Baldyga
2efd563df1
Merge new_io and configure - update tests
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-17 10:31:23 +02:00
Robert Baldyga
e254c9b587
Merge new_io and configure into one function
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-17 10:31:23 +02:00
Robert Baldyga
1454b75c0f
ocf_io_internal - update tests
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-17 10:31:23 +02:00
Robert Baldyga
4d2d31ff76
Introduce ocf_io_internal
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-07-17 09:54:51 +02:00
Jan Musiał
999f3f7245
Merge pull request #214 from mmichal10/detect-old-cache-metadata
...
Detect old cache metadata
2019-07-08 16:04:21 +02:00
Michal Mielewczyk
0c8bc4cec5
pyocf: add new error OCF error code to test framework
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-08 09:23:32 -04:00
Michal Mielewczyk
636834dae3
Check for existing metadata when attaching cache.
...
Instead of overriding existing metadata silently, return appropriate error.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-08 09:23:32 -04:00
Michal Rakowski
609ff30cbc
Merge pull request #213 from imjfckm/fix-metadata-typo
...
Fix typo in metadata_hash_get_entries fcn
2019-07-04 16:06:13 +02:00
Jan Musial
aab3c4fbaa
Fix typo in metadata_hash_entries fcn
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-07-04 14:01:27 +02:00
Adam Rutkowski
6fb1a697a4
Merge pull request #211 from mmichal10/fix-unit-test
...
Prevent warpping ocf_mngt_cache_mode_has_lazy_write() in UT.
2019-06-28 08:21:05 -04:00
Michal Mielewczyk
3005b6b5b5
Prevent warpping ocf_mngt_cache_mode_has_lazy_write() in UT.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-28 07:39:24 -04:00
Kamil Łepek
6c869d97fb
Merge pull request #210 from Open-CAS/fix-uuid-freeing
...
Fix volumes deinit routine
2019-06-28 13:22:43 +02:00
Jan Musial
ede2bcdf48
Fix volumes deinit routine
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-28 13:03:14 +02:00
Daniel Madej
647601c514
Merge pull request #208 from KamilLepek/unregister_volume_fix
...
Removed wrong status check during unregister_volume_type in pyocf.
2019-06-27 14:58:06 +02:00
Daniel Madej
83d9ec7c98
Merge pull request #198 from KamilLepek/fix_xfail
...
Fix wb xfailed test, update exported obj md5
2019-06-27 14:51:58 +02:00
Jan Musiał
8572921271
Merge pull request #207 from KamilLepek/badges
...
Add readme badges for master branch status and licensing
2019-06-26 16:08:09 +02:00
Kamil Lepek
27de628013
Removed wrong status check during unregister_volume_type in pyocf.
...
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-26 15:07:19 +02:00
Jan Musiał
e7e0ad957d
Merge pull request #201 from mmichal10/fix-load-error-handling
...
Fix error handling in case of failed load
2019-06-26 12:24:02 +02:00
Kamil Lepek
53ce7cc6b9
Add readme badges for master branch status and licensing
...
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-26 10:52:23 +02:00
Adam Rutkowski
252cb2dd8e
Merge pull request #206 from Open-CAS/fix-leaking-core-volumes
...
Fix leaking front and core volumes
2019-06-26 04:45:07 -04:00
Jan Musial
2c629be4c2
Fix leaking front and core volumes
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-26 10:00:49 +02:00
Adam Rutkowski
2c5b37bd11
Merge pull request #205 from imjfckm/fix-cache-leak
...
Fix leaking cache references
2019-06-25 09:34:21 -04:00
Michal Mielewczyk
52f6d6280b
Fix error handling in case of failed load
...
Store default metadata values and restore them in case of failed load.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-25 09:31:05 -04:00
Jan Musial
4a20ce9c25
Fix leaking cache references
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-06-25 11:43:28 +02:00
Michal Rakowski
e9d5a9c658
Merge pull request #204 from micrakow/add_core_is_dirty_foo
...
Introduce core_is_dirty mngt method
2019-06-25 09:53:31 +02:00
Michal Rakowski
b1a6c467a0
Introduce core_is_dirty mngt method
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-25 09:12:44 +02:00
Michał Mielewczyk
4a6fc035e9
Merge pull request #203 from micrakow/remove_dirty_check_flush_cmpl
...
Remove cache dirty check at flush completion
2019-06-24 15:54:42 +02:00
Michal Rakowski
a818ffabfd
Move ocf_mngt_cache_is_dirty to public mngt interface
2019-06-24 15:23:06 +02:00
Michal Rakowski
2925147395
Remove reduntant dirty check
...
When flush completion is called there could be some clines marked as dirty since those could be in-use during flushing.
2019-06-24 14:24:34 +02:00
Kamil Łepek
0293ce956e
Merge pull request #202 from micrakow/makefile_j_fix
...
Forcing symbolic link creation
2019-06-24 12:57:35 +02:00
Michal Rakowski
91825a3c95
Forcing symbolic link creation
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-19 15:32:18 +02:00
Kamil Łepek
56a083695e
Merge pull request #190 from KamilLepek/readme_tests
...
Update README with pyocf information and fix referencing
2019-06-18 16:34:33 +02:00
Michał Mielewczyk
0d1011f65b
Merge pull request #195 from KamilLepek/fix
...
Pyocf minor api fixes
2019-06-18 16:30:23 +02:00
Kamil Lepek
bdfd086d81
Fix wb xfailed test, update exported obj md5
...
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-18 15:46:15 +02:00
Kamil Lepek
70142eef7f
Pyocf minor api fixes
...
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-14 18:15:22 +02:00
Adam Rutkowski
34a5b8e882
Merge pull request #187 from KamilLepek/config
...
Create config which excludes tests marked as "long" and security tests by default
2019-06-14 11:23:36 -04:00
Adam Rutkowski
db734c2359
Merge pull request #196 from imjfckm/fix-io-classes
...
Revert "Disallow ocf_cache_mode_max in io_class config"
2019-06-14 08:27:28 -04:00
Jan Musial
aec01f216c
Revert "Disallow ocf_cache_mode_max in io_class config"
...
This reverts commit 5ad5c521df
.
This change broke setting IO-classes with allocation. We use max as a
special value to indicate that the partition should use cache global
caching mode.
2019-06-14 14:08:28 +02:00
Jan Musiał
43d6dd7a1c
Merge pull request #188 from KamilLepek/pep8
...
Adapt all python code to PEP8 style standards
2019-06-14 10:03:52 +02:00
Kamil Lepek
e52d34c1c8
Adapt all python code to PEP8 style standards
...
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
2019-06-13 17:55:41 +02:00
Daniel Madej
1e2b8f1980
Merge pull request #189 from KamilLepek/pep8yml
...
Add PEP8 checker configuration file
2019-06-13 16:53:07 +02:00
Michał Mielewczyk
aeaeafb639
Merge pull request #193 from arutk/wo_improvements
...
Write-only cache mode improvements
2019-06-13 11:38:15 +02:00