seq_cutoff: Fix stream promotion fastpath
Now req_count starts from 1. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
d28451ab4a
commit
b25ea7c8ec
@ -305,7 +305,7 @@ void ocf_core_seq_cutoff_update(ocf_core_t core, struct ocf_request *req)
|
|||||||
if (req->byte_length >= threshold)
|
if (req->byte_length >= threshold)
|
||||||
promote = true;
|
promote = true;
|
||||||
|
|
||||||
if (promotion_count == 0)
|
if (promotion_count == 1)
|
||||||
promote = true;
|
promote = true;
|
||||||
|
|
||||||
if (req->seq_cutoff_core || promote) {
|
if (req->seq_cutoff_core || promote) {
|
||||||
|
Loading…
Reference in New Issue
Block a user