Commit b37dfbd2 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f82dc053
......@@ -781,9 +781,8 @@ class _ZBigFileH(object):
def invalidate_page(self, pgoffset):
return self.zfileh.invalidate_page(pgoffset)
@property
def uses_mmap_overlay(self):
return self.zfileh.uses_mmap_overlay
return self.zfileh.uses_mmap_overlay()
# ~~~~ ISynchronizer ~~~~
......
......@@ -139,7 +139,7 @@ def test_bigfile_filezodb():
# evict all loaded pages and test loading them again
# (verifies ZBlk.loadblkdata() & loadblk logic when loading data the second time)
reclaimed = ram_reclaim_all()
if fh.uses_mmap_overlay:
if fh.uses_mmap_overlay():
assert reclaimed == 0
else:
assert reclaimed >= blen # XXX assumes pagesize=blksize
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment