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:
@@ -141,7 +141,7 @@ static inline void _ocf_write_wb_submit(struct ocf_request *req)
|
||||
OCF_DEBUG_RQ(req, "Submit Data");
|
||||
|
||||
/* Data IO */
|
||||
ocf_submit_cache_reqs(cache, req->map, req, OCF_WRITE,
|
||||
ocf_submit_cache_reqs(cache, req, OCF_WRITE, 0, req->byte_length,
|
||||
ocf_engine_io_count(req), _ocf_write_wb_complete);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user