*opencas.py*: changed result class to contain text values instead of bytes,
translated chache configuring methods to py3,
*init script*: changed regex input on raw string to work in py3.
Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
As "all" target is supported by upper level Makefile, and target
names are passed to subdirectory Makefiles, all of them need to
support "all" target as well. Rename default target for simplicity.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
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>