Commit Graph

5 Commits

Author SHA1 Message Date
Michal Mielewczyk
bda0eb41a9 Rename KCAS_IOCTL_PARTITION_STATS with KCAS_IOCTL_PARTITION_INFO.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-09-11 07:10:13 -04:00
Robert Baldyga
f038223979 Use name based OCF management API
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-08-16 14:08:34 +02:00
Adam Rutkowski
ffa1f4b067 Extend CAS interface with Write-only cache mode
Write-only (WO) cache mode is similar to Write-back (WB), 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.

Write-only cache mode is behaving similarly to Write-back with
respect to flushing dirty data. For example it is required to
explicitly enable/disable flushing when changing cache mode
from WO to something other than WB.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-13 15:54:51 -04:00
Michal Mielewczyk
9ea42084b3 Prevent cache mode to be truncated in case of 'Unknown' mode.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-11 08:50:12 -04:00
Robert Baldyga
94e8ca09e0 Initial commit
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-03-29 08:45:50 +01:00