Revision cb9432cc snf-pithos-backend/pithos/backends/lib/hashfiler/blocker.py
b/snf-pithos-backend/pithos/backends/lib/hashfiler/blocker.py | ||
---|---|---|
80 | 80 |
def block_retr(self, hashes): |
81 | 81 |
"""Retrieve blocks from storage by their hashes.""" |
82 | 82 |
return self.fblocker.block_retr(hashes) |
83 |
|
|
84 |
def block_retr_archip(self, hashes): |
|
85 |
"""Retrieve blocks from storage by their hashes.""" |
|
86 |
return self.fblocker.block_retr_archip(hashes) |
|
83 | 87 |
|
84 | 88 |
def block_stor(self, blocklist): |
85 | 89 |
"""Store a bunch of blocks and return (hashes, missing). |
Also available in: Unified diff