Revision 29148653 snf-pithos-backend/pithos/backends/lib/hashfiler/radosmapper.py
b/snf-pithos-backend/pithos/backends/lib/hashfiler/radosmapper.py | ||
---|---|---|
33 | 33 |
|
34 | 34 |
from binascii import hexlify |
35 | 35 |
|
36 |
from context_object import RadosObject, file_sync_read_chunks
|
|
36 |
from context_object import RadosObject |
|
37 | 37 |
from rados import * |
38 | 38 |
|
39 |
CEPH_CONF_FILE="/etc/ceph/ceph.conf" |
|
39 |
CEPH_CONF_FILE = "/etc/ceph/ceph.conf" |
|
40 |
|
|
40 | 41 |
|
41 | 42 |
class RadosMapper(object): |
42 | 43 |
"""Mapper. |
... | ... | |
91 | 92 |
return |
92 | 93 |
with self._get_rear_map(maphash, 1) as rmap: |
93 | 94 |
rmap.sync_write_chunks(namelen, blkoff, hashes, None) |
94 |
|
Also available in: Unified diff