]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoinit-ceph: do umount when the path exists. 6866/head
Xiaoxi Chen [Wed, 9 Dec 2015 07:16:59 +0000 (15:16 +0800)]
init-ceph: do umount when the path exists.

If the specified mount point is in use, umount it instead
of skipping mounting the fs.

In previous code , if we forgot that we already mount something unrelated to
*this ceph osd * to the particular mount point, we will skip the mount and
finally get an error complaining superblock not matching OSD ID.

umount & remount is better because
1. If the wrong FS not in use, we can get the right FS we want and make ceph boot smoothly.
2. If the wrong FS is in use, we will get EBUSY on umount, which seems explain the situation
more clearly than superblock mismatch.

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
9 years agoMerge pull request #6830 from vumrao/wip-12112-vumrao
Josh Durgin [Tue, 8 Dec 2015 23:30:09 +0000 (15:30 -0800)]
Merge pull request #6830 from vumrao/wip-12112-vumrao

rbd: add --object-size option, deprecate --order

Reviewed-by: Josh Durgin <jdurgin@redhat.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 agorbd: add --object-size option 6830/head
Vikhyat Umrao [Mon, 7 Dec 2015 16:48:13 +0000 (22:18 +0530)]
rbd: add --object-size option

Object size can be specified when creating an image with the --order option,
as a number of bits in the size.

This patch is adding new option --object-size. This new option will specify
object size directly for example --object-size 2M.

It would be easier to use. --order is still present for backwards compatibility.
For simplicity, we are rounding up the object size to the nearest power of 2.

Fixes #12112

Signed-off-by: Vikhyat Umrao <vumrao@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>
9 years agoosd: Test osd_find_best_info_ignore_history_les config in another assert 6793/head
David Zafman [Thu, 3 Dec 2015 22:52:24 +0000 (14:52 -0800)]
osd: Test osd_find_best_info_ignore_history_les config in another assert

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #6778 from liewegas/wip-13962
Sage Weil [Fri, 4 Dec 2015 00:38:22 +0000 (19:38 -0500)]
Merge pull request #6778 from liewegas/wip-13962

osd: call on_new_interval on newly split child PG

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agotest/librados/test.cc: clean up EC pools' crush rules too 6788/head
Dan Mick [Thu, 26 Nov 2015 03:20:51 +0000 (19:20 -0800)]
test/librados/test.cc: clean up EC pools' crush rules too

SetUp was adding an erasure-coded pool, which automatically adds
a new crush rule named after the pool, but only removing the
pool.  Remove the crush rule as well.

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

Signed-off-by: Dan Mick <dan.mick@redhat.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #6780 from smithfarm/wip-index-20151201
Loic Dachary [Thu, 3 Dec 2015 21:40:17 +0000 (22:40 +0100)]
Merge pull request #6780 from smithfarm/wip-index-20151201

doc/dev/index.rst: fix headings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6786 from oritwas/wip-cmake-fix-radosgw
Yehuda Sadeh [Thu, 3 Dec 2015 17:41:50 +0000 (09:41 -0800)]
Merge pull request #6786 from oritwas/wip-cmake-fix-radosgw

cmake: add rgw_basic_types.cc to librgw.a

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6767 from oritwas/wip-13529-jewel
Yehuda Sadeh [Thu, 3 Dec 2015 17:31:59 +0000 (09:31 -0800)]
Merge pull request #6767 from oritwas/wip-13529-jewel

rgw: use smart pointer for C_Reinitwatch

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agodoc/dev/index.rst: fix links 6780/head
Nathan Cutler [Thu, 3 Dec 2015 12:43:29 +0000 (13:43 +0100)]
doc/dev/index.rst: fix links

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc/dev/index.rst: Flesh out the IRC section
Nathan Cutler [Thu, 3 Dec 2015 12:30:54 +0000 (13:30 +0100)]
doc/dev/index.rst: Flesh out the IRC section

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc/dev/index.rst: Make Issue tracker a separate chapter
Nathan Cutler [Thu, 3 Dec 2015 12:18:52 +0000 (13:18 +0100)]
doc/dev/index.rst: Make Issue tracker a separate chapter

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6789 from dillaman/wip-13969
Josh Durgin [Thu, 3 Dec 2015 14:55:51 +0000 (06:55 -0800)]
Merge pull request #6789 from dillaman/wip-13969

