Remove "interruption" argument from flush() functions
As non-interruptible flushes are no longer triggered from OCF internals, we can get rid of "interruption" argument and let adapters handle it themselves. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -505,7 +505,7 @@ class Cache:
|
||||
c = OcfCompletion(
|
||||
[("cache", c_void_p), ("priv", c_void_p), ("error", c_int)]
|
||||
)
|
||||
self.owner.lib.ocf_mngt_cache_flush(self.cache_handle, False, c, None)
|
||||
self.owner.lib.ocf_mngt_cache_flush(self.cache_handle, c, None)
|
||||
c.wait()
|
||||
if c.results["error"]:
|
||||
self.put_and_write_unlock()
|
||||
|
||||
Reference in New Issue
Block a user