]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agorgw: enforce SLO part's ETag match during GET on SLO of Swift. 6643/head
Radoslaw Zarzynski [Thu, 19 Nov 2015 14:06:31 +0000 (15:06 +0100)]
rgw: enforce SLO part's ETag match during GET on SLO of Swift.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: append X-Static-Large-Object attribute during PUT on SLO.
Radoslaw Zarzynski [Thu, 19 Nov 2015 13:12:36 +0000 (14:12 +0100)]
rgw: append X-Static-Large-Object attribute during PUT on SLO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: add support for normalisation of ranged SLO requests.
Radoslaw Zarzynski [Wed, 18 Nov 2015 19:15:09 +0000 (20:15 +0100)]
rgw: add support for normalisation of ranged SLO requests.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: fix wrong ofs handling during GET on Swift's SLO.
Radoslaw Zarzynski [Wed, 18 Nov 2015 19:12:37 +0000 (20:12 +0100)]
rgw: fix wrong ofs handling during GET on Swift's SLO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: handle errors during GET on Swift's SLO appropriately.
Radoslaw Zarzynski [Wed, 18 Nov 2015 14:52:16 +0000 (15:52 +0100)]
rgw: handle errors during GET on Swift's SLO appropriately.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: make response for multipart delete on a SLO compliant with Swift.
Radoslaw Zarzynski [Mon, 9 Nov 2015 18:12:49 +0000 (19:12 +0100)]
rgw: make response for multipart delete on a SLO compliant with Swift.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: add support for multipart delete on a SLO of Swift.
Radoslaw Zarzynski [Mon, 9 Nov 2015 16:16:34 +0000 (17:16 +0100)]
rgw: add support for multipart delete on a SLO of Swift.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: fix iterate_slo_parts() and improve its declaration's formatting.
Radoslaw Zarzynski [Mon, 9 Nov 2015 16:15:25 +0000 (17:15 +0100)]
rgw: fix iterate_slo_parts() and improve its declaration's formatting.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: move RGWBulkDelete in rgw/rgw_op.h.
Radoslaw Zarzynski [Mon, 9 Nov 2015 16:14:49 +0000 (17:14 +0100)]
rgw: move RGWBulkDelete in rgw/rgw_op.h.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: iterate over slo parts
Yehuda Sadeh [Tue, 22 Sep 2015 07:35:03 +0000 (00:35 -0700)]
rgw: iterate over slo parts

Read slo parts when a read request was sent.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Conflicts:
src/rgw/rgw_op.cc

9 years agorgw: store slo info when putting object
Yehuda Sadeh [Tue, 22 Sep 2015 05:14:22 +0000 (22:14 -0700)]
rgw: store slo info when putting object

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Conflicts:
src/rgw/rgw_op.cc
src/rgw/rgw_op.h

9 years agorgw: read and parse put slo obj request
Yehuda Sadeh [Tue, 22 Sep 2015 03:56:29 +0000 (20:56 -0700)]
rgw: read and parse put slo obj request

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Conflicts:
src/rgw/rgw_op.h
src/rgw/rgw_rest_swift.cc

9 years agorgw: s/obj_manifest/dlo_manifest
Yehuda Sadeh [Tue, 22 Sep 2015 03:22:40 +0000 (20:22 -0700)]
rgw: s/obj_manifest/dlo_manifest

Be more clear, as slo_manifest will come later.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Conflicts:
src/rgw/rgw_op.cc

