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:
@@ -1600,6 +1600,7 @@ static const char *_ocf_cache_mode_names[ocf_cache_mode_max] = {
|
||||
[ocf_cache_mode_wa] = "wa",
|
||||
[ocf_cache_mode_pt] = "pt",
|
||||
[ocf_cache_mode_wi] = "wi",
|
||||
[ocf_cache_mode_wo] = "wo",
|
||||
};
|
||||
|
||||
static const char *_ocf_cache_mode_get_name(ocf_cache_mode_t cache_mode)
|
||||
|
Reference in New Issue
Block a user