Fix seq_cutoff respecting in pt read

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski
2020-03-17 16:36:04 +01:00
parent 2edd05c812
commit 6f4d02f251
3 changed files with 5 additions and 4 deletions

View File

@@ -245,6 +245,7 @@ void ocf_resolve_effective_cache_mode(ocf_cache_t cache,
if (ocf_seq_cutoff_check(core, req->rw, req->byte_position,
req->byte_length)) {
req->cache_mode = ocf_req_cache_mode_pt;
req->seq_cutoff = 1;
return;
}