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:
Adam Rutkowski
2019-05-27 14:43:08 -04:00
parent ae6164a49c
commit 82e8c55f4a
17 changed files with 353 additions and 27 deletions

View File

@@ -144,7 +144,7 @@ struct ocf_request {
/*!< Copy of request data */
uint64_t byte_position;
/*!< LBA byte position of request in code domain */
/*!< LBA byte position of request in core domain */
uint64_t core_line_first;
/*! First core line */