remove ceph_dupstore

This is broken and useless.

Signed-off-by: Sage Weil <sage@redhat.com>
osd, filestore: move convertfs into FileStore

There is no reason for this level of detail to be exposed to the OSD.

There is one significant change here: we are not touching the SnapMapper
in the FileStore collection removal.  This is, most likely, fixing a bug.

Signed-off-by: Sage Weil <sage@redhat.com>
osd, filestore: mount in upgrade() caller

Signed-off-by: Sage Weil <sage@redhat.com>
osd, filestore: move automatic upgrade into mount()

Signed-off-by: Sage Weil <sage@redhat.com>
os/ObjectStore: remove version calls from interface

No reason to expose these.

Signed-off-by: Sage Weil <sage@redhat.com>
os/FileStore: remove old collection conversion code

This relies on collection_add and _remove, which we want to kill.  Make
people upgrade to firefly first.

Signed-off-by: Sage Weil <sage@redhat.com>
osd: s/collection_remove/remove/

The implementations are identical.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph_test_filestore_idempotent_sequence: use collection_move

Signed-off-by: Sage Weil <sage@redhat.com>
ceph_test_objectstore: s/collection_remove/remove/

They are identical.

Signed-off-by: Sage Weil <sage@redhat.com>
os/ObjectStore: remove collection_{add,remove}

Move the add+remove a move normally translates to directly into
that method.

Signed-off-by: Sage Weil <sage@redhat.com>
os/FileStore: assume COLL_ADD is always followed by COLL_REMOVE

In practice, it is.  Turn this into a "single" atomic op.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph_test_filestore_idempotent_sequence: drop collection_rename

Not used.

Signed-off-by: Sage Weil <sage@redhat.com>
osd: remove pgs with "remove" flag on startup

Just like we do removal or temp collections.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph_filestore_dump: use "remove" marker instead of collection rename

Instead of renaming the collection to FORREMOVAL, just mark it with an
attr.

Signed-off-by: Sage Weil <sage@redhat.com>
remove collection_rename

No more users!  Complicated semantics!

Signed-off-by: Sage Weil <sage@redhat.com>
Merge pull request #2124 from ceph/wip-objectstore

simplify ObjectStore interface

sage-2014-11-11_08:26:01-rados-wip-sage-testing-distro-basic-multi

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>