pyocf: fix cache device config
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
fe990effb1
commit
cf72664c2c
@ -75,6 +75,7 @@ class CacheAttachConfig(Structure):
|
|||||||
("_open_cores", c_bool),
|
("_open_cores", c_bool),
|
||||||
("_force", c_bool),
|
("_force", c_bool),
|
||||||
("_discard_on_start", c_bool),
|
("_discard_on_start", c_bool),
|
||||||
|
("_volume_params", c_void_p),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -447,8 +448,8 @@ class Cache:
|
|||||||
_cache_line_size=cache_line_size
|
_cache_line_size=cache_line_size
|
||||||
if cache_line_size
|
if cache_line_size
|
||||||
else self.cache_line_size,
|
else self.cache_line_size,
|
||||||
_force=force,
|
|
||||||
_open_cores=True,
|
_open_cores=True,
|
||||||
|
_force=force,
|
||||||
_discard_on_start=False,
|
_discard_on_start=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user