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>
ceph-disk: larger timeout in the test script

Otherwise slow machines may timeout just because they are slow and not
because the process is blocked by an actual problem.

Signed-off-by: Loic Dachary <loic@dachary.org>
mon: larger timeout for mon mkfs.sh test

Otherwise slow machines may timeout just because they are slow and not
because the process is blocked by an actual problem.

Signed-off-by: Loic Dachary <loic@dachary.org>
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>
Merge pull request #1103 from ceph/wip-7073

rgw: use configurable prime number for gc hash

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Merge pull request #1097 from ceph/fix-configure-rerunning

avoid re-running configure after initial 'make' invocation

This appears to pass the gitbuilders (and the multiple runs of configure have been irritating me for ages). Yay!

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #1104 from concubidated/master

osd: OSDMap: fix output from ceph status --format=json for num_in_osds

Reviewed-by: Sage Weil <sage@inktank.com>
PendingReleaseNotes: note ceph -s fix

See 790dda9c0b75fa5a59ce6187b6131dad54d6d3fe.

Signed-off-by: Sage Weil <sage@inktank.com>
rbd: expose mount_timeout map option

Expose mount_timeout map option.  (I missed it in commit 9b7364d2450c,
which added -o / --options option and among other options exposed
osdkeepalive and osd_idle_ttl timeouts.)

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

To ensure LevelDBStore::db is destroyed before dependent LevelDBStore::db_cache and LevelDBStore::filterpolicy.

Signed-off-by: Signed-off-by: Ray Lv <xiangyulv@gmail.com>
Merge pull request #1109 from ceph/wip-rbd-mount_timeout

rbd: expose mount_timeout map option

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #1107 from xylv/wip-osd-crash-with-leveldb-cache-set

osd: OSD failed to start with osd_leveldb_cache_size > 0

Reviewed-by: Sage Weil <sage@inktank.com>
rgw: add a load generation frontend

Still missing some pieces, but already generates requests.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: loadgen frontend read uid, init access key

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: sign loadgen requests

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>