]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agomailmap: Wuxingyi affiliation 4009/head
Yann Dupont [Fri, 20 Mar 2015 21:33:27 +0000 (21:33 +0000)]
mailmap: Wuxingyi affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Rohan Mars affiliation
Yann Dupont [Fri, 20 Mar 2015 21:08:10 +0000 (21:08 +0000)]
mailmap: Rohan Mars affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Javier Guerra affiliation
Yann Dupont [Fri, 20 Mar 2015 20:50:22 +0000 (20:50 +0000)]
mailmap: Javier Guerra affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Thomas Johnson affiliation
Yann Dupont [Tue, 17 Mar 2015 18:02:20 +0000 (18:02 +0000)]
mailmap: Thomas Johnson affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Alfredo Deza affiliation
Yann Dupont [Mon, 16 Mar 2015 22:07:51 +0000 (22:07 +0000)]
mailmap: Alfredo Deza affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Vicente Cheng affiliation
Yann Dupont [Mon, 16 Mar 2015 21:35:33 +0000 (21:35 +0000)]
mailmap: Vicente Cheng affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Fix Xan Peng affiliation
Yann Dupont [Mon, 16 Mar 2015 21:31:41 +0000 (21:31 +0000)]
mailmap: Fix Xan Peng affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Zhicheng Wei affiliation.
Yann Dupont [Mon, 16 Mar 2015 21:14:28 +0000 (21:14 +0000)]
mailmap: Zhicheng Wei affiliation.

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Pete Zaitcev affiliation
Yann Dupont [Mon, 16 Mar 2015 21:11:18 +0000 (21:11 +0000)]
mailmap: Pete Zaitcev affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Alexis Normand affiliation
Yann Dupont [Mon, 16 Mar 2015 00:25:46 +0000 (00:25 +0000)]
mailmap: Alexis Normand affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Florian Marsylle affiliation
Yann Dupont [Mon, 16 Mar 2015 00:21:15 +0000 (00:21 +0000)]
mailmap: Florian Marsylle affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Robin Dehu affiliation
Yann Dupont [Mon, 16 Mar 2015 00:03:44 +0000 (00:03 +0000)]
mailmap: Robin Dehu affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Xiong Yiliang affiliation
Yann Dupont [Sun, 15 Mar 2015 23:59:57 +0000 (23:59 +0000)]
mailmap: Xiong Yiliang affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomailmap: Raju Kurunkad affiliation
Yann Dupont [Sun, 15 Mar 2015 23:56:48 +0000 (23:56 +0000)]
mailmap: Raju Kurunkad affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Raju Kurunkad <Raju.Kurunkad@sandisk.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomailmap: Gregory Meno affiliation
Yann Dupont [Sun, 15 Mar 2015 23:53:53 +0000 (23:53 +0000)]
mailmap: Gregory Meno affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomailmap: Gaurav Kumar Garg affiliation
Yann Dupont [Sun, 15 Mar 2015 23:52:17 +0000 (23:52 +0000)]
mailmap: Gaurav Kumar Garg affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Yuri Weinstein affiliation
Yann Dupont [Sun, 15 Mar 2015 23:48:10 +0000 (23:48 +0000)]
mailmap: Yuri Weinstein affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomailmap: Simon Guinot affiliation
Yann Dupont [Sun, 15 Mar 2015 23:45:35 +0000 (23:45 +0000)]
mailmap: Simon Guinot affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Sage Weil affiliation
Yann Dupont [Sun, 15 Mar 2015 23:41:36 +0000 (23:41 +0000)]
mailmap: Sage Weil affiliation
(fix for faulty 387887893f196ed434c5a06699dde58d1ea1e7bc)

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Xavier Roche affiliation
Yann Dupont [Sun, 15 Mar 2015 23:35:14 +0000 (23:35 +0000)]
mailmap: Xavier Roche affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Matt Benjamin affiliation
Yann Dupont [Sun, 15 Mar 2015 23:33:14 +0000 (23:33 +0000)]
mailmap: Matt Benjamin affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agomailmap: Haomai Wang affiliation
Yann Dupont [Sun, 15 Mar 2015 23:30:46 +0000 (23:30 +0000)]
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>
10 years agomailmap: Travis Rhoden affiliation
Yann Dupont [Sun, 15 Mar 2015 23:29:30 +0000 (23:29 +0000)]
mailmap: Travis Rhoden affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomailmap: Andy Allan affiliation
Yann Dupont [Sun, 15 Mar 2015 23:28:06 +0000 (23:28 +0000)]
mailmap: Andy Allan affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoSome sanitization work on .mailmap, .organizationmap, .peoplemap : Sorting , Duplicat...
Yann Dupont [Sun, 15 Mar 2015 23:22:13 +0000 (23:22 +0000)]
Some sanitization work on .mailmap, .organizationmap, .peoplemap : Sorting , Duplicate removal

Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agoMerge pull request #3997 from ceph/wip-debian-mv-var-lib-ceph-mds
Sage Weil [Mon, 16 Mar 2015 20:00:52 +0000 (13:00 -0700)]
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>
10 years agoMerge pull request #3872 from dachary/wip-7334-partx-test
Loic Dachary [Mon, 16 Mar 2015 18:21:23 +0000 (19:21 +0100)]
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>
10 years agoMerge pull request #4014 from ceph/wip-mon-doc
Loic Dachary [Mon, 16 Mar 2015 17:52:50 +0000 (18:52 +0100)]
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>
10 years agoMerge pull request #3922 from ceph/wip-11053
John Spray [Mon, 16 Mar 2015 17:32:29 +0000 (13:32 -0400)]
Merge pull request #3922 from ceph/wip-11053

