Avoid stack overflow when pending read misses list is blocked
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -120,7 +120,8 @@ int ocf_read_pt(struct ocf_request *req)
|
||||
/* Traverse request to check if there are mapped cache lines */
|
||||
ocf_engine_traverse(req);
|
||||
|
||||
if (req->seq_cutoff && ocf_engine_is_dirty_all(req)) {
|
||||
if (req->seq_cutoff && ocf_engine_is_dirty_all(req) &&
|
||||
!req->bf_blocked) {
|
||||
use_cache = true;
|
||||
} else {
|
||||
if (ocf_engine_mapped_count(req)) {
|
||||
|
||||
Reference in New Issue
Block a user