]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agoMerge pull request #4918 from SUSE/wip_ceph_spec_directories_not_owned_by_a_package
branto1 [Fri, 19 Jun 2015 09:54:29 +0000 (11:54 +0200)]
Merge pull request #4918 from SUSE/wip_ceph_spec_directories_not_owned_by_a_package

ceph.spec.in: fix:Add missing directories breaking suse rpm build

Reviewed-by: Boris Ranto <branto@redhat.com>
10 years agoceph.spec.in: fix:Add missing directories breaking build 4918/head
Owen Synge [Wed, 10 Jun 2015 10:11:50 +0000 (12:11 +0200)]
ceph.spec.in: fix:Add missing directories breaking build

SUSE builds on OBS are failing with the missing dir entries:

    /usr/share/ceph
    /usr/lib/ceph

On suse these correspond to:

    %dir %{_datarootdir}/ceph/
    %dir %{_libexecdir}/ceph/

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #4969 from ceph/wip-frag-asok
Yan, Zheng [Fri, 19 Jun 2015 07:23:13 +0000 (15:23 +0800)]
Merge pull request #4969 from ceph/wip-frag-asok

mds: add dirfrag split/merge asok commands

10 years agoMerge pull request #5025 from majianpeng/librbd-remove-iohint
Josh Durgin [Fri, 19 Jun 2015 07:03:26 +0000 (00:03 -0700)]
Merge pull request #5025 from majianpeng/librbd-remove-iohint

librbd: If objectmap tell object exist, don't send alloc_hint w/ write command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: If objectmap tell object exist, don't send alloc_hint w/ write command. 5025/head
Jianpeng Ma [Fri, 19 Jun 2015 06:50:26 +0000 (14:50 +0800)]
librbd: If objectmap tell object exist, don't send alloc_hint w/ write command.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agoMerge pull request #4929 from wonzhq/tracked-op
Kefu Chai [Fri, 19 Jun 2015 01:35:31 +0000 (09:35 +0800)]
Merge pull request #4929 from wonzhq/tracked-op

common: tracked op fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #4249 from wonzhq/rmattr
Kefu Chai [Fri, 19 Jun 2015 01:31:52 +0000 (09:31 +0800)]
Merge pull request #4249 from wonzhq/rmattr

osd: return with ENOENT if object doesn't exist during rmattr

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #5002 from SUSE/wip_fixes_to_rcceph
Sage Weil [Thu, 18 Jun 2015 23:45:35 +0000 (16:45 -0700)]
Merge pull request #5002 from SUSE/wip_fixes_to_rcceph

Fixes to rcceph script

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4983 from yuyuyu101/wip-setallochint-option
Josh Durgin [Thu, 18 Jun 2015 22:00:28 +0000 (15:00 -0700)]
Merge pull request #4983 from yuyuyu101/wip-setallochint-option

librbd: Add option to allow disabling issuing alloc hint

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #4993 from ceph/wip-12064
David Zafman [Thu, 18 Jun 2015 21:33:42 +0000 (14:33 -0700)]
Merge pull request #4993 from ceph/wip-12064

mon: only send MMonMetadata to peer mons that support it

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
10 years agoMerge pull request #5005 from maxime1992/master
Loic Dachary [Thu, 18 Jun 2015 18:09:34 +0000 (20:09 +0200)]
Merge pull request #5005 from maxime1992/master

doc: Document include/str_list.h

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Document include/str_list.h 5005/head
Maxime ROBERT [Thu, 18 Jun 2015 13:35:34 +0000 (15:35 +0200)]
doc: Document include/str_list.h
Fixes: #12050.
Signed-off-by: Claire MASSOT <claire.massot93@gmail.com>
Signed-off-by: Jordan DORNE <jordan.dorne@gmail.com>
Signed-off-by: Kévin CARADANT <kevin.caradant@gmail.com>
Signed-off-by: Gabriel SENTUCQ <perso@kazhord.fr>
Signed-off-by: Maxime ROBERT <maxime.robert1992@gmail.com>
10 years agoMerge pull request #5017 from JordanDorne/master
Loic Dachary [Thu, 18 Jun 2015 16:09:29 +0000 (18:09 +0200)]
Merge pull request #5017 from JordanDorne/master

doc: Replace requries with requires in python API doc

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Replace requries with requires in python API doc 5017/head
JordanDorne [Thu, 18 Jun 2015 15:12:27 +0000 (17:12 +0200)]
doc: Replace requries with requires in python API doc
Fixes: #12076
Signed-off-by: Jordan DORNE <jordan.dorne@gmail.com>
10 years agoMerge pull request #4989 from ltoto2/master
Loic Dachary [Thu, 18 Jun 2015 15:36:33 +0000 (17:36 +0200)]
Merge pull request #4989 from ltoto2/master

 doc: Adding a link to documentation on admin socket

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Adding a link to documentation on admin socket 4989/head
Thomas Laumondais [Wed, 17 Jun 2015 15:52:00 +0000 (17:52 +0200)]
doc: Adding a link to documentation on admin socket

Fixes: #11845
Signed-off-by: Thomas Laumondais <thomas.laumondais@gmail.com>
10 years agoBug fix to ceph systemV compatability script. 5002/head
Owen Synge [Thu, 7 May 2015 10:02:41 +0000 (12:02 +0200)]
Bug fix to ceph systemV compatability script.

Was failing with more than one OSD / MON deamon on a single node.
Fixes suse bugzilla #927862

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #5011 from robin974/master
Loic Dachary [Thu, 18 Jun 2015 15:14:41 +0000 (17:14 +0200)]
Merge pull request #5011 from robin974/master

doc: Fixes a missing dot

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #5006 from Claire1293/master
Loic Dachary [Thu, 18 Jun 2015 15:12:08 +0000 (17:12 +0200)]
Merge pull request #5006 from Claire1293/master

doc: dev/differences-from-posix

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4987 from Aeryax/master
Loic Dachary [Thu, 18 Jun 2015 15:10:18 +0000 (17:10 +0200)]
Merge pull request #4987 from Aeryax/master

doc: Replaced "disk or drive" by "disk" in ceph-disk.rs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Fixes a missing dot 5011/head
robin974 [Thu, 18 Jun 2015 14:43:45 +0000 (16:43 +0200)]
doc: Fixes a missing dot

Fixes: #12072
Signed-off-by: Robin Tang <robintang974@gmail.com>
10 years agoMerge pull request #5008 from jr31/master
Loic Dachary [Thu, 18 Jun 2015 14:39:03 +0000 (16:39 +0200)]
Merge pull request #5008 from jr31/master

doc: Unify ID format

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #5007 from Cleminou/master
Loic Dachary [Thu, 18 Jun 2015 14:38:11 +0000 (16:38 +0200)]
Merge pull request #5007 from Cleminou/master

doc: Fixes a missing word in a printed string

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: dev/differences-from-posix 5006/head
unknown [Thu, 18 Jun 2015 13:56:06 +0000 (15:56 +0200)]
doc: dev/differences-from-posix
Fixes: #11108
Signed-off-by: Claire MASSOT <claire.massot93@gmail.com>
10 years agodoc: Unify ID format 5008/head
Jean-Rémi Deveaux [Thu, 18 Jun 2015 14:26:08 +0000 (16:26 +0200)]
doc: Unify ID format

Fixes: #12071
Signed-off-by: Jean-Rémi Deveaux <jeanremi.deveaux@gmail.com>
10 years agodoc: Fixes a missing word in a printed string 5007/head
Cleminou [Thu, 18 Jun 2015 14:05:43 +0000 (16:05 +0200)]
doc: Fixes a missing word in a printed string

Fixes: #11106
Signed-off-by: Clement Lebrun <clement.lebrun.31@gmail.com>
10 years agoMerge pull request #5004 from arthurgorjux/master
Loic Dachary [Thu, 18 Jun 2015 13:48:18 +0000 (15:48 +0200)]
Merge pull request #5004 from arthurgorjux/master

doc: Remove `` before and after 'ceph -s' in titles

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Replaced "disk or drive" by "disk" in ceph-disk.rs 4987/head
Kazhord [Wed, 17 Jun 2015 15:46:01 +0000 (17:46 +0200)]
doc: Replaced "disk or drive" by "disk" in ceph-disk.rs
Fixes: #12062
Signed-off-by: Gabriel SENTUCQ <perso@kazhord.fr>
10 years agoMerge pull request #5003 from Oxygen31/master
Loic Dachary [Thu, 18 Jun 2015 13:47:21 +0000 (15:47 +0200)]
Merge pull request #5003 from Oxygen31/master

doc : Change of "create" in "add"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4954 from JevonQ/add-iov-support-in-libcephfs
John Spray [Thu, 18 Jun 2015 13:26:58 +0000 (14:26 +0100)]
Merge pull request #4954 from JevonQ/add-iov-support-in-libcephfs

libcephfs: add ceph_p{read,write}v

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agodoc: Remove `` before and after 'ceph -s' in titles 5004/head
Arthur Gorjux [Thu, 18 Jun 2015 13:25:48 +0000 (15:25 +0200)]
doc: Remove `` before and after 'ceph -s' in titles
Fixes: #12059
Signed-off-by: Arthur Gorjux <arthurgorjux@gmail.com>
10 years agodoc : Change of "ceph-deploy mon create {ceph-node}" with "ceph-deploy mon add {ceph... 5003/head
Germain [Thu, 18 Jun 2015 13:24:43 +0000 (15:24 +0200)]
doc : Change of "ceph-deploy mon create {ceph-node}" with "ceph-deploy mon add {ceph-node}" in "Quick-ceph-deploy.rst"

Fixes : #10293

Signed-off-by : Germain CHIPAUX <germain.chipaux@gmail.com>

10 years agoMerge pull request #4986 from nicolasyong/master
Loic Dachary [Thu, 18 Jun 2015 13:22:00 +0000 (15:22 +0200)]
Merge pull request #4986 from nicolasyong/master

doc: Modification of a sentence

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Modification of a sentence. 4986/head
nicolasyong [Wed, 17 Jun 2015 15:12:43 +0000 (17:12 +0200)]
doc: Modification of a sentence.

Fixes : #12057

Signed-off-by: Nicolas Yong <nicolas.yong93@gmail.com>
10 years agoMerge pull request #4988 from kevincaradant/master
Loic Dachary [Thu, 18 Jun 2015 13:01:25 +0000 (15:01 +0200)]
Merge pull request #4988 from kevincaradant/master

doc: ceph-deploy man page: typo

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoFixes to rcceph script
Owen Synge [Thu, 18 Jun 2015 12:16:03 +0000 (14:16 +0200)]
Fixes to rcceph script

 - only start OSDs if mon daemons are also present
 - adds support for mask and unmask
 - removes support for cluster with non default cluster name,
   as this was very limited and inconsistent
 - Reapplied from a patch as could not cherry-pick
   66cb46c411d874be009c225450eea5021cf1219b from Mon Jan 12
   as this produced issues with src/gmock

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #4931 from yuyuyu101/wip-perf-msgr
Gregory Farnum [Thu, 18 Jun 2015 10:09:56 +0000 (11:09 +0100)]
Merge pull request #4931 from yuyuyu101/wip-perf-msgr

PerfMsgr: A tool to benchmark messenger module

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4994 from liewegas/wip-mon-fixes
Kefu Chai [Thu, 18 Jun 2015 06:59:23 +0000 (14:59 +0800)]
Merge pull request #4994 from liewegas/wip-mon-fixes

