Revision 3d875ca3
b/snf-pithos-backend/pithos/backends/lib/hashfiler/mapper.py | ||
---|---|---|
58 | 58 |
""" |
59 | 59 |
return self.fmap.map_retr(maphash, blkoff, nr) |
60 | 60 |
|
61 |
def map_stor(self, maphash, hashes=(), blkoff=0, create=1):
|
|
61 |
def map_stor(self, maphash, hashes=(), blkoff=0): |
|
62 | 62 |
"""Store hashes in the given hashes map.""" |
63 | 63 |
if self.rmap: |
64 |
self.rmap.map_stor(maphash, hashes, blkoff, create) |
|
65 |
self.fmap.map_stor(maphash, hashes, blkoff, create) |
|
64 |
self.rmap.map_stor(maphash, hashes, blkoff) |
|
65 |
self.fmap.map_stor(maphash, hashes, blkoff) |
Also available in: Unified diff