remove mkcephfs

Fixes: #7552
Signed-off-by: Sage Weil <sage@inktank.com>
rgw: radosgw-admin object rewrite

A radosgw-admin command that copies the object into itself while
preserving mtime and attributes so that data can be restriped.
Especially useful when migrating from argonaut (where objects
weren't striped).

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 292c3c16fa87ed9b6d6abb22f45527ea2487c2a6)

Conflicts:
	src/rgw/rgw_admin.cc
rgw, radosgw-admin: bucket link uses bucket instance id now

Fixes: 7499
We need to link user to a specific bucket instance. This updates both
the radosgw-admin link command, and the RESTful admin api.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
radosgw-admin: check params for object rewrite

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 28c716bccd955eaf68e9c739139c901ca4f419f7)
radosgw-admin: new 'bucket rewrite' command

Iterates through objects and rewrites them.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 3af09b9f9f6eaf2c80f0f0fd2ea87ac16c7ffcf8)

Conflicts:
	src/rgw/rgw_admin.cc
radosgw-admin: add some conditions for bucket rewrite

 --min-rewrite-size, --max-rewrite-size to specify object size
 conditions

 --start-date, --end-date to specify object mtime conditions (format is
 YYYY-MM-DD[ HH:MM:SS])

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit dbb2013eaf1eedf2a5cbcae1d314385ea033dbb8)
rgw: update bucket / object rewrite

Get code up to date for firefly, need to pass bucket owner for quota
related functionality.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
doc: Admin API usage for quotas. Needs additional clarification on syntax.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: New admin guide for Ceph Object Gateway. Needs some clarification (todo).

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Reworked the simple configuration guide to be more generic.

Changes include removing keystone and putting it into a separate document,
removing user config and putting it into an admin guide, and creating
separate config examples for CentOS/RHEL and Debian/Ubuntu. Needs
clarification on chown/chmod.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added new docs to index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Created standalone doc for Keystone Integration.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Distro specific rgw.conf example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Distro specific rgw.conf example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Add clone test on store_test

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
osd: throttle snap trimmming with simple delay

This is not particularly smart, but it is *a* knob that lets you make
the snap trimmer slow down.  It's a flow and a simple delay, so it is
adjustable at runtime.  Default is 0 (no change in behavior).

Partial solution for #6278.

Signed-off-by: Sage Weil <sage@inktank.com>
Simple mechanical cleanups

* Removed trailing and useless whitespaces
* Removed useless imports.

Signed-off-by: Christopher Glass <christopher.glass@canonical.com>
ReplicatedPG::mark_all_unfound_lost: delete local copy if necessary

There might be a local copy for an EC pool in the DELETE case.  The replica
copies should be already handled by merge_log.

Fixes: #7439
Signed-off-by: Samuel Just <sam.just@inktank.com>
PG::PriorSet: consider lost osds in up_now for pcontdec

Otherwise, the pg will remain down even as osds are marked lost.

Signed-off-by: Samuel Just <sam.just@inktank.com>
stringify: use ostringstream instead of stringstream

Use ostringstream, as we don't need both input and output of the
stringstream in stringify().

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>