9 years agorgw: support bucket removal in Bulk Delete API implementation.
Radoslaw Zarzynski [Sun, 25 Oct 2015 13:15:32 +0000 (14:15 +0100)]
rgw: support bucket removal in Bulk Delete API implementation.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: improve response code handling for Bulk Delete API.
Radoslaw Zarzynski [Sun, 25 Oct 2015 14:38:21 +0000 (15:38 +0100)]
rgw: improve response code handling for Bulk Delete API.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: enable chunking in Bulk Delete API implementation.
Radoslaw Zarzynski [Sun, 25 Oct 2015 13:16:05 +0000 (14:16 +0100)]
rgw: enable chunking in Bulk Delete API implementation.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: add support for Bulk Delete API of Swift.
Radoslaw Zarzynski [Thu, 22 Oct 2015 17:00:21 +0000 (19:00 +0200)]
rgw: add support for Bulk Delete API of Swift.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: rework authorization parts to accomodate Bulk Delete API.
Radoslaw Zarzynski [Sun, 25 Oct 2015 14:17:56 +0000 (15:17 +0100)]
rgw: rework authorization parts to accomodate Bulk Delete API.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: XMLFormatter may print XML tags lowercased and underscored now.
Radoslaw Zarzynski [Thu, 22 Oct 2015 16:56:14 +0000 (18:56 +0200)]
rgw: XMLFormatter may print XML tags lowercased and underscored now.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: RGWFormatter_Plain does support key-value style for Bulk Delete API.
Radoslaw Zarzynski [Fri, 16 Oct 2015 17:12:01 +0000 (19:12 +0200)]
rgw: RGWFormatter_Plain does support key-value style for Bulk Delete API.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement std::streambuf over RGWClientIO.
Radoslaw Zarzynski [Thu, 15 Oct 2015 15:47:18 +0000 (17:47 +0200)]
rgw: implement std::streambuf over RGWClientIO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: improve code formatting in Swift's DLO implementation.
Radoslaw Zarzynski [Mon, 12 Oct 2015 16:45:13 +0000 (18:45 +0200)]
rgw: improve code formatting in Swift's DLO implementation.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: fix wrong length in Content-Range HTTP header of Swift's DLO.
Radoslaw Zarzynski [Mon, 12 Oct 2015 16:43:27 +0000 (18:43 +0200)]
rgw: fix wrong length in Content-Range HTTP header of Swift's DLO.

Fixes: #13452
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: fix wrong first byte pos in Content-Range HTTP header of Swift's DLO.
Radoslaw Zarzynski [Mon, 12 Oct 2015 15:32:21 +0000 (17:32 +0200)]
rgw: fix wrong first byte pos in Content-Range HTTP header of Swift's DLO.

Fixes: #13452
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: add support for putting Swift's X-Object-Manifest through POST.
Radoslaw Zarzynski [Tue, 1 Sep 2015 16:20:42 +0000 (18:20 +0200)]
rgw: add support for putting Swift's X-Object-Manifest through POST.

Fixes: #12886
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #6857 from dachary/wip-13986-test-pg-scrub
Loic Dachary [Tue, 8 Dec 2015 16:03:10 +0000 (17:03 +0100)]
Merge pull request #6857 from dachary/wip-13986-test-pg-scrub

tests: osd-scrub-snaps.sh to display full osd logs on error

Reviewed-by: Xinze Chi <xinze@xsky.com>
9 years agotests: osd-scrub-snaps.sh to display full osd logs on error 6857/head
Loic Dachary [Tue, 8 Dec 2015 12:54:58 +0000 (13:54 +0100)]
tests: osd-scrub-snaps.sh to display full osd logs on error

This generates a large output but is the only way to get more
information about race conditions that turn out to show up frequently.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #6850 from H3C/wip-zcl-ceph-mds
John Spray [Tue, 8 Dec 2015 12:31:40 +0000 (12:31 +0000)]
Merge pull request #6850 from H3C/wip-zcl-ceph-mds

ceph-mds:add --help/-h

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6848 from H3C/wip-zcl-layout-rst
John Spray [Tue, 8 Dec 2015 11:47:22 +0000 (11:47 +0000)]
Merge pull request #6848 from H3C/wip-zcl-layout-rst

doc:file must be empty when writing layout fields of file use "setfattr"

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoceph-mds:add --help/-h 6850/head
Cilang Zhao [Tue, 8 Dec 2015 09:00:58 +0000 (04:00 -0500)]
ceph-mds:add --help/-h

When use ceph-mds --hlep/-h, the usage will be showed

