def _delete_cache(self, snapshot): fcg.rm_disk(snapshot) return True
def _delete_cache(self): fcg.rm_disk(self.snapshot_dev)
def _delete_cache(self, multipath): fcg.rm_disk(multipath) self.has_cache = False LOG.debug("delete cache according to multipath %s " % multipath)