Commit cd8d9105 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7eed1725
......@@ -137,7 +137,7 @@ def _pinner(wconn, ctx):
# TODO share @rev fd until Conn is recynced?
fsfile = wconn._wc._open("@%s/%s" % (ashex(req.at), ashex(req.foid))):
# XXX mmap
# FIXME check if virtmem did not mapped RW page into this block already
mm.mmap_into_ro(mmap.mem[(req.blk-mmap.blk_start)*blksize:][:blksize], fsfile.fileno(), req.blk*blksize)
if req.at is not None:
......
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