Signed-off-by: Cilang Zhao <zhao.cilang@h3c.com>
9 years agodoc:file must be empty when writing layout fields of file use "setfattr" 6848/head
Cilang Zhao [Tue, 8 Dec 2015 08:45:34 +0000 (03:45 -0500)]
doc:file must be empty when writing layout fields of file use "setfattr"

When the layout fields of a file are modified, this file must be empty, otherwise an error would occur.

Signed-off-by:Cilang Zhao zhao.cilang@h3c.com

9 years agoMerge remote-tracking branch 'ceph/jewel'
Loic Dachary [Tue, 8 Dec 2015 08:03:55 +0000 (09:03 +0100)]
Merge remote-tracking branch 'ceph/jewel'

9 years agoMerge pull request #6844 from dachary/wip-13997-centos-libunwind-jewel
Loic Dachary [Tue, 8 Dec 2015 07:52:58 +0000 (08:52 +0100)]
Merge pull request #6844 from dachary/wip-13997-centos-libunwind-jewel

build/ops: enable CR in CentOS 7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agobuild/ops: enable CR in CentOS 7 6844/head
Loic Dachary [Tue, 8 Dec 2015 07:02:56 +0000 (08:02 +0100)]
build/ops: enable CR in CentOS 7

To get libunwind from the CR repositories until CentOS 7.2.1511 is released.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #6842 from badone/wip-13997
Loic Dachary [Tue, 8 Dec 2015 06:47:06 +0000 (07:47 +0100)]
Merge pull request #6842 from badone/wip-13997

tests: centos7 needs the Continuous Release (CR) Repository enabled for

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: centos7 needs the Continuous Release (CR) Repository enabled for 6842/head
Brad Hubbard [Tue, 8 Dec 2015 06:05:37 +0000 (16:05 +1000)]
tests: centos7 needs the Continuous Release (CR) Repository enabled for
libunwind

Fixes: #13997
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
9 years agoMerge pull request #6818 from trociny/fix-cmake
Josh Durgin [Tue, 8 Dec 2015 00:06:18 +0000 (16:06 -0800)]
Merge pull request #6818 from trociny/fix-cmake

cmake: update for recent rbd changes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6837 from dreamhost/wip-test-cephtool-filenames
Josh Durgin [Mon, 7 Dec 2015 23:52:47 +0000 (15:52 -0800)]
Merge pull request #6837 from dreamhost/wip-test-cephtool-filenames

qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoqa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1. 6837/head
Robin H. Johnson [Mon, 7 Dec 2015 22:41:12 +0000 (14:41 -0800)]
qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.

If /tmp/obj1 happened to exist already, and was not writable by the
testing user, then this test failed!

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agoMerge pull request #6838 from stiopaa1/Wreorder_ceph_context
Josh Durgin [Mon, 7 Dec 2015 23:21:16 +0000 (15:21 -0800)]
Merge pull request #6838 from stiopaa1/Wreorder_ceph_context

common/ceph_context.cc:fix order of initialisers

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6831 from fullerdj/wip-14010
Josh Durgin [Mon, 7 Dec 2015 23:01:01 +0000 (15:01 -0800)]
Merge pull request #6831 from fullerdj/wip-14010

qa/krbd: Expunge generic/247

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6793 from dzafman/wip-hist-les-fix
David Zafman [Mon, 7 Dec 2015 22:56:03 +0000 (14:56 -0800)]
Merge pull request #6793 from dzafman/wip-hist-les-fix

osd: Allow repair of history.last_epoch_started using config

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agocommon/ceph_context.cc:fix order of initialisers 6838/head
Michal Jarzabek [Mon, 7 Dec 2015 22:36:16 +0000 (22:36 +0000)]
common/ceph_context.cc:fix order of initialisers

Fix order of member initialisers causing [-Wreorder] warning.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge branch 'unlinkcallbyrmbucket'
Yehuda Sadeh [Mon, 7 Dec 2015 19:54:49 +0000 (11:54 -0800)]
Merge branch 'unlinkcallbyrmbucket'

