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>