rgw: abstract RGWProcess

RGWProcess is a generic request handler that sends request to the
workqueue for processing.
Add RGWFCGXProcess specialization. Later we'll add a new frontend that
will leverage that.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: add some debug output

Dump request environment when starting processing request. We used to do
it before, but it was recently dropped as part of a cleanup.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
librados: Add C API coverage for atomic write operations

Signed-off-by: Christian Marie <christian@ponies.io>
autogen: re-run aclocal after libtoolize

This seems to prevent configure from re-running after the first
invocation of 'make' following ./autogen.sh. The autoreconf script also
does this.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
rgw: use configurable prime number for gc hash

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
packaging: ship libdir/ceph

Automake puts ceph_common.sh into libdir/ceph, but the Red Hat packaging
was not capturing this file.

Add the libdir/ceph location to the RPM packaging.

Fixes #7117
6748: rgw: Optionally return the bucket name in a response header.

This can be useful in situations where accounting of traffic is done externally
when for example HTTP traffic is cached by a reverse proxy like Varnish.

Since not all traffic reaches the RGW daemon it can't fully account all traffic
and this the caching proxy needs to be aware of which bucket the request came for.

Signed-off-by: Wido den Hollander <wido@42on.com>
Merge pull request #1094 from ceph/wip-7117-redhat

packaging: ship libdir/ceph

Reviewed-by: Sage Weil <sage@inktank.com>
doc: Fixed keyring command and updated for current conventions.

fixes: #6692

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Merge pull request #915 from ceph/wip-rgw-expose-bucket

6748: rgw: Optionally return the bucket name in a response header.

Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
osd: OSDMap: fix output from ceph status --format=json for num_in_osds
num_up_osds returns as an int value, while num_in_osds returns as a string.
Since only an int can be returned from get_num_in_osds(), num_in_osds should
should also be an int to remain consistant with num_up_osds.

Fixes: 7159

Signed-off-by: Tyler Brekke <tyler.brekke@inktank.com>
rgw: use rwlock for cache

Use a window for cache lru updates, so that we don't need to get the
writer lock every read.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
doc: Removed old file. Changed file name.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added additional monitor icon.

fixes: #6959

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added third monitor icon.

fixes: #6959

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added source file for graphic.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added source file for graphic.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Changed file name.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added modification to quick start.

fixes: #6682

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added comments from #6682.

fixes: #6682

Signed-off-by: John Wilkins <john.wilkins@inktank.com>