Conflicts:
src/rgw/rgw_bucket.cc

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw:dont update entrypoint when removing bucket
Aran85 [Wed, 30 Sep 2015 01:29:26 +0000 (09:29 +0800)]
rgw:dont update entrypoint when removing bucket

when removing bucket,we unlink the bucket bucket but we don't want
to update the entrypoint here.Because the update_entrypoint's default
value is true,so we need to indicate it to false.

Signed-off-by: Zengran Zhang <zhangzengran@h3c.com>
9 years agoMerge pull request #6735 from rzarzynski/wip-rgw-clean-putmetabucket
Yehuda Sadeh [Mon, 7 Dec 2015 19:10:24 +0000 (11:10 -0800)]
Merge pull request #6735 from rzarzynski/wip-rgw-clean-putmetabucket

rgw: remove unused variable in RGWPutMetadataBucket::execute

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6829 from LenzGr/master
Yehuda Sadeh [Mon, 7 Dec 2015 19:09:41 +0000 (11:09 -0800)]
Merge pull request #6829 from LenzGr/master

doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6774 from ceph/wip-rgw-cap-fix
Yehuda Sadeh [Mon, 7 Dec 2015 18:42:18 +0000 (10:42 -0800)]
Merge pull request #6774 from ceph/wip-rgw-cap-fix

rgw: add a missing cap type

9 years agoqa/krbd: Expunge generic/247 6831/head
Douglas Fuller [Mon, 7 Dec 2015 17:18:26 +0000 (09:18 -0800)]
qa/krbd: Expunge generic/247

xfstests generic/247 exercises XFS DIO and AIO to detect races. Some
races apparently exist in the XFS code as this is a known issue within
XFS. Expunge this test because it is not specifically relevant to krbd
and not a specific krbd issue.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
9 years agoMerge pull request #6805 from zaitcev/cmake-pluginregistry
Orit Wasserman [Mon, 7 Dec 2015 15:16:26 +0000 (16:16 +0100)]
Merge pull request #6805 from zaitcev/cmake-pluginregistry

cmake: Add common/PluginRegistry.cc to CMakeLists.txt

9 years agodoc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity 6829/head
Lenz Grimmer [Mon, 7 Dec 2015 14:54:49 +0000 (15:54 +0100)]
doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity

Fixed incorrect name of a "List Multipart Upload Parts" Response Entity:
"InitiatedMultipartUploadsResult" -> "ListPartsResult"

Fixes: #14003
Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
9 years agocmake: update for recent rbd changes 6818/head
Mykola Golub [Sun, 6 Dec 2015 19:55:20 +0000 (21:55 +0200)]
cmake: update for recent rbd changes

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6816 from drunkard/doc
Loic Dachary [Mon, 7 Dec 2015 09:02:02 +0000 (10:02 +0100)]
Merge pull request #6816 from drunkard/doc

doc: rst style fix for pools document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6820 from mikulely/add-umcloud-affiliation
Loic Dachary [Mon, 7 Dec 2015 08:52:05 +0000 (09:52 +0100)]
Merge pull request #6820 from mikulely/add-umcloud-affiliation

Add UMCloud affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoUpdate Jiaying Ren affinity 6820/head
Jiaying Ren [Mon, 7 Dec 2015 08:07:27 +0000 (16:07 +0800)]
Update Jiaying Ren affinity

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
9 years agoUpdate Rongze Zhu affinity
Jiaying Ren [Mon, 7 Dec 2015 08:04:29 +0000 (16:04 +0800)]
Update Rongze Zhu affinity

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
9 years agoMerge pull request #6655 from jcsp/wip-inode-claim
Gregory Farnum [Mon, 7 Dec 2015 05:09:56 +0000 (21:09 -0800)]
Merge pull request #6655 from jcsp/wip-inode-claim

tools: add cephfs-table-tool 'take_inos'

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #6567 from jcsp/wip-layout-restrict
Gregory Farnum [Mon, 7 Dec 2015 05:05:30 +0000 (21:05 -0800)]
Merge pull request #6567 from jcsp/wip-layout-restrict