mon: fix warning, and get_bucket_utilization

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #3566 from majianpeng/librbd-cache-iohint
Josh Durgin [Thu, 18 Jun 2015 03:52:49 +0000 (20:52 -0700)]
Merge pull request #3566 from majianpeng/librbd-cache-iohint

Librbd cache iohint

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge branch 'next'
Josh Durgin [Thu, 18 Jun 2015 03:16:06 +0000 (20:16 -0700)]
Merge branch 'next'

10 years agoMerge remote-tracking branch 'origin/wip-11579' into next
Josh Durgin [Thu, 18 Jun 2015 03:15:25 +0000 (20:15 -0700)]
Merge remote-tracking branch 'origin/wip-11579' into next

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge branch 'next'
Josh Durgin [Thu, 18 Jun 2015 01:23:11 +0000 (18:23 -0700)]
Merge branch 'next'

10 years agolibrbd: flush operations need to acquire owner lock
Jason Dillaman [Tue, 9 Jun 2015 17:20:54 +0000 (13:20 -0400)]
librbd: flush operations need to acquire owner lock

Cache writeback operations will expect the owner lock to be held.

Fixes: #11938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #4990 from ilc/f22-build
Sage Weil [Thu, 18 Jun 2015 01:15:14 +0000 (18:15 -0700)]
Merge pull request #4990 from ilc/f22-build

Fix the build on Fedora 22.

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge branch 'next'
Josh Durgin [Thu, 18 Jun 2015 01:02:31 +0000 (18:02 -0700)]
Merge branch 'next'

10 years agoMerge remote-tracking branch 'origin/wip-11537' into next
Josh Durgin [Thu, 18 Jun 2015 01:01:20 +0000 (18:01 -0700)]
Merge remote-tracking branch 'origin/wip-11537' into next

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #4992 from maxime1992/master
Loic Dachary [Wed, 17 Jun 2015 22:04:09 +0000 (00:04 +0200)]
Merge pull request #4992 from maxime1992/master

doc: Change the type of list in doc

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomon/OSDMonitor: fix get_bucket_utilization return value 4994/head
Sage Weil [Wed, 17 Jun 2015 18:57:19 +0000 (11:57 -0700)]
mon/OSDMonitor: fix get_bucket_utilization return value

Broken in cc5f144a51d10f30e71b96c888a8d2a125e7c9b1.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agomon: only send MMonMetadata to peer mons that support it 4993/head
Sage Weil [Wed, 17 Jun 2015 18:31:32 +0000 (11:31 -0700)]
mon: only send MMonMetadata to peer mons that support it

Avoid sending this to mons that don't support the feature or else they
will reset the connection and we'll go into a busy reconnect loop.

Fixes: #12064
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoconfigure.ac: Fix JUnit 4 detection on Fedora 22. 4990/head
Ira Cooper [Wed, 17 Jun 2015 16:45:29 +0000 (12:45 -0400)]
configure.ac: Fix JUnit 4 detection on Fedora 22.

This allows the build to detect JUnit 4 on Fedora 22, by adding
junit.jar as a valid jar name for JUnit 4.

Signed-off-by: Ira Cooper <ira@samba.org>
10 years agodoc: Change the type of list in doc 4992/head
Maxime ROBERT [Wed, 17 Jun 2015 16:12:08 +0000 (18:12 +0200)]
doc: Change the type of list in doc
Fixes: #12061.
Signed-off-by: Maxime ROBERT <maxime.robert1992@gmail.com>
10 years agoMerge pull request #4975 from mikulely/master
Loic Dachary [Wed, 17 Jun 2015 16:25:30 +0000 (18:25 +0200)]
Merge pull request #4975 from mikulely/master

