pyocf: Fix cache settle
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
parent
3ebdf38aa9
commit
c07e44f036
@ -1010,7 +1010,8 @@ class Cache:
|
|||||||
|
|
||||||
# settle all queues accociated with this cache (mngt and I/O)
|
# settle all queues accociated with this cache (mngt and I/O)
|
||||||
def settle(self):
|
def settle(self):
|
||||||
Queue.settle_many(self.io_queues + [self.mngt_queue])
|
while not self.owner.lib.ocf_dbg_cache_is_settled(self.cache_handle):
|
||||||
|
pass
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_by_name(cache_name, owner=None):
|
def get_by_name(cache_name, owner=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user