mds: add 'p' flag in auth caps to control setting pool in layout

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6601 from jcsp/wip-13777-caps
Gregory Farnum [Mon, 7 Dec 2015 05:03:25 +0000 (21:03 -0800)]
Merge pull request #6601 from jcsp/wip-13777-caps

mon: don't require OSD W for MRemoveSnaps

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: rst style fix for pools document 6816/head
Drunkard Zhang [Mon, 7 Dec 2015 02:45:03 +0000 (10:45 +0800)]
doc: rst style fix for pools document

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
9 years agodeb,rpm: package buffer_fwd.h
Sage Weil [Sun, 6 Dec 2015 14:24:17 +0000 (09:24 -0500)]
deb,rpm: package buffer_fwd.h

Introduced by 206b8e2cc6157451d5c7548e294461408e0b0c8f.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6803 from dachary/wip-13975-systemd-flock
Loic Dachary [Sat, 5 Dec 2015 17:42:08 +0000 (18:42 +0100)]
Merge pull request #6803 from dachary/wip-13975-systemd-flock

build/ops: systemd ceph-disk unit must not assume /bin/flock

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
9 years agoMerge pull request #6811 from smithfarm/wip-submitting-jewel
Loic Dachary [Sat, 5 Dec 2015 17:11:53 +0000 (18:11 +0100)]
Merge pull request #6811 from smithfarm/wip-submitting-jewel

SubmittingPatches: there is no next; only jewel

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoSubmittingPatches: there is no next; only jewel 6811/head
Nathan Cutler [Sat, 5 Dec 2015 16:18:12 +0000 (17:18 +0100)]
SubmittingPatches: there is no next; only jewel

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6792 from smithfarm/wip-index-20151202
Loic Dachary [Sat, 5 Dec 2015 01:36:26 +0000 (02:36 +0100)]
Merge pull request #6792 from smithfarm/wip-index-20151202

Wip index 20151202

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6795 from ceph/pybind-rados-exec
Josh Durgin [Sat, 5 Dec 2015 01:31:30 +0000 (17:31 -0800)]
Merge pull request #6795 from ceph/pybind-rados-exec

pybind: support ioctx:exec

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoAdd common/PluginRegistry.cc to CMakeLists.txt 6805/head
Pete Zaitcev [Fri, 4 Dec 2015 22:05:27 +0000 (15:05 -0700)]
Add common/PluginRegistry.cc to CMakeLists.txt

Else this happens:

  [ 15%] Linking CXX executable ceph-authtool
  libcommon.a(ceph_context.cc.o): In function `CephContext::CephContext(unsigned int, int)':
  ceph_context.cc:(.text+0x2620): undefined reference to `ceph::PluginRegistry::PluginRegistry(CephContext*)'
  libcommon.a(ceph_context.cc.o): In function `CephContext::~CephContext()':
  ceph_context.cc:(.text+0x3db0): undefined reference to `ceph::PluginRegistry::~PluginRegistry()'
  collect2: error: ld returned 1 exit status
  src/CMakeFiles/ceph-authtool.dir/build.make:120: recipe for target 'src/ceph-authtool' failed
  make[2]: *** [src/ceph-authtool] Error 1
  CMakeFiles/Makefile2:331: recipe for target 'src/CMakeFiles/ceph-authtool.dir/all' failed

The ceph_context.cc is the only user of PluginRegistry at
present, so adding it without conditionals should be correct.

Signed-Off-By: Pete Zaitcev <zaitcev@redhat.com>
9 years agodoc/dev/index.rst: wholesale refactor 6792/head
Nathan Cutler [Thu, 3 Dec 2015 17:48:36 +0000 (18:48 +0100)]
doc/dev/index.rst: wholesale refactor

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agopybind: support ioctx:exec 6795/head
Noah Watkins [Fri, 4 Dec 2015 02:17:20 +0000 (18:17 -0800)]
pybind: support ioctx:exec

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
9 years agocommon/Makefile: ship common/event_socket.h
Sage Weil [Fri, 4 Dec 2015 21:09:11 +0000 (16:09 -0500)]
common/Makefile: ship common/event_socket.h