librbd: partial revert of commit 9b0e359

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6748 from liewegas/wip-fix-cephtool
Loic Dachary [Thu, 3 Dec 2015 14:23:44 +0000 (15:23 +0100)]
Merge pull request #6748 from liewegas/wip-fix-cephtool

qa/workunits/cephtool/test.sh: no ./

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5941 from jcsp/wip-12137
Yan, Zheng [Thu, 3 Dec 2015 14:10:26 +0000 (22:10 +0800)]
Merge pull request #5941 from jcsp/wip-12137

#12137: cephfs-data-scan scan_frags

9 years agoMerge pull request #6777 from dillaman/wip-librbd-lockdep
Josh Durgin [Thu, 3 Dec 2015 13:38:50 +0000 (05:38 -0800)]
Merge pull request #6777 from dillaman/wip-librbd-lockdep

librbd: journaling-related lock dependency cleanup

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6762 from dillaman/wip-13924
Josh Durgin [Thu, 3 Dec 2015 13:26:07 +0000 (05:26 -0800)]
Merge pull request #6762 from dillaman/wip-13924

journal: fire replay complete event after reading last object

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6703 from dillaman/wip-tests-librbd-gmock-state-machines
Josh Durgin [Thu, 3 Dec 2015 13:23:10 +0000 (05:23 -0800)]
Merge pull request #6703 from dillaman/wip-tests-librbd-gmock-state-machines

librbd: initial collection of state machine unit tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: partial revert of commit 9b0e359 6789/head
Jason Dillaman [Thu, 3 Dec 2015 12:53:42 +0000 (07:53 -0500)]
librbd: partial revert of commit 9b0e359

Fixes: #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agodoc/dev/index.rst: start writing Bugfixing chapter
Nathan Cutler [Thu, 3 Dec 2015 08:54:11 +0000 (09:54 +0100)]
doc/dev/index.rst: start writing Bugfixing chapter

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6690 from branch-predictor/bp-smaller-pglog-2
Sage Weil [Thu, 3 Dec 2015 11:40:40 +0000 (06:40 -0500)]
Merge pull request #6690 from branch-predictor/bp-smaller-pglog-2

osd: slightly reduce actual size of pg_log_entry_t

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6689 from 0003ydlom/doubled_cond
Sage Weil [Thu, 3 Dec 2015 11:40:13 +0000 (06:40 -0500)]
Merge pull request #6689 from 0003ydlom/doubled_cond

osd: avoid duplicate op->mark_started in ReplicatedBackend

Reviewed-by: xinxin shu <xinxin.shu@intel.com>
9 years agoMerge pull request #6681 from ifed01/wip-objstore-bench-stabilization
Sage Weil [Thu, 3 Dec 2015 11:39:09 +0000 (06:39 -0500)]
Merge pull request #6681 from ifed01/wip-objstore-bench-stabilization

ceph_objectstore_bench: fix race condition, bugs

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6677 from jack-changtao/test-bench
Sage Weil [Thu, 3 Dec 2015 11:38:19 +0000 (06:38 -0500)]
Merge pull request #6677 from jack-changtao/test-bench

rados: bench: fix off-by-one to avoid writing past object_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6555 from mslovy/wip-reduce-omap-transaction
Sage Weil [Thu, 3 Dec 2015 11:37:11 +0000 (06:37 -0500)]
Merge pull request #6555 from mslovy/wip-reduce-omap-transaction

osd: don't update epoch and rollback_info objects attrs if there is no need

Reviewed-by: Sage Weil <sage@redhat.com>