Commit Graph

1365 Commits

Author SHA1 Message Date
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
Adam Rutkowski
e9faf5ff87 OCF update
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-07-02 13:10:12 +02:00
Robert Baldyga
746538129b
Merge pull request #862 from mmichal10/test-force-correct-serial
tests: force correct disk serial
2021-07-02 09:39:47 +02:00
Michal Mielewczyk
70c44c84ef tests: verify if disk serial is valid
Check whether disk serial number matches the one given in dut config file

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-07-01 15:44:21 +02:00
Michal Mielewczyk
cdf0940292 test api: Remove eviction from cache config stats
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-07-01 15:44:21 +02:00
Robert Baldyga
7873ac386a
Merge pull request #851 from robertbaldyga/ocf-fix-removing-dirty-core
Update OCF - Fix removing dirty core
2021-06-29 14:09:56 +02:00
Robert Baldyga
bc35c84a5a Update OCF - Fix removing dirty core
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-29 10:21:26 +02:00
Robert Baldyga
8c2ab0fac6
Merge pull request #846 from robertbaldyga/update-ocf-20210628
Update OCF - Unlock request after invalidating cache lines
2021-06-28 16:22:52 +02:00
Robert Baldyga
8667084ddf Update OCF - Unlock request after invalidating cache lines
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-28 14:36:53 +02:00
Robert Baldyga
e24a37ad40
Merge pull request #841 from robertbaldyga/fix-exp-obj-deinit
Fix exported object deinitialization
2021-06-24 15:15:49 +02:00
Robert Baldyga
34dbbc056d Fix exported object deinitialization
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-24 14:24:04 +02:00
Robert Baldyga
b650f3479d
Merge pull request #838 from mmkayPL/dev-bottom-mpool-create-api
Update mpool API for vol_atomic_dev_bottom
2021-06-24 08:36:54 +02:00
Kozlowski Mateusz
62f4c61f8e Update mpool API for vol_atomic_dev_bottom
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-06-23 14:57:21 +02:00
Robert Baldyga
eaa2f54ec1
Merge pull request #837 from robertbaldyga/update-ocf-20210623
Update OCF - Reorder metadata update pattern
2021-06-23 14:09:33 +02:00
Robert Baldyga
fe779c368d Update OCF - Reorder metadata update pattern
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-23 12:50:10 +02:00
Robert Baldyga
cb69102f9f
Merge pull request #781 from karolinavelkaja/soft_hot_plug_test_longer_io
longer io in test_soft_hot_plug_device
2021-06-22 08:59:49 +02:00
Robert Baldyga
6c3fc4d3c5
Merge pull request #736 from karolinavelkaja/example_test_fix_for_warning
fix warning in example_test.py
2021-06-22 08:59:34 +02:00
Robert Baldyga
209d720b12
Merge pull request #836 from mmkayPL/remove-metadata-updater
Update OCF
2021-06-21 23:03:15 +02:00
Adam Rutkowski
7aa883dbd3 OCF update (removed configurable eviction policy)
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-06-21 22:56:51 +02:00
Kozlowski Mateusz
647124895f Update OCF
Remove metadata updater
Update mpool API

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-06-21 21:57:10 +02:00
Robert Baldyga
877772734e
Merge pull request #833 from robertbaldyga/configure-fix-condition
configure: Fix condition for bd_first_part
2021-06-18 13:33:11 +02:00
Robert Baldyga
d6fa4c6d53 configure: Fix condition for bd_first_part
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-18 13:19:56 +02:00
Robert Baldyga
f89349a085
Merge pull request #661 from rafalste/create_packages_instructions
Add info about creating RPM/DEB packages
2021-06-17 16:41:57 +02:00
Robert Baldyga
3e914ee600
Merge pull request #829 from robertbaldyga/kernel-5.10
Add support for kernel up to 5.11
2021-06-16 10:38:02 +02:00
Robert Baldyga
e5e0697da4 Add support for kernel 5.11
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Robert Baldyga
2d7b94fa21 Remove block_dev_start_bio()
Now submit_bio path has no fallback to request queue, so we can simplify
io accounting.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Robert Baldyga
62eb6dc3fd Remove unused functions from top volume
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Robert Baldyga
5e17d0833f Remove unused callbacks from cas_disk ops
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Robert Baldyga
c7ac8c55f4 Remove unused configs
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Robert Baldyga
7f89e59b1a Remove CAS_FLUSH_SUPPORTED
It's defined on every single supported kernel, so there is actually no need
for this define at all.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Robert Baldyga
b82b338c53 Remove blk request handling path
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00