Fix typos in librados example code

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: ceph-deploy man page: typo #12063 4988/head
Kévin CARADANT [Wed, 17 Jun 2015 15:46:50 +0000 (17:46 +0200)]
doc: ceph-deploy man page: typo #12063
Replace is initial monitor hostname with is the initial monitor hostname
Fixes : #12063
Signed-off-by: CARADANT Kevin <kevin.caradant@gmail.com>
10 years agoFix typos in librados example code 4975/head
Jiaying Ren [Wed, 17 Jun 2015 02:49:10 +0000 (10:49 +0800)]
Fix typos in librados example code

Signed-off-by: Jiaying Ren <mikulely@gmail.com>
10 years agoMerge pull request #4985 from yannick-ad/master
Loic Dachary [Wed, 17 Jun 2015 15:40:59 +0000 (17:40 +0200)]
Merge pull request #4985 from yannick-ad/master

doc: replace a sentence by another

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4979 from GaelFG/patch-1
Loic Dachary [Wed, 17 Jun 2015 15:38:06 +0000 (17:38 +0200)]
Merge pull request #4979 from GaelFG/patch-1

doc: Fixes the description of the purpose of a cache pool

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4984 from LucasFantinel/master
Loic Dachary [Wed, 17 Jun 2015 15:36:42 +0000 (17:36 +0200)]
Merge pull request #4984 from LucasFantinel/master

doc: Wrong restriction for a daemon's ID

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: replace a sentence by another 4985/head
yannick-ad [Wed, 17 Jun 2015 12:36:01 +0000 (14:36 +0200)]
doc: replace a sentence by another
Fixes: #12060
Signed-off-by: Yannick Atchy-Dalama <yannick.atchy.dalama@gmail.com>
10 years agodoc: Purpose of a cache pool 4979/head
Gaël Fenet-Garde [Wed, 17 Jun 2015 10:03:24 +0000 (12:03 +0200)]
doc: Purpose of a cache pool

Completing the description of the cache purpose.
Fixes : #11096
Signed-off-by: Gael Fenet-Garde <gael.fenet.garde@gmail.com>
10 years agodoc: Wrong restriction for a daemon's ID 4984/head
unknown [Wed, 17 Jun 2015 12:54:21 +0000 (14:54 +0200)]
doc: Wrong restriction for a daemon's ID

Fixes: #12058
Signed-off-by: Fantinel Lucas <lucas.fantinel@gmail.com>
10 years agoMerge pull request #4920 from SUSE/wip_ceph_spec_mandir
branto1 [Wed, 17 Jun 2015 14:16:26 +0000 (16:16 +0200)]
Merge pull request #4920 from SUSE/wip_ceph_spec_mandir

The file lists in spec files do expect that man pages are built so we better explicitly state that intention in spec file.

10 years agoMerge pull request #4974 from SUSE/wip_ceph_spec_buildep_python_sphinx
branto1 [Wed, 17 Jun 2015 14:13:10 +0000 (16:13 +0200)]
Merge pull request #4974 from SUSE/wip_ceph_spec_buildep_python_sphinx

We need this in master to make fedora and rhel7 builds work.

10 years agolibrbd: Add option to allow disabling issuing alloc hint 4983/head
Haomai Wang [Wed, 17 Jun 2015 14:04:52 +0000 (22:04 +0800)]
librbd: Add option to allow disabling issuing alloc hint

For HDD osd backend, a alloc hint is good for local filesystem to ensure
extent continuous. But for SSD, the available capacity is useful and
precious, user may not expect lots of capacity is used by reserving.
Then ssd is good for random rw.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoceph_spec buildep python sphinx for fedora 4974/head
Owen Synge [Tue, 16 Jun 2015 22:03:28 +0000 (00:03 +0200)]
ceph_spec buildep python sphinx for fedora

Fedora, suse as well as centos >= 7 and rhel >= 7
use the same name for python-sphinx so add these
conditionals.