Broken in commit 5eb64dd324a0e0ec609acf2b178c02dee901aa5d.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agobuild/ops: systemd ceph-disk unit must not assume /bin/flock 6803/head
Loic Dachary [Fri, 4 Dec 2015 20:11:09 +0000 (21:11 +0100)]
build/ops: systemd ceph-disk unit must not assume /bin/flock

The flock command may be installed elsewhere, depending on the
system. Let the PATH search figure that out.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotest: use sequential journal_tid for object cacher test
Josh Durgin [Thu, 26 Nov 2015 04:24:30 +0000 (20:24 -0800)]
test: use sequential journal_tid for object cacher test

This matches the real usage by librbd.

Fixes: #13877
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 9331e031bd2a719463920581a47c13f0606e9971)

9 years agoMerge pull request #6788 from dachary/wip-13878-ec-pool
Dan Mick [Fri, 4 Dec 2015 18:19:20 +0000 (11:19 -0700)]
Merge pull request #6788 from dachary/wip-13878-ec-pool

test/librados/test.cc: clean up EC pools' crush rules too

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #6665 from trociny/wip-librbd-journal
Josh Durgin [Fri, 4 Dec 2015 17:20:03 +0000 (09:20 -0800)]
Merge pull request #6665 from trociny/wip-librbd-journal

rbd: journal: configuration via conf, cli, api and some fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6800 from dillaman/wip-13969
Josh Durgin [Fri, 4 Dec 2015 17:13:51 +0000 (09:13 -0800)]
Merge pull request #6800 from dillaman/wip-13969

librbd: fix known test case race condition failures

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: wait for mocked requests to complete 6800/head
Jason Dillaman [Fri, 4 Dec 2015 15:37:25 +0000 (10:37 -0500)]
tests: wait for mocked requests to complete

Fixes: #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6641 from aclamk/wip-log-alloc-predictor
Sage Weil [Fri, 4 Dec 2015 15:37:48 +0000 (10:37 -0500)]
Merge pull request #6641 from aclamk/wip-log-alloc-predictor

common: log: predict log message buffer allocation size

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6642 from 0003ydlom/decode_reorder
Sage Weil [Fri, 4 Dec 2015 15:34:44 +0000 (10:34 -0500)]
Merge pull request #6642 from 0003ydlom/decode_reorder

osd: move newest decode version of MOSDOp and MOSDOpReply to the front

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agolibrbd: do not complete AIO callbacks within caller's thread context
Jason Dillaman [Fri, 4 Dec 2015 15:25:24 +0000 (10:25 -0500)]
librbd: do not complete AIO callbacks within caller's thread context

Avoid rare, racy issues when individual requests associated with an AIO
completion can complete prior to marking the completion as ready-to-fire.
Pre-calculate the expected number of individual requests to avoid the
potential re-entrant callback.

Fixes: #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6696 from Ved-vampir/wip_common_plugin
Sage Weil [Fri, 4 Dec 2015 15:19:11 +0000 (10:19 -0500)]
Merge pull request #6696 from Ved-vampir/wip_common_plugin

common: add generic plugin infrastructure

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
9 years agoMerge pull request #6779 from ceph/wip-librados-xattr
Sage Weil [Fri, 4 Dec 2015 15:15:54 +0000 (10:15 -0500)]
Merge pull request #6779 from ceph/wip-librados-xattr

librados: avoid malloc(0) (which can return NULL on some platforms)

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6759 from liewegas/wip-bdev-probe
Sage Weil [Fri, 4 Dec 2015 15:14:34 +0000 (10:14 -0500)]
Merge pull request #6759 from liewegas/wip-bdev-probe

osd: make backend and block device code a bit more generic

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
9 years agoMerge pull request #6686 from stiopaa1/namespace_buffer
Sage Weil [Fri, 4 Dec 2015 15:13:47 +0000 (10:13 -0500)]
Merge pull request #6686 from stiopaa1/namespace_buffer

