blkdev: support blkdev size query on osx

Support OSX, add checks for platform specific headers.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
test: test helper for get_block_device_size

This is the start of a potential unit test for get_block_device_size. An
actual unit test will probably need to be run as root, and either find a
device, have one specified, or create one (e.g. ramdisk)  in a platform
agnostic way. In the mean time, this tool can be run by hand, or called
for a bash script.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
assert: use feature test for static_cast

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
wbthrottle: use posix_fadvise if available

Only adding information about data usage. This won't effect correctness.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
We should exit 1 if radosgw is not executable

An exit 0 means everything went okay - we should exit 1 if there is a problem in
starting radosgw.

Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
Verify that radosgw started, return appropriate exit code

Changed "/etc/init.d/radosgw status" into a function that now
returns the appropriate exit code.
We now also verify that radosgw actually started properly.

Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
Add a verbose argument and some verbosity

This allows a user to use "-v|--verbose" to get some insight as to
what could be preventing radosgw from starting properly.

Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
utime: use to_timespec for conversion

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
rgw: avoid sighandler_t in favor of sig_t

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
rgw: add compat file for name service macros

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
auth: add missing header file for std::replace

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
mon: add missing header for std::find

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
auth: add missing header for list

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
crush: add mising header for count

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
doc: Removed old files. Consolidated contents into new IA.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Removed Calxeda reference since it is now the same as normal install.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Moved CPU Profiler docs to dev.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Removed RGW from quick start, since it is not ceph-deploy enabled.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Updated Quick Block Device for kernel versions, and linked OS Recommendations.
doc: Updated OS recommendations with an Emperor entry.

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