open-cas-linux/modules/cas_cache
Gal Hammer b9110635c1 cas_cache: fix "blk_update_request: operation not supported" error
A write request with the REQ_RAHEAD flag enabled cause the nvme driver
to send a write command with access frequency value that is reserved
(at least on specification version 1.4c). NVME devices might fail this
write command with an unsupported error. So we now clear the request's
flag based on its direction.

Signed-off-by: Gal Hammer <gal.hammer@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-09-10 14:36:43 +02:00
..
utils rpool: Mark an entry for kmemleak outside of atomic context 2024-09-02 12:16:59 +02:00
volume cas_cache: fix "blk_update_request: operation not supported" error 2024-09-10 14:36:43 +02:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h Compare properties of a new cache device during cache attach 2024-09-09 15:57:35 +02:00
classifier_defs.h Fix license 2021-10-28 12:46:42 +02:00
classifier.c Add missing "static" to the local functions 2024-05-14 08:22:34 +02:00
classifier.h Fix license 2021-10-28 12:46:42 +02:00
context.c Add missing "static" to the local functions 2024-05-14 08:22:34 +02:00
context.h Rework for RHEL8.5 2022-08-16 13:50:59 +02:00
control.c Add support for Linux kernel up to 6.8 2024-05-14 08:47:45 +02:00
control.h Fix license 2021-10-28 12:46:42 +02:00
debug.h Remove cas_disk from naming in code 2022-09-19 10:38:21 +02:00
disk.c Add support for Linux kernel up to 6.8 2024-05-14 08:47:45 +02:00
disk.h Add support for Linux kernel up to 6.8 2024-05-14 08:47:45 +02:00
exp_obj.c Fix redefined macro error 2024-07-22 15:53:10 +02:00
exp_obj.h Merge exp obj create/activate 2022-09-23 14:21:37 +02:00
layer_cache_management.c Enable cache detach 2024-09-09 16:30:05 +02:00
layer_cache_management.h Enable cache detach 2024-09-09 16:30:05 +02:00
linux_kernel_version.h Open CAS Linux kernel 5.18 support 2022-10-24 09:53:01 +00:00
main.c Remove cas_disk from naming in code 2022-09-19 10:38:21 +02:00
Makefile Fix license 2021-10-28 12:46:42 +02:00
ocf_env_headers.h Fix license 2021-10-28 12:46:42 +02:00
ocf_env.c Integrate kmemleak into CAS 2022-09-26 15:44:16 +02:00
ocf_env.h Get rid of strlcpy() 2024-05-14 08:22:34 +02:00
service_ui_ioctl.c Enable cache detach 2024-09-09 16:30:05 +02:00
service_ui_ioctl.h Remove cas_disk from naming in code 2022-09-19 10:38:21 +02:00
threads.c Remove ocf_queue_get_cache() 2024-09-09 14:48:44 +02:00
threads.h Remove ocf_queue_get_cache() 2024-09-09 14:48:44 +02:00