Sage Weil
befe1e1eef
Merge pull request #799 from ceph/wip-doc-install
...
Wip doc install
Reviewed-by: Neil Levine <neil.levine@inktank.com>
2013-11-06 07:57:23 -08:00
Sage Weil
0c91576ef6
Merge pull request #821 from ceph/port/missing-headers
...
add missing headers
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-06 07:51:02 -08:00
Sage Weil
64b5d7060d
Merge pull request #822 from ceph/port/rgw
...
portability patches in rgw
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-06 07:50:20 -08:00
Sage Weil
89f27a9144
Merge pull request #825 from ceph/port/utime
...
utime: use to_timespec for conversion
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-06 07:45:17 -08:00
Noah Watkins
81a3ea1bc0
rgw: add compat file for name service macros
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 13:38:48 -08:00
Noah Watkins
5dc64193cc
rgw: avoid sighandler_t in favor of sig_t
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 13:30:24 -08:00
Noah Watkins
e9880cfc1e
crush: add mising header for count
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 13:26:43 -08:00
Noah Watkins
a10345a552
auth: add missing header for list
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 13:26:33 -08:00
Noah Watkins
01a5a83841
mon: add missing header for std::find
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 13:26:27 -08:00
Noah Watkins
e71a2f0c8f
auth: add missing header file for std::replace
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 13:26:19 -08:00
Yehuda Sadeh
8ca71b86f8
Merge pull request #811 from dmsimard/wip_6710
...
Be more verbose in radosgw init script issues, return the right exit codes
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2013-11-05 12:25:20 -08:00
Noah Watkins
0209568c57
utime: use to_timespec for conversion
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-05 11:49:35 -08:00
David Moreau Simard
bbcddef877
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>
2013-11-05 12:07:18 -05:00
David Moreau Simard
c4b0431b02
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>
2013-11-05 11:57:26 -05:00
David Moreau Simard
0c610918c4
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>
2013-11-05 11:32:58 -05:00
Sage Weil
74873fd110
Merge pull request #816 from ceph/wip-fadvise
...
wbthrottle: use posix_fadvise if available
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-05 05:31:57 -08:00
Sage Weil
fe8e3be6dd
Merge pull request #815 from ceph/wip-static-cast
...
assert: use feature test for static_cast
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-05 05:29:54 -08:00
Sage Weil
b4d0833dc2
Merge pull request #813 from ceph/wip-blkdev
...
support blkdev size query on osx/freebsd
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-05 05:27:40 -08:00
Sage Weil
d35b282d9d
Merge pull request #803 from ceph/wip-6698
...
upstart: fix ceph-crush-location default
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-04 18:37:59 -08:00
John Wilkins
195e86134d
doc: Mentioned that install procedure is for manual deployments, not ceph-deploy or others.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-04 14:57:41 -08:00
John Wilkins
2aa6cde56d
doc: Changed text for ceph-extras. Made it required. Mentioned newer versions.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-04 14:57:07 -08:00
Noah Watkins
6821a6e83a
assert: use feature test for static_cast
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-04 13:14:11 -08:00
Noah Watkins
330a6a769b
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>
2013-11-04 13:01:33 -08:00
John Wilkins
2bf8ff4b68
doc: Added DNS and SSL dialog.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-11-04 12:50:30 -08:00
Noah Watkins
324dd54534
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>
2013-11-04 10:13:50 -08:00
Noah Watkins
268785ff0c
blkdev: support blkdev size query on osx
...
Support OSX, add checks for platform specific headers.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-04 10:13:50 -08:00
Sage Weil
254799bb86
Merge pull request #812 from ceph/revert-struct-init
...
Revert "fix -Wgnu-designator warnings"
2013-11-04 07:58:49 -08:00
Noah Watkins
41e052dc20
Revert "fix -Wgnu-designator warnings"
...
Struct initialization using dot notation as in C99, but that happens to
not be valid C++, although apparently in C++11 it is valid. We'll need a
way to keep clang from throwing warnings at this initialization style,
either using some macros to detect the comiler environment, or perhaps
moving struct initialization to a C file rather than C++.
This reverts commit 6efc2b54d5
.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-04 06:23:22 -08:00
Xing Lin
96f4607bb0
test/libcephfs: free cmount after tests finishes
...
unmount and release cmount at the end of tests
Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-02 23:15:28 -07:00
Sage Weil
adee47f8eb
Merge pull request #790 from ceph/wip-warnings
...
ease clang's anxieties
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-02 22:17:46 -07:00
Sage Weil
1faf4bab82
Merge pull request #793 from ceph/wip-pipe
...
pipe: use pipe2 feature test; check fcntl retval
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-02 22:16:18 -07:00
Sage Weil
1bb5aadbca
upstart: fix ceph-crush-location default
...
Behave if it is not specified on ceph.conf. (init-ceph also falls back
to the default.)
Fixes : #6698
Signed-off-by: Sage Weil <sage@inktank.com>
2013-11-01 16:45:01 -07:00
Loic Dachary
c3c962eb7d
doc: radosgw workaround for OpenStack Horizon bug
...
Signed-off-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-11-01 16:38:02 -07:00
Loic Dachary
cbc15bfcac
doc: fix typo in openstack radosgw integration
...
s/type-object store/type object-store/
Signed-off-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-11-01 16:38:02 -07:00
Sage Weil
4032501eb6
mon/OSDMonitor: refix warning
...
mon/OSDMonitor.cc: In member function 'int OSDMonitor::_prepare_rename_pool(int64_t, std::string)':
mon/OSDMonitor.cc:4370:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Two fixes for this crossed paths in
0c186096bb
and
2181b4c946
Signed-off-by: Sage Weil <sage@inktank.com>
2013-11-01 17:00:17 -07:00
Noah Watkins
59a55fdaaf
pipe: use pipe2 feature test; check fcntl retval
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:21:14 -07:00
Noah Watkins
5d0d0a9122
fix -Wmismatched-tags warnings
...
Example: warning: class 'ObjecterDispatcher' was previously declared as
a struct [-Wmismatched-tags]
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:17:23 -07:00
Noah Watkins
6efc2b54d5
fix -Wgnu-designator warnings
...
Example: warning: use of GNU old-style field designator extension
[-Wgnu-designator]
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:17:23 -07:00
Noah Watkins
382149cc10
OSD: remove unused private var [-Wunused-private-field]
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:17:22 -07:00
Noah Watkins
cf29574203
CrushTester: remove unused private var [-Wunused-private-field]
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:17:22 -07:00
Noah Watkins
cc08a4ae3f
auth: remove unused private var [-Wunused-private-field]
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:17:22 -07:00
Samuel Just
cd30e5fbb1
common/buffer.cc: fix rebuild_page_aligned typo
...
Introduced: 66a9fbe2c7
Fixes : #6003
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-11-01 16:12:02 -07:00
Noah Watkins
ffdd30efc8
test: add gcc compile test for installed headers
...
libcephfs/librados headers should work with gcc.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-11-01 16:09:12 -07:00
Christophe Courtaut
12238d0906
libcephfs: Fix compilation for C compiler
...
Use struct instead of class, even if it warns.
Warnings are lower priority than compilation break.
Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
2013-11-01 16:09:08 -07:00
Christophe Courtaut
b3b1650121
ceph: Fix compilation with GCC compiler
...
Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
2013-11-01 16:08:55 -07:00
Sage Weil
1671d7e8d5
Merge branch 'next'
2013-11-01 16:08:14 -07:00
David Moreau Simard
524aee6f95
Really use the hostname, otherwise ambiguous
...
"hostname" can return either the hostname or the fqdn depending on
configuration.
This refers to the issue http://tracker.ceph.com/issues/6706
Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-11-01 16:08:01 -07:00
Sage Weil
f2622a4a12
ceph-object-corpus: revert accidental revert
...
from 5df3024d78
Signed-off-by: Sage Weil <sage@inktank.com>
2013-11-01 16:07:44 -07:00
Wido den Hollander
df3af6c05e
docs: Fix a typo in RGW documentation
2013-11-01 16:07:41 -07:00
Sage Weil
735d9a4ad1
Merge pull request #792 from ceph/wip-doc-openstack
...
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-11-01 16:07:21 -07:00