Note: Until OBS supports EPEL I cant test builds on
centos and rhel so this extention of build deps is
untested by Owen Synge.

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #4948 from vumrao/wip-rbd-11822
Josh Durgin [Wed, 17 Jun 2015 06:40:26 +0000 (23:40 -0700)]
Merge pull request #4948 from vumrao/wip-rbd-11822

[rbd] support G/T units in rbd create/resize

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3894 from rzarzynski/wip-rgw_swift_account_metadata
Yehuda Sadeh [Tue, 16 Jun 2015 21:11:38 +0000 (14:11 -0700)]
Merge pull request #3894 from rzarzynski/wip-rgw_swift_account_metadata

rgw: add support for metadata on Swift account

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoBug fix for man file packaging. 4920/head
Owen Synge [Tue, 16 Jun 2015 20:38:02 +0000 (22:38 +0200)]
Bug fix for man file packaging.

Always compile and install man pages when making rpm.

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #4833 from liewegas/wip-11500
Samuel Just [Tue, 16 Jun 2015 20:27:22 +0000 (13:27 -0700)]
Merge pull request #4833 from liewegas/wip-11500

allow very small cursh weights for osds

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #4971 from theanalyst/doc/pgp-num
Loic Dachary [Tue, 16 Jun 2015 20:09:10 +0000 (22:09 +0200)]
Merge pull request #4971 from theanalyst/doc/pgp-num

doc: explain about pgp num

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4968 from tchaikov/wip-update-ceph-deploy-manpage
Alfredo Deza [Tue, 16 Jun 2015 19:33:32 +0000 (15:33 -0400)]
Merge pull request #4968 from tchaikov/wip-update-ceph-deploy-manpage

doc: sync ceph-deploy's man page with the code

Reviewed-by: Alfredo Deza <adeza@redhat.com>
10 years ago[rbd] support G/T units in rbd create/resize 4948/head
Vikhyat Umrao [Sat, 13 Jun 2015 04:55:45 +0000 (10:25 +0530)]
[rbd] support G/T units in rbd create/resize

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
10 years agodoc: explain about pgp num 4971/head
Abhishek Lekshmanan [Tue, 16 Jun 2015 17:06:54 +0000 (22:36 +0530)]
doc: explain about pgp num

Explain the significance of pgp num & how it differs from pg num.

Fixes: #10035
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agoBug fix for man file packaging.
Owen Synge [Mon, 8 Jun 2015 20:16:06 +0000 (22:16 +0200)]
Bug fix for man file packaging.

explicitly included man pages.

Original fix used %{_mandir}/*/* but this could potentially lead to ambiguity
as ceph rpm spec file contains many man pages for different packages.

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #4967 from ceph/wip-tarball-11758
Sage Weil [Tue, 16 Jun 2015 15:32:32 +0000 (08:32 -0700)]
Merge pull request #4967 from ceph/wip-tarball-11758

qa: update to newer Linux tarball

10 years agoqa: update to newer Linux tarball 4967/head
Greg Farnum [Tue, 16 Jun 2015 15:13:41 +0000 (08:13 -0700)]
qa: update to newer Linux tarball

This should make newer gcc releases happier in their default configuration.
kernel.org is now distributing tarballs as .xz files so we change to that
as well when decompressing (it is supported by Ubuntu Precise so we should
be all good).

Fixes: #11758
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agodoc: sync ceph-deploy's man page with the code 4968/head
Kefu Chai [Tue, 16 Jun 2015 14:06:17 +0000 (22:06 +0800)]
doc: sync ceph-deploy's man page with the code

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #4964 from ceph/wip-12019
Gregory Farnum [Tue, 16 Jun 2015 10:08:57 +0000 (11:08 +0100)]
Merge pull request #4964 from ceph/wip-12019

qa: use "sudo rmdir" to remove test data of multiple_rsync.sh

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoqa: use "sudo rmdir" to remove test data of multiple_rsync.sh 4964/head
Yan, Zheng [Tue, 16 Jun 2015 01:40:35 +0000 (09:40 +0800)]
qa: use "sudo rmdir" to remove test data of multiple_rsync.sh

Fixes: #12019
Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #4959 from ceph/wip-crush-compat
Sage Weil [Mon, 15 Jun 2015 19:40:14 +0000 (12:40 -0700)]
Merge pull request #4959 from ceph/wip-crush-compat

Add crush_compat.h to eliminate ad hoc diff between kernel and userspace

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agodoc/messenger: Add doc for ceph_perf_server/client 4931/head
Haomai Wang [Mon, 15 Jun 2015 16:54:37 +0000 (00:54 +0800)]
doc/messenger: Add doc for ceph_perf_server/client

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoMerge pull request #4956 from oritwas/fix-cmake-2
Kefu Chai [Mon, 15 Jun 2015 16:28:58 +0000 (00:28 +0800)]
Merge pull request #4956 from oritwas/fix-cmake-2

cmake: add missing RadosDump.cc, RadosImport.cc and PoolDump.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agolibcephfs: add ceph_p{read,write}v 4954/head
Jevon Qiao [Mon, 15 Jun 2015 15:59:12 +0000 (23:59 +0800)]
libcephfs: add ceph_p{read,write}v

Fix comments raised by John Spray

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
10 years agocrush: add crush_compat.h
Ilya Dryomov [Thu, 11 Jun 2015 13:03:01 +0000 (16:03 +0300)]
crush: add crush_compat.h

Move all the cruft that is necessary to compile shared files both in
kernel and userspace into a new crush_compat.h.  Also add a stub for
div64_s64() and limits for linux fixed width types.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agocrush: eliminate ad hoc diff between kernel and userspace 4959/head
Ilya Dryomov [Fri, 12 Jun 2015 15:48:46 +0000 (18:48 +0300)]
crush: eliminate ad hoc diff between kernel and userspace

- map->choose_tries is not in the kernel
- 64-bit/64-bit in the kernel needs a special helper for 32-bit
  architectures, crush_compat.h provides a stub
- INT64_MIN is not in the kernel, crush_compat.h provides S64_MIN
- use dprintk inside DEBUG_INDEP sections

No functional changes.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoMerge pull request #4826 from xinxinsh/wip-fix
Kefu Chai [Mon, 15 Jun 2015 14:48:14 +0000 (22:48 +0800)]
Merge pull request #4826 from xinxinsh/wip-fix

os/DBObjectMap:move iterator to first record of object otherwise iter->valid is always false

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agomds: add dirfrag split/merge asok commands 4969/head
John Spray [Mon, 15 Jun 2015 13:16:08 +0000 (14:16 +0100)]
mds: add dirfrag split/merge asok commands

Analogous to those from the old-style mds tell.  Also
add an 'ls' that gives you the frags in the same format
that frag_t::parse expects them, so that it's a bit
less obscure to use.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agocrush: shared files should use kernel-doc
Ilya Dryomov [Thu, 11 Jun 2015 13:02:56 +0000 (16:02 +0300)]
crush: shared files should use kernel-doc

This reverts mapper.c hunks of 830752a52841 ("doc: fix doxygen
warnings").  It is shared with the kernel and uses kernel-doc for
in-code documentation.  If doxygen warnings are an issue, we should
probably just exclude the 7 shared files in Doxyfile - we don't have
@file in these files or EXTRACT_ALL/EXTRACT_STATIC in Doxyfile, which
means these files are essentially skipped as there is no C++ stuff in
them.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agocrush: fix style issues in shared files
Ilya Dryomov [Thu, 11 Jun 2015 12:41:55 +0000 (15:41 +0300)]
crush: fix style issues in shared files

Fix some recently introduced style issues in crush_ln_table.h,
crush.[ch], hash.[ch], and mapper.[ch].  These files are shared with
the kernel, so we need to at least not introduce anything new -
checkpatch is pretty unhappy as it is.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agocrush: move safe arithmetic functions to buider.c
Ilya Dryomov [Thu, 11 Jun 2015 09:45:56 +0000 (12:45 +0300)]
crush: move safe arithmetic functions to buider.c

Given that crush_{addition,multiplication}_is_unsafe() are only used
for compiling maps, they have no business in crush.c which is shared
with the kernel.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agolibcephfs: add test for ceph_p{read,write}v
Jevon Qiao [Mon, 15 Jun 2015 11:16:27 +0000 (19:16 +0800)]
libcephfs: add test for ceph_p{read,write}v

Add test in src/test/libcephfs/test.cc for ceph_preadv and ceph_pwritev interfaces.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
10 years agocmake: add missing RadosDump.cc, RadosImport.cc and PoolDump.cc 4956/head
Orit Wasserman [Mon, 15 Jun 2015 09:39:17 +0000 (11:39 +0200)]
cmake: add missing RadosDump.cc, RadosImport.cc and PoolDump.cc

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
10 years agolibcephfs: add ceph_p{read,write}v
Jevon Qiao [Mon, 15 Jun 2015 02:15:45 +0000 (10:15 +0800)]
libcephfs: add ceph_p{read,write}v

Add interfaces in libcephfs to enable users to read/write data via iovec structure.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
10 years ago objectstore/store_test.cc : add tests for DBObjectMap::get_keys 4826/head
xinxin shu [Wed, 3 Jun 2015 22:56:26 +0000 (06:56 +0800)]
 objectstore/store_test.cc : add tests for DBObjectMap::get_keys

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
10 years agoos/DBObjectMap : fix recurcive lock in get_keys
xinxin shu [Wed, 3 Jun 2015 22:51:39 +0000 (06:51 +0800)]
os/DBObjectMap : fix recurcive lock in get_keys

1. get_keys obtain header lock of oid
2. get iterator with get_iterator(oid), in get_iterator, it also want to get header lock of oid

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
10 years agoos/DBOjectMap : iter->valid is always false if we do not initialize the iterator...
xinxin shu [Mon, 1 Jun 2015 06:28:32 +0000 (14:28 +0800)]
os/DBOjectMap : iter->valid is always false if we do not initialize the iterator with init(), seek_to_first will initialize this iterator

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
10 years agoMerge pull request #4690 from branch-predictor/wip-radosbench-memjuggle
Kefu Chai [Sun, 14 Jun 2015 16:03:45 +0000 (00:03 +0800)]
Merge pull request #4690 from branch-predictor/wip-radosbench-memjuggle

tools: improve the performance of rados and rest_bench

Don't delete, recreate and re-fill buffers in rados bench. Fixes the high CPU usage by rados bench on fast SSDs
and ramdisks/memstore.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4950 from SUSE/wip-osd-spelling
Sage Weil [Sat, 13 Jun 2015 18:59:39 +0000 (11:59 -0700)]
Merge pull request #4950 from SUSE/wip-osd-spelling

osd_types.{cc,h}: fix three typos in comments

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoosd_types.{cc,h}: fix three typos in comments 4950/head
Nathan Cutler [Sat, 13 Jun 2015 18:36:09 +0000 (20:36 +0200)]
osd_types.{cc,h}: fix three typos in comments

Signed-off-by: Nathan Cutler <ncutler@suse.com>
10 years agoMerge pull request #4758 from xinxinsh/wip-kv-dump-transaction
Haomai Wang [Sat, 13 Jun 2015 14:49:44 +0000 (22:49 +0800)]
Merge pull request #4758 from xinxinsh/wip-kv-dump-transaction

dump keyvaluestore transaction to a file

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
10 years agoMerge pull request #4940 from swamireddy/wip-v094-mailmap
Loic Dachary [Sat, 13 Jun 2015 09:26:43 +0000 (11:26 +0200)]
Merge pull request #4940 from swamireddy/wip-v094-mailmap

mailmap: Yuri Weinstein affiliation

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