Re: rados import/export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 30, 2012 at 13:50, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> The real question here is how *should* we be storing omap values when we
> export to/import from regular files?  A specially-marked (with xattr) .db
> file?

Does just adding a .db suffix make the name safe? If yes, xattr is not
needed; if no, it's not enough. Reading src/rados_export.cc and
src/rados_sync.cc, I see nothing like that. What if I have objects
"foo" and "foo.db" in a pool?

Note to self: the only thing avoiding collisions for e.g. "foo/" and
"foo$" is the hash.

> A related problem is how to store placement key strings for objects with
> modified placement; I can't remember if we already did something for that
> yet or not (maybe specially-named xattr?).

Commit 717621f66eb7da54c0000ff52985235dc6a17843, combined with nothing
else touching src/rados_export.cc after it, makes me think we don't
preserve the locator.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux