Write-only cache mode
Write-only cache mode is similar to writeback, however read operations do not promote data to cache. Reads are mostly serviced by the core device, only dirty sectors are fetched from the cache. Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
@@ -84,8 +84,8 @@ static int _ocf_backfill_do(struct ocf_request *req)
|
||||
|
||||
req->data = req->cp_data;
|
||||
|
||||
ocf_submit_cache_reqs(req->cache, req->map, req, OCF_WRITE, reqs_to_issue,
|
||||
_ocf_backfill_complete);
|
||||
ocf_submit_cache_reqs(req->cache, req, OCF_WRITE, 0, req->byte_length,
|
||||
reqs_to_issue, _ocf_backfill_complete);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user