qa: use recent kernel for kernel_untar_build.sh

Happier on oneiric!

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
config: alternative config options for global_init()

We want to be able to provide alternative default config values, than
the ones we set in common/config_opts.h. This can be useful when we
want different default for different modules (e.g., rgw, rgw-admin).
Just passing it on the command line won't do because then we'd override
any config set by the user, so we need to process that before the regular
parsing (but after initializing the config context).

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
rgw: provide different default values for 'debug rgw'

Currently rgw and radosgw-admin require different chattiness
defaults.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
rgw: tone down some log messages

dout(0) -> dout(1)

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
rgw: add more meaningful test instances of some encoded objects

still need to add tests for other objects

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Makefile.am, rgw: remove fcgi dependency where not needed

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
FileStore: clarify debug/error output

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
FileStore: ignore ERANGE and ENOENT on replay

The source object may either not exist or be the wrong size
during replay if the destination object was deleted in a future
already-applied operation.  This should not impact correctness
of the replay.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
test: add test_filestore_idempotent2

Signed-off-by: Samuel Just <rexludorum@gmail.com>
rgw: modify bucket instance for encoding test

This makes 'make check' happy, otherwise we need to create
a bucket name that starts with a period. This version is better.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
qa: kclient/file_layout.sh poking

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
test_idempotent: fix global_init call

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
build-doc: use alternate virtualenv dir, if specified

The docs gitbuilder will use this to avoid rebuilding the virtualenv on
every build.

Signed-off-by: Sage Weil <sage@newdream.net>
rgw: add more meaningful tests instances of encoded objects

this completes #2140

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
librados: split into separate files and remove unnecessary headers

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
librados: move methods that require an IoCtx to IoCtxImpl

RadosClient still does a few different things, but at least it
no longer does all the work of an IoCtx.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
ObjectCacher: remove unused and crufty atomic sync operations

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
OSDMap: make get_pools() const

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
osd_types: use uint64_t for ObjectExtent offsets and lengths

This is just client in-memory state, and allows us to address objects >4GiB,
to match the existing librados/Objecter interfaces.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Merge branch 'librados-cleanup'

Reviewed-by: Sage Weil <sage.weil@dreamhost.com>