mds: fix assertion caused by system clock backwards

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #3752 from ceph/wip-10744
John Spray [Mon, 16 Mar 2015 17:06:49 +0000 (13:06 -0400)]
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>
10 years agomds: give up replicas of a stopping mds's stuff 3752/head
John Spray [Tue, 10 Mar 2015 14:40:30 +0000 (14:40 +0000)]
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>
10 years agodoc/rados/operations/add-or-rm-mons: revise doc a bit to be less confusing 4014/head
Sage Weil [Mon, 16 Mar 2015 16:32:22 +0000 (09:32 -0700)]
doc/rados/operations/add-or-rm-mons: revise doc a bit to be less confusing

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodebian: move /var/lib/ceph/mds to ceph-mds package 3997/head
Ken Dreyer [Mon, 16 Mar 2015 16:11:43 +0000 (10:11 -0600)]
debian: move /var/lib/ceph/mds to ceph-mds package

On Debian, ceph-mds was split out into its own package in
9d6013e0db47b258cbcde4c692554a2764812099, 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>
10 years agoMerge pull request #4002 from zhicheng/master
Loic Dachary [Mon, 16 Mar 2015 08:03:00 +0000 (09:03 +0100)]
Merge pull request #4002 from zhicheng/master

fix doc/dev/network-protocol.rst typo

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4007 from dachary/wip-warnings
Kefu Chai [Mon, 16 Mar 2015 07:33:53 +0000 (15:33 +0800)]
Merge pull request #4007 from dachary/wip-warnings

fix a few minor compilation warnings

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agofix a few minor compilation warnings 4007/head
Loic Dachary [Sun, 15 Mar 2015 23:14:00 +0000 (00:14 +0100)]
fix a few minor compilation warnings

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agofix doc/dev/network-protocol.rst typo 4002/head
Zhicheng Wei [Sun, 15 Mar 2015 04:12:26 +0000 (12:12 +0800)]
fix doc/dev/network-protocol.rst typo

Signed-off-by: Zhicheng Wei <zhicheng@opensourceforge.net>
10 years agoMerge pull request #3989 from javacruft/wip/fixup-cycles-crossarch
Sage Weil [Mon, 16 Mar 2015 01:12:34 +0000 (18:12 -0700)]
Merge pull request #3989 from javacruft/wip/fixup-cycles-crossarch

