open-cas-linux/modules/cas_cache
Kozlowski Mateusz a45f0c854f Fix _blockdev_set_bio_data iteration
The data->size field can be initialized to a lower value than bio->bi_vcnt,
if the bio is split. The bio_for_each_segment then iterates based on the original
indexes and the mismatch eventually causes a BUG_ON.

Fixes #714

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
2021-04-08 12:28:35 +02:00
..
utils General structure packing 2021-03-22 08:26:55 +01:00
volume Fix _blockdev_set_bio_data iteration 2021-04-08 12:28:35 +02:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
classifier_defs.h Classifier alignment 2021-03-22 08:26:55 +01:00
classifier.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
classifier.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
context.c Include mpool in env and use new allocator API 2021-03-05 14:02:08 +01:00
context.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
control.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
control.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
layer_cache_management.c Check dirty status in case of metadata mismatch 2021-04-06 15:37:44 -05:00
layer_cache_management.h Introduce "remove inactive core" to cas_cache module 2021-03-10 14:39:07 +01:00
layer_upgrade.c General structure packing 2021-03-22 08:26:55 +01:00
layer_upgrade.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
linux_kernel_version.h Add detection of ktime_get_real_ts64 vs getnstimeofday 2021-03-26 13:46:09 +01:00
main.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
Makefile Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
ocf_env_headers.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
ocf_env.c Allocator structures cacheline alignment 2021-03-22 08:26:55 +01:00
ocf_env.h Add detection of ktime_get_real_ts64 vs getnstimeofday 2021-03-26 13:46:09 +01:00
service_ui_ioctl.c Add KCAS_IOCTL_REMOVE_INACTIVE request to cas_cache module 2021-03-10 14:39:07 +01:00
service_ui_ioctl.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
threads.c General structure packing 2021-03-22 08:26:55 +01:00
threads.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00