Robert Baldyga
a413e676e9
Merge pull request #925 from mmichal10/env-refactor
...
Env refactor
2021-08-20 10:20:17 +02:00
Robert Baldyga
1064cecbb9
Merge pull request #921 from mmichal10/remove-atomics
...
Remove remains of atomic writes support
2021-08-18 09:19:53 +02:00
Michal Mielewczyk
5e4fcb62be
env: refactor rwmutex
...
All the operations on `count` are performed under the lock thus it doesn't need
to be atomic.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-08-17 15:52:25 +02:00
Michal Mielewczyk
39bab9ad87
env: simplify env_rwsem
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-08-17 15:52:25 +02:00
Michal Mielewczyk
07ba79c57c
Remove remains of upgrade-in-flight support
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-08-16 16:02:09 +02:00
Michal Mielewczyk
c68de77799
Remove remains of atomic writes support
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-08-16 16:01:21 +02:00
Robert Baldyga
a5bcb0796e
Merge pull request #923 from robertbaldyga/cache_priv-vfree
...
Fix cache_priv deallocation
2021-08-16 15:53:51 +02:00
Robert Baldyga
3983cea2b5
Fix cache_priv deallocation
...
Since cache_priv is allocated with vmalloc() it should be deallocated
with vfree().
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-08-16 05:16:15 +02:00
Robert Baldyga
d87b2c6be7
Merge pull request #919 from robertbaldyga/remove-upgrade
...
Remove upgrade-in-flight feature
2021-08-12 13:40:22 +02:00
Robert Baldyga
c968285d9f
Remove upgrade-in-flight feature
...
Due to changes in Linux kernel this feature is not working anymore.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-08-11 20:33:16 +02:00
Robert Baldyga
5afc8af0e8
Merge pull request #899 from karolinavelkaja/cli_messages_update_and_tests
...
update cli messages and tests accordingly
2021-08-09 20:46:37 +02:00
Robert Baldyga
284ec95abf
Merge pull request #902 from karolinavelkaja/io_engines_test_fix
...
test_io_engines fix - remove rbd io engine from io engine parameters
2021-08-09 11:07:33 +02:00
Robert Baldyga
903b07a411
Merge pull request #916 from robertbaldyga/v21.12-version
...
Update version to v21.12
2021-08-09 11:06:53 +02:00
Robert Baldyga
b5ff627fad
Update version to v21.12
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-08-09 10:02:28 +02:00
Robert Baldyga
a2f4eaa0f6
Merge pull request #895 from jfckm/fix-lba-classifier-test
...
Fix lba classification test
2021-08-09 09:45:50 +02:00
Karolina Rogowska
ec9a7ca19c
update cli messages and tests accordingly
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-08-05 15:49:27 +02:00
Karolina Rogowska
31c8d7866a
test_io_engines fix - remove rbd io engine from io engine parameters
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-08-05 14:14:53 +02:00
Robert Baldyga
4139f69b6d
Merge pull request #906 from robertbaldyga/ocf-minor-final-fixes
...
Update OCF: final minor fixes
2021-07-30 12:18:42 +02:00
Robert Baldyga
a6633ec186
Update OCF: final minor fixes
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-30 11:38:50 +02:00
Robert Baldyga
d4c3335234
Merge pull request #903 from mmichal10/update-ocf
...
Update ocf: fix security tests
2021-07-29 14:20:21 +02:00
Michal Mielewczyk
c7cda91b44
Update ocf: fix security tests
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-07-29 13:47:35 +02:00
Robert Baldyga
9e3869e659
Merge pull request #900 from robertbaldyga/error-handling-fixes
...
Error handling fixes
2021-07-28 16:04:55 +02:00
Robert Baldyga
a98473afac
Better detect if the same device is being added twice
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-28 15:49:46 +02:00
Robert Baldyga
3b0236aca9
Fix error message when removing unplugged cache
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-28 15:22:35 +02:00
Jan Musial
2b6954a978
Fix lba classification test
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-07-28 09:57:57 +02:00
Robert Baldyga
3392b509ee
Merge pull request #896 from robertbaldyga/update-ocf-20210727
...
Update OCF
2021-07-28 09:41:54 +02:00
Michal Mielewczyk
a6d3c70b1d
Async API for switching cleaning policy
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-27 16:15:09 +02:00
Robert Baldyga
a5feea617f
Merge pull request #891 from mmkayPL/fast-path-reconnection
...
OCF update - restore fastpath
2021-07-22 11:16:56 +02:00
Robert Baldyga
51e0c57e74
Merge pull request #888 from robertbaldyga/version2sha
...
tools: Introduce version2sha helper tool
2021-07-22 11:16:33 +02:00
Kozlowski Mateusz
9c7ccff9fc
OCF update
...
Fixes #842
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-07-22 10:30:32 +02:00
Robert Baldyga
03d46f9b24
tools: Introduce version2sha helper tool
...
This tool translates Open CAS version tag into SHA in git repository.
Example:
$ ./tools/version2sha 21.06.0.0520.master
eaa2f54
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-21 12:28:08 +02:00
Robert Baldyga
b3b5a1735a
Merge pull request #885 from robertbaldyga/cache-line-size-discard-granularity
...
Use cache line size as discard granularity
2021-07-19 13:29:05 +02:00
Robert Baldyga
2e4c460702
Use cache line size as discard granularity
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-15 22:47:08 +02:00
Robert Baldyga
b57a8bf195
Merge pull request #883 from robertbaldyga/update-ocf-fix-stack-overflow
...
Update OCF - fix stack overflow
2021-07-14 15:53:52 +02:00
Robert Baldyga
7d05719c7e
Update OCF - fix stack overflow
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-14 15:38:07 +02:00
Robert Baldyga
95ddc882b8
Merge pull request #882 from robertbaldyga/update-ocf-free-part
...
Update OCF - fix free part initialization
2021-07-14 10:35:35 +02:00
Robert Baldyga
0769acdc73
Update OCF - fix free part initialization
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-14 10:19:07 +02:00
Robert Baldyga
7a498a10b6
Merge pull request #877 from robertbaldyga/lazy-thread
...
Introduce lazy helper thread abstraction to avoid hung task
2021-07-13 14:46:40 +02:00
Robert Baldyga
b00ab4a525
Merge pull request #879 from mmkayPL/ocf-user-partitions-count-fix
...
Update OCF
2021-07-13 13:07:12 +02:00
Kozlowski Mateusz
927c6e39d0
Update OCF
...
Fixes #870
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-07-13 11:31:24 +02:00
Robert Baldyga
2a35bd09be
Introduce lazy helper thread abstraction to avoid hung task
...
Some helper threads are created at the very beginning of cache start/stop
operations, but they are used only after OCF start/stop finishes, which
may take significant amount of time. Kernel by default creates threads
that wait for the first wake up in uninterruptible state, which may trigger
hung task warning if the first wake up is called more than 120 seconds
after thread creation. To mitigate this problem we create lazy thread
abstraction that waits for a wake up in interruptible state.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-13 10:07:25 +02:00
Robert Baldyga
7e23ea56f5
Merge pull request #878 from robertbaldyga/update-ocf-fix-recovery
...
Update OCF - fix recovery
2021-07-12 14:59:08 +02:00
Robert Baldyga
7d7349cc6a
Update OCF - fix recovery
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-12 14:17:09 +02:00
Robert Baldyga
92f85fd256
Merge pull request #875 from mmkayPL/ocf-update-struct-alignment
...
OCF update
2021-07-08 13:45:20 +02:00
Kozlowski Mateusz
7c8ca6ed5e
OCF update
...
OCF structure alignment
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-07-08 13:39:26 +02:00
Robert Baldyga
dfdc064346
Merge pull request #868 from robertbaldyga/split-big-io
...
Split big IO requests
2021-07-08 13:22:38 +02:00
Robert Baldyga
517d98a6ed
Split big IO requests
...
OCF cannot allocate request map bigger than 4MiB (due to kmalloc
limitations), thus we need to split bigger IOs into series smaller
ones to reduce request map size.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-07 18:52:22 +02:00
Robert Baldyga
f379b7fed5
Merge pull request #872 from arutk/ocf_070620
...
OCF update
2021-07-06 16:32:53 +02:00
Adam Rutkowski
743a3d0549
OCF update
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-07-06 16:21:56 +02:00
Robert Baldyga
b488565e98
Merge pull request #864 from arutk/ocf_070220
...
OCF update
2021-07-02 20:55:19 +02:00