Merge pull request #467 from robertbaldyga/seq-cutoff-fix-promotion-fastpath
seq_cutoff: Fix stream promotion fastpath
This commit is contained in:
commit
c6bf894f46
@ -305,7 +305,7 @@ void ocf_core_seq_cutoff_update(ocf_core_t core, struct ocf_request *req)
|
||||
if (req->byte_length >= threshold)
|
||||
promote = true;
|
||||
|
||||
if (promotion_count == 0)
|
||||
if (promotion_count == 1)
|
||||
promote = true;
|
||||
|
||||
if (req->seq_cutoff_core || promote) {
|
||||
|
Loading…
Reference in New Issue
Block a user