Add support for PPC architecture, provide fallback

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4006 from dachary/wip-documentation
Loic Dachary [Sun, 15 Mar 2015 22:31:40 +0000 (23:31 +0100)]
Merge pull request #4006 from dachary/wip-documentation

doc: mark the ascii schema as a literal block

Reviewed-by: Yann Dupont <yann@objoo.org>
10 years agodoc: mark the ascii schema as a literal block 4006/head
Loic Dachary [Sun, 15 Mar 2015 21:47:59 +0000 (22:47 +0100)]
doc: mark the ascii schema as a literal block

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4005 from dachary/wip-releases
Loic Dachary [Sun, 15 Mar 2015 21:39:39 +0000 (22:39 +0100)]
Merge pull request #4005 from dachary/wip-releases

doc: release timeline

Reviewed-by: Yann Dupont <yann@objoo.org>
10 years agoMerge pull request #3990 from zaitcev/first_contrib
Loic Dachary [Sun, 15 Mar 2015 21:13:50 +0000 (22:13 +0100)]
Merge pull request #3990 from zaitcev/first_contrib

Specify the actual struct used in protocol handshake

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3992 from ceph/wip-package-perf-objectstore
Loic Dachary [Sun, 15 Mar 2015 21:12:05 +0000 (22:12 +0100)]
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>
10 years agodoc: release timeline 4005/head
Loic Dachary [Sun, 15 Mar 2015 20:59:14 +0000 (21:59 +0100)]
doc: release timeline

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agopackaging: include ceph_perf_objectstore 3992/head
Ken Dreyer [Fri, 13 Mar 2015 22:08:35 +0000 (16:08 -0600)]
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>
10 years agoSpecify the actual struct used in protocol handshake 3990/head
Pete Zaitcev [Fri, 13 Mar 2015 20:13:02 +0000 (14:13 -0600)]
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>
10 years agoAdd support for PPC architecture, provide fallback 3989/head
James Page [Fri, 13 Mar 2015 19:46:04 +0000 (19:46 +0000)]
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>
10 years agoMerge pull request #3957 from xinxinsh/wip-cleanup
Kefu Chai [Fri, 13 Mar 2015 16:28:08 +0000 (00:28 +0800)]
Merge pull request #3957 from xinxinsh/wip-cleanup

os/{Level,Rocks}DBStore: cleanup in_prefix function

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #3985 from fmarsylle/master
Kefu Chai [Fri, 13 Mar 2015 15:33:26 +0000 (23:33 +0800)]
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>
10 years agoMerge pull request #3986 from Al3xis-N/master
Loic Dachary [Fri, 13 Mar 2015 14:17:05 +0000 (15:17 +0100)]
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>
10 years agodoc: How to generate an object corpus : should be a subsection 3986/head
smagtony@gmail.com [Fri, 13 Mar 2015 12:49:23 +0000 (13:49 +0100)]
doc: How to generate an object corpus : should be a subsection

Fixes: #11099
Signed-off-by: Alexis Normand <n.al3xis@gmail.com>
10 years agoMerge pull request #3987 from RobinDehu/master
Loic Dachary [Fri, 13 Mar 2015 14:09:26 +0000 (15:09 +0100)]
Merge pull request #3987 from RobinDehu/master

doc: extra \ in CEPH\_AUTH\_UNKNOWN

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: s/that will called every time/that will be called every time/ 3985/head
florian [Fri, 13 Mar 2015 13:02:09 +0000 (14:02 +0100)]
doc: s/that will called every time/that will be called every time/

fixes: #11098

Signed-off-by: florian marsylle <florian.marsylle@hotmail.fr>
10 years agodoc: extra \ in CEPH\_AUTH\_UNKNOWN 3987/head
dehu robin [Fri, 13 Mar 2015 11:53:57 +0000 (12:53 +0100)]
doc: extra \ in CEPH\_AUTH\_UNKNOWN

Suppress all \

fixes: #11097