common: use namespace instead of subclasses for buffer

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6535 from mslovy/wip-crc-cache-tracker
Sage Weil [Fri, 4 Dec 2015 15:13:07 +0000 (10:13 -0500)]
Merge pull request #6535 from mslovy/wip-crc-cache-tracker

common: buffer: add cached_crc and cached_crc_adjust counts to perf dump

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6058 from guangyy/wip-pg-query
Sage Weil [Fri, 4 Dec 2015 15:10:19 +0000 (10:10 -0500)]
Merge pull request #6058 from guangyy/wip-pg-query

osd: dump number of missing objects for each peer with pg query

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5953 from guangyy/wip-13121
Sage Weil [Fri, 4 Dec 2015 15:09:13 +0000 (10:09 -0500)]
Merge pull request #5953 from guangyy/wip-13121

osd: support pool level recovery_priority and recovery_op_priority

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #5670 from david-z/master
Sage Weil [Fri, 4 Dec 2015 15:00:54 +0000 (10:00 -0500)]
Merge pull request #5670 from david-z/master

osd: FileJournal: reduce locking scope in write_aio_bl

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #6798 from trociny/fix-rbd_mirror-bool
Jason Dillaman [Fri, 4 Dec 2015 13:40:26 +0000 (08:40 -0500)]
Merge pull request #6798 from trociny/fix-rbd_mirror-bool

librbd: include missing header for bool type

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: include missing header for bool type 6798/head
Mykola Golub [Fri, 4 Dec 2015 13:10:51 +0000 (15:10 +0200)]
librbd: include missing header for bool type

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agorbd: alow to specify options for created journal 6665/head
Mykola Golub [Tue, 17 Nov 2015 07:56:17 +0000 (09:56 +0200)]
rbd: alow to specify options for created journal

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: journal options on image create/clone/copy
Mykola Golub [Mon, 16 Nov 2015 14:54:28 +0000 (16:54 +0200)]
librbd: journal options on image create/clone/copy

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: output operator for image options
Mykola Golub [Thu, 19 Nov 2015 11:04:43 +0000 (13:04 +0200)]
librbd: output operator for image options

It is going to be used for diagnostic.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: journal: mark entry committed after replay
Mykola Golub [Fri, 30 Oct 2015 10:41:15 +0000 (12:41 +0200)]
librbd: journal: mark entry committed after replay

After replying a journal entry we have to call committed(). Otherwise,
the entries remain with flag committed=false in JournalMetadata
m_pending_commit_tids forever, which prevents commit position update.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agorbd: add new journal rbd commands
Mykola Golub [Fri, 18 Sep 2015 06:23:53 +0000 (09:23 +0300)]
rbd: add new journal rbd commands

Also, extend 'rbd info' to output journal spec if journaling is enabled.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: humanize ImageWatcher and Journal states in debug log
Mykola Golub [Tue, 15 Sep 2015 08:58:03 +0000 (11:58 +0300)]
librbd: humanize ImageWatcher and Journal states in debug log

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: add image pool ID to journal object names.
Mykola Golub [Sun, 6 Sep 2015 15:27:59 +0000 (18:27 +0300)]
librbd: add image pool ID to journal object names.

The data objects are named "journal_data.<pool id>.<image id>.<num>".
This is to avoid conflict when a journal objects pool is used for
several image pools.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: allow alternate pool for journal objects
Mykola Golub [Sun, 6 Sep 2015 14:06:44 +0000 (17:06 +0300)]
librbd: allow alternate pool for journal objects

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: debug: log journal metadata
Mykola Golub [Thu, 3 Sep 2015 18:12:12 +0000 (21:12 +0300)]
librbd: debug: log journal metadata

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: new config options to tweak journal settings
Mykola Golub [Tue, 1 Sep 2015 20:09:52 +0000 (23:09 +0300)]
librbd: new config options to tweak journal settings

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6129 from dillaman/wip-13292
Josh Durgin [Fri, 4 Dec 2015 08:16:03 +0000 (00:16 -0800)]
Merge pull request #6129 from dillaman/wip-13292

RBD pool mirroring configuration API + CLI

Reviewed-by: Josh Durgin <jdurgin@redhat.com>