Commit Graph

40066 Commits

Author SHA1 Message Date
Yann Dupont
f8455a18e4 mailmap: Xavier Roche affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-17 20:33:01 +00:00
Yann Dupont
b3b23d54d2 mailmap: Matt Benjamin affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-17 20:33:01 +00:00
Yann Dupont
2ce1cf8924 mailmap: Haomai Wang affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-17 20:32:55 +00:00
Yann Dupont
765d3c9f9e mailmap: Travis Rhoden affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-17 20:32:50 +00:00
Yann Dupont
80e89e1415 mailmap: Andy Allan affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-17 20:29:25 +00:00
Yann Dupont
d9ea1686f1 Some sanitization work on .mailmap, .organizationmap, .peoplemap : Sorting , Duplicate removal
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-16 21:02:34 +00:00
Sage Weil
1bea682169 Merge pull request #3997 from ceph/wip-debian-mv-var-lib-ceph-mds
debian: move /var/lib/ceph/mds to ceph-mds package

Reviewed-by: James Page <james.page@ubuntu.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-16 13:00:52 -07:00
Loic Dachary
0a76aa5e70 Merge pull request #3872 from dachary/wip-7334-partx-test
ceph-disk: test activate on the second journal

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2015-03-16 19:21:23 +01:00
Loic Dachary
332cf94632 Merge pull request #4014 from ceph/wip-mon-doc
doc/rados/operations/add-or-rm-mons: revise doc a bit to be less confusing

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-16 18:52:50 +01:00
John Spray
6417cf8b4e Merge pull request #3922 from ceph/wip-11053
mds: fix assertion caused by system clock backwards

Reviewed-by: John Spray <john.spray@redhat.com>
2015-03-16 13:32:29 -04:00
John Spray
38cc0fc2de Merge pull request #3752 from ceph/wip-10744
mds: give up replicas of a stopping mds's stuff

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-03-16 13:06:49 -04:00
John Spray
c0e6227519 mds: give up replicas of a stopping mds's stuff
In order for an MDS to make it through stopping when
it had some strays, the other ranks that serviced
the migrate_stray renames must ensure that they
give up any cache objects that belonged to
the stopping MDS, so that the stopping MDS
can finish emptying its cache.

Fixes: #10744
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-16 17:05:46 +00:00
Sage Weil
d47e6228ee doc/rados/operations/add-or-rm-mons: revise doc a bit to be less confusing
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-16 09:32:22 -07:00
Ken Dreyer
8a05092880 debian: move /var/lib/ceph/mds to ceph-mds package
On Debian, ceph-mds was split out into its own package in
9d6013e0db, but the /var/lib/ceph/mds
directory was not moved along with the rest of the mds pieces.

The /var/lib/ceph/mds directory is only necessary if a user has
installed ceph-mds. Move it to the ceph-mds subpackage.

http://tracker.ceph.com/issues/10587 Refs: #10587

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-03-16 10:11:43 -06:00
Loic Dachary
1eb6f6df2f Merge pull request #4002 from zhicheng/master
fix doc/dev/network-protocol.rst typo

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-16 09:03:00 +01:00
Kefu Chai
241a9d51c9 Merge pull request #4007 from dachary/wip-warnings
fix a few minor compilation warnings

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-16 15:33:53 +08:00
Loic Dachary
489bca16fb fix a few minor compilation warnings
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-16 08:13:44 +01:00
Zhicheng Wei
5ba8764d2a fix doc/dev/network-protocol.rst typo
Signed-off-by: Zhicheng Wei <zhicheng@opensourceforge.net>
2015-03-16 10:26:55 +08:00
Sage Weil
a620705f66 Merge pull request #3989 from javacruft/wip/fixup-cycles-crossarch
Add support for PPC architecture, provide fallback

Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-15 18:12:34 -07:00
Loic Dachary
d9af510c71 Merge pull request #4006 from dachary/wip-documentation
doc: mark the ascii schema as a literal block

Reviewed-by: Yann Dupont <yann@objoo.org>
2015-03-15 23:31:40 +01:00
Loic Dachary
d17e2e8b1d doc: mark the ascii schema as a literal block
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-15 22:47:59 +01:00
Loic Dachary
c1d644b0e9 Merge pull request #4005 from dachary/wip-releases
doc: release timeline

Reviewed-by: Yann Dupont <yann@objoo.org>
2015-03-15 22:39:39 +01:00
Loic Dachary
81dda4cca8 Merge pull request #3990 from zaitcev/first_contrib
Specify the actual struct used in protocol handshake

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-15 22:13:50 +01:00
Loic Dachary
cd1e5e184b Merge pull request #3992 from ceph/wip-package-perf-objectstore
packaging: include ceph_perf_objectstore

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2015-03-15 22:12:05 +01:00
Loic Dachary
14c02d8fae doc: release timeline
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-15 22:02:59 +01:00
Ken Dreyer
338b44bc74 packaging: include ceph_perf_objectstore
The /usr/bin/ceph_perf_objectstore file is installed by default. Prior
to this commit it was missing from the packaging. This caused the RPM to
fail to build in mock.

Add ceph_perf_objectstore to the "ceph-test" RPM and Debian package.

If we end up developing further ceph_perf_* utilities, it would make
sense to glob them all with a wildcard, similar to what we are doing
with all the ceph_test_* utilities in ceph-test.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-03-13 16:14:51 -06:00
Pete Zaitcev
372297201f Specify the actual struct used in protocol handshake
Maybe it was sockaddr_storage in an older version, but it is
definitely entity_addr_t in "ceph v027".

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2015-03-13 14:18:11 -06:00
James Page
b2781fb563 Add support for PPC architecture, provide fallback
Add high precision cpu cycles support for powerpc and powerpc64.

Provide a fallback for other architectures and warn during
compilation.

Signed-off-by: James Page <james.page@ubuntu.com>
2015-03-13 19:47:00 +00:00
Kefu Chai
e3bbe4e02b Merge pull request #3957 from xinxinsh/wip-cleanup
os/{Level,Rocks}DBStore: cleanup in_prefix function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-14 00:28:08 +08:00
Kefu Chai
19d106f2dc Merge pull request #3985 from fmarsylle/master
doc: s/that will called every time/that will be called every time/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-13 23:33:26 +08:00
Loic Dachary
58e815729a Merge pull request #3986 from Al3xis-N/master
doc: How to generate an object corpus : should be a subsection

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-13 15:17:05 +01:00
smagtony@gmail.com
aeca8fb040 doc: How to generate an object corpus : should be a subsection
Fixes: #11099

Signed-off-by: Alexis Normand <n.al3xis@gmail.com>
2015-03-13 15:11:21 +01:00
Loic Dachary
6ba2e49a9b Merge pull request #3987 from RobinDehu/master
doc: extra \ in CEPH\_AUTH\_UNKNOWN

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-13 15:09:26 +01:00
florian
72a26ebbb8 doc: s/that will called every time/that will be called every time/
fixes: #11098

Signed-off-by: florian marsylle <florian.marsylle@hotmail.fr>
2015-03-13 15:03:27 +01:00
dehu robin
38bc2986d8 doc: extra \ in CEPH\_AUTH\_UNKNOWN
Suppress all \

fixes: #11097

Signed-off-by: DEHU Robin <robindehu@gmail.com>
2015-03-13 13:04:14 +01:00
Josh Durgin
6e56438b01 Merge pull request #3979 from ceph/wip-rbd-map-options
rbd: default map options, new options, misc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-12 14:36:05 -07:00
Ilya Dryomov
6d9fbbe6f9 rbd: fix rw option skipping logic
We slip in an extraneous comma if { "rw": "rw" } happens to be the
first map_options pair:

    # ./rbd map -o rw,share foo
    /dev/rbd0

    -> 127.0.0.1:6789 name=admin,key=client.admin,,share rbd foo -

The kernel mount options parser can handle it, but fix it nonetheless.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-03-12 14:28:01 +03:00
Ilya Dryomov
2769da40d7 rbd: recognize cephx_require_signatures and tcp_nodelay options
Support for these went into 3.19 and 4.0 kernels respectively.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-03-12 14:27:32 +03:00
Ilya Dryomov
84adff4c74 rbd: add rbd default map options config option
Allow supplying rbd map -o / --options through 'rbd default map
options' config option.  Options specified on the command line take
precedence on a per-option basis, i.e. default and cli options are
merged with a preference for the latter.  For example:

    # grep 'rbd default map options' ceph.conf
            rbd default map options = "ro,nocrc"
    # ./rbd map -o noshare,rw foo
    /dev/rbd0

results in a rw mapping with nocrc,noshare.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-03-12 14:27:32 +03:00
Ilya Dryomov
cd761bb6d3 rbd: drop redefining map option warning
For example:

    # ./rbd map -o share,noshare foo
    rbd: warning: redefining map option share: 'share' -> 'noshare'
    /dev/rbd0

mount(8) doesn't do this and it's a bit silly to begin with.  Drop this
in preparation for adding rbd default map options config option.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-03-12 14:27:32 +03:00
Ilya Dryomov
356a749f63 rbd: regenerate rbd(8) man page
merge-diff and status commands, --image-features and --image-shared
options, other stuff.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-03-12 14:27:32 +03:00
Danny Al-Gaaf
b6d1effee6 Merge pull request #3924 from ktdreyer/wip-doc-rm-old-ceph-deploy-reference
rm old ceph-deploy reference

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-12 11:11:36 +01:00
Kefu Chai
c0d8089556 Merge pull request #3965 from linuxbox2/xio-fixes
xio: Xio fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-12 17:19:39 +08:00
Matt Benjamin
f5735b28d1 Fix XioLoopbackConnection Lifecycle.
Since XioLoopbackConnection is a RefCountedObject, it can't be
an expanded member of XioMessenger.

Fixes cleanup/shutdown errors.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
2015-03-11 14:14:28 -04:00
Matt Benjamin
76d4d4c6b7 Fix CMake build w/o RADOSGW.
Just fixes linkage of dencoder in test.  Fix the false assumption
that cls is only used if WITH_RADOSGW.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
2015-03-11 14:14:20 -04:00
Jason Dillaman
64d9e05d42 Merge pull request #3625 from majianpeng/objectcacher
Bugs fix about ObjectCacher

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-03-11 11:53:43 -04:00
Kefu Chai
fdf9e1cd6e Merge pull request #3881 from ceph/wip-da-SCA-20150304
SCA fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-11 23:52:16 +08:00
Loic Dachary
f5acf6bb6a ceph-disk: more robust parted output parser
In some cases, depending on the implementation or the operating system,

   parted --machine -- /dev/sdh print

may contain empty lines. The current parsing code is fragile and highly
depends on output details. Replace it with code that basically does the
same sanity checks (output not empty, existence of units, existence of
the dev entry) but handles the entire output instead of checking line by
line.

http://tracker.ceph.com/issues/10983 Fixes: #10983

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-11 14:02:54 +01:00
Danny Al-Gaaf
faa7937f2f tools/rados/rados.cc: init some vars in constructor
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-11 14:00:08 +01:00
Danny Al-Gaaf
db175fb938 rgw_rados: don't assign value to parameter
Fix for cppcheck issue:
Assignment of function parameter has no effect outside the function.

Remove assignment to need_to_wait before exit.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-11 14:00:08 +01:00