Signed-off-by: DEHU Robin <robindehu@gmail.com>
10 years agoMerge pull request #3979 from ceph/wip-rbd-map-options
Josh Durgin [Thu, 12 Mar 2015 21:36:05 +0000 (14:36 -0700)]
Merge pull request #3979 from ceph/wip-rbd-map-options

rbd: default map options, new options, misc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agorbd: fix rw option skipping logic 3979/head
Ilya Dryomov [Wed, 11 Mar 2015 17:13:50 +0000 (20:13 +0300)]
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>
10 years agorbd: recognize cephx_require_signatures and tcp_nodelay options
Ilya Dryomov [Thu, 12 Mar 2015 11:27:32 +0000 (14:27 +0300)]
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>
10 years agorbd: add rbd default map options config option
Ilya Dryomov [Thu, 12 Mar 2015 11:27:32 +0000 (14:27 +0300)]
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>
10 years agorbd: drop redefining map option warning
Ilya Dryomov [Thu, 12 Mar 2015 11:27:32 +0000 (14:27 +0300)]
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>
10 years agorbd: regenerate rbd(8) man page
Ilya Dryomov [Thu, 12 Mar 2015 11:27:32 +0000 (14:27 +0300)]
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>
10 years agoMerge pull request #3924 from ktdreyer/wip-doc-rm-old-ceph-deploy-reference
Danny Al-Gaaf [Thu, 12 Mar 2015 10:11:36 +0000 (11:11 +0100)]
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>
10 years agoMerge pull request #3965 from linuxbox2/xio-fixes
Kefu Chai [Thu, 12 Mar 2015 09:19:39 +0000 (17:19 +0800)]
Merge pull request #3965 from linuxbox2/xio-fixes

xio: Xio fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoFix XioLoopbackConnection Lifecycle. 3965/head
Matt Benjamin [Wed, 11 Mar 2015 17:42:37 +0000 (13:42 -0400)]
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>
10 years agoFix CMake build w/o RADOSGW.
Matt Benjamin [Tue, 10 Mar 2015 18:10:54 +0000 (14:10 -0400)]
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>
10 years agoMerge pull request #3625 from majianpeng/objectcacher
Jason Dillaman [Wed, 11 Mar 2015 15:53:43 +0000 (11:53 -0400)]
Merge pull request #3625 from majianpeng/objectcacher

Bugs fix about ObjectCacher

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #3881 from ceph/wip-da-SCA-20150304
Kefu Chai [Wed, 11 Mar 2015 15:52:16 +0000 (23:52 +0800)]
Merge pull request #3881 from ceph/wip-da-SCA-20150304

SCA fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoceph-disk: more robust parted output parser 3872/head
Loic Dachary [Sun, 8 Mar 2015 14:15:35 +0000 (15:15 +0100)]
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>
10 years agotools/rados/rados.cc: init some vars in constructor 3881/head
Danny Al-Gaaf [Thu, 5 Mar 2015 06:15:30 +0000 (07:15 +0100)]
tools/rados/rados.cc: init some vars in constructor

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw_rados: don't assign value to parameter
Danny Al-Gaaf [Thu, 5 Mar 2015 05:47:57 +0000 (06:47 +0100)]
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>
10 years agosrc/msg/xio/*: reduce scope of some vars
Danny Al-Gaaf [Thu, 5 Mar 2015 05:36:15 +0000 (06:36 +0100)]
src/msg/xio/*: reduce scope of some vars

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw_quota.cc: init variables in constructor
Danny Al-Gaaf [Thu, 5 Mar 2015 05:35:27 +0000 (06:35 +0100)]
rgw_quota.cc: init variables in constructor

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestErasureCodeShec_thread.cc: reduce scope of var
Danny Al-Gaaf [Thu, 5 Mar 2015 05:23:16 +0000 (06:23 +0100)]
TestErasureCodeShec_thread.cc: reduce scope of var

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoObjectStoreTransactionBenchmark.cc: reduce scope of var
Danny Al-Gaaf [Thu, 5 Mar 2015 05:22:53 +0000 (06:22 +0100)]
ObjectStoreTransactionBenchmark.cc: reduce scope of var

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoobjectstore/store_test.cc: reduce scope of variable
Danny Al-Gaaf [Thu, 5 Mar 2015 05:22:18 +0000 (06:22 +0100)]
objectstore/store_test.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw_rados.cc: reduce scope of variable
Danny Al-Gaaf [Thu, 5 Mar 2015 05:21:35 +0000 (06:21 +0100)]
rgw_rados.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw_rados.cc: remove unused string vars
Danny Al-Gaaf [Thu, 5 Mar 2015 05:20:46 +0000 (06:20 +0100)]
rgw_rados.cc: remove unused string vars

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agolibrbd/internal.cc: reduce scope of some variables
Danny Al-Gaaf [Thu, 5 Mar 2015 05:18:04 +0000 (06:18 +0100)]
librbd/internal.cc: reduce scope of some variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agolibrbd/ObjectMap.cc: reduce scope of variable, prevent redef
Danny Al-Gaaf [Thu, 5 Mar 2015 05:16:06 +0000 (06:16 +0100)]
librbd/ObjectMap.cc: reduce scope of variable, prevent redef

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoErasureCodeShec::minimum_to_decode: reduce scope of variables
Danny Al-Gaaf [Thu, 5 Mar 2015 05:15:26 +0000 (06:15 +0100)]
ErasureCodeShec::minimum_to_decode: reduce scope of variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw/rgw_op.cc: fix potential null-deref in strcmp()
Danny Al-Gaaf [Thu, 5 Mar 2015 05:04:37 +0000 (06:04 +0100)]
rgw/rgw_op.cc: fix potential null-deref in strcmp()

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw_main.cc: fix null-deref in case get_storage() fails
Danny Al-Gaaf [Thu, 5 Mar 2015 04:26:48 +0000 (05:26 +0100)]
rgw_main.cc: fix null-deref in case get_storage() fails

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomds/MDS.cc: add missing asserts to check return values
Danny Al-Gaaf [Thu, 5 Mar 2015 04:07:46 +0000 (05:07 +0100)]
mds/MDS.cc: add missing asserts to check return values

Change existing asserts in set_up_admin_socket() to
check (VAR == 0).

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestErasureCodeShec_all.cc: fix sprintf specifier
Danny Al-Gaaf [Thu, 5 Mar 2015 04:06:32 +0000 (05:06 +0100)]
TestErasureCodeShec_all.cc: fix sprintf specifier

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw: use static_cast instead of c-style cast
Danny Al-Gaaf [Thu, 5 Mar 2015 02:48:01 +0000 (03:48 +0100)]
rgw: use static_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd/ReplicatedPG.cc: use static_cast instead of c-style cast
Danny Al-Gaaf [Thu, 5 Mar 2015 02:47:31 +0000 (03:47 +0100)]
osd/ReplicatedPG.cc: use static_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestErasureCodeShec_thread.cc: use static_cast instead of c-style
Danny Al-Gaaf [Thu, 5 Mar 2015 02:45:45 +0000 (03:45 +0100)]
TestErasureCodeShec_thread.cc: use static_cast instead of c-style

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoitest/msgr/test_msgr.cc: prefer ++operator for non-primitive iter
Danny Al-Gaaf [Wed, 4 Mar 2015 20:23:51 +0000 (21:23 +0100)]
itest/msgr/test_msgr.cc: prefer ++operator for non-primitive iter

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotests: ceph-disk.sh /dev/disk/by-partuuid and /dev/loop fixes
Loic Dachary [Tue, 10 Mar 2015 13:19:20 +0000 (14:19 +0100)]
tests: ceph-disk.sh /dev/disk/by-partuuid and /dev/loop fixes

On CentOS 6.X and RHEL 6.X:

* /dev/disk/by-partuuid is not updated, support files must be installed
  to create them when udev notices a partition modification.

* /dev/loop is not configured to handle partition tables, the default
  2.6.32 kernel must be configured with loop.max_part=16

Sanity checks are added to verify the above, attempt to fix it and fail
if it cannot be fixed or if a machine reboot is necessary.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3666 from xroche/master
Yan, Zheng [Wed, 11 Mar 2015 12:30:26 +0000 (20:30 +0800)]
Merge pull request #3666 from xroche/master

Added ceph_flock() to libcephfs.

10 years agoMerge pull request #3920 from rajukv/xio-bugfix
Kefu Chai [Wed, 11 Mar 2015 06:37:57 +0000 (14:37 +0800)]
Merge pull request #3920 from rajukv/xio-bugfix

XIO: Handle requeue case of XIO messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoXIO: Handle requeue case of XIO messages 3920/head
Raju Kurunkad [Tue, 10 Mar 2015 07:58:28 +0000 (13:28 +0530)]
XIO: Handle requeue case of XIO messages

If we are not able to send the XIO message using xio_send_msg(),
remove the XIO message from the send Q, before queuing it to the resend
Q. Otherwise, boost will generate a assert.

Signed-off-by: Raju Kurunkad <raju.kurunkad@sandisk.com>
10 years agocleanup in_prefix function 3957/head
xinxin shu [Wed, 11 Mar 2015 01:43:04 +0000 (09:43 +0800)]
cleanup in_prefix function

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
10 years agodoc/release-notes: v0.80.8 and .9 changelogs
Sage Weil [Tue, 10 Mar 2015 19:32:47 +0000 (12:32 -0700)]
doc/release-notes: v0.80.8 and .9 changelogs

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agotests: ceph-disk paritition creation and partition table in use
Loic Dachary [Wed, 4 Mar 2015 14:43:15 +0000 (15:43 +0100)]
tests: ceph-disk paritition creation and partition table in use

The kernel partition table notification (via partprobe, partx, etc.) may
behave differently when a partition is in use. Add a test case that
checks a new journal partition shows as expected, even if another
journal partition is in use.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: ceph-disk.sh test for second journal partition
Loic Dachary [Wed, 4 Mar 2015 14:43:15 +0000 (15:43 +0100)]
tests: ceph-disk.sh test for second journal partition

Create an OSD with data on a disk, journal on another
This will add a new partition to $journal, the previous
one will remain.

Add 200MB to the file supporting the pseudo disk exposed via the loop
device: as we create more OSDs, more 100MB partitions will be created
for journals.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: ceph-disk.sh cosmetic changes and reduced verbosity
Loic Dachary [Wed, 4 Mar 2015 14:43:15 +0000 (15:43 +0100)]
tests: ceph-disk.sh cosmetic changes and reduced verbosity

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: do not use --journal-dio=true
Loic Dachary [Sat, 7 Mar 2015 20:22:30 +0000 (21:22 +0100)]
tests: do not use --journal-dio=true

Direct IO for the journal may cause subtle errors while running the
tests withing a container. Disable Direct IO for all ceph-disk.sh tests.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: ceph-disk.sh may use uuidgen without PATH
Loic Dachary [Sat, 7 Mar 2015 16:23:21 +0000 (17:23 +0100)]
tests: ceph-disk.sh may use uuidgen without PATH

Store the absolute path in a variable to find uuidgen even if PATH is
empty.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: ceph-disk.sh can be confused if there are two OSDs
Loic Dachary [Sat, 7 Mar 2015 15:10:15 +0000 (16:10 +0100)]
tests: ceph-disk.sh can be confused if there are two OSDs

Replace the fragile extaction of the whoami file with an explicit uuid
set for a given OSD. It can conveniently be translated back into an osd
id with ceph osd create uuid if needed.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: teardown on ceph-disk error
Loic Dachary [Sat, 7 Mar 2015 09:47:10 +0000 (10:47 +0100)]
tests: teardown on ceph-disk error

The activate_dev error must kill all process with teardown before
attempting to umount the devices when an error happens. Otherwise the
device fails to be unmounted and the loop devices are never freed.

Signed-off-by: Loic Dachary <ldachary@redhat.com>