]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoLifeCycle feature 6331/head
Ji Chen [Wed, 21 Oct 2015 02:10:39 +0000 (10:10 +0800)]
LifeCycle feature
As same as amazon S3 interface,"PUT Bucket lifecycle" and
"DELETE Bucket lifecycle" have been implemented,
"GET Bucket lifecycle" not realized yet as S3cmd has not
realize it also.
The feature`s main point is to remove expire file per day.
Files transfer from hot layer to cold layer is not supported.
ToDo:Maybe to transfer from replicate pool to EC pool or
from ssd to sata pool will be valuable.

Now put all buckets which should do lifecycle into shard
objects in .rgw.lc pool.

lifecycle config file format:
<LifecycleConfiguration>
    <Rule>
        <ID>sample-rule</ID>
        <Prefix></Prefix>
        <Status>enable</Status>
        <Expiration>
           <Days>1</Days>
        </Expiration>
    </Rule>
</LifecycleConfiguration>

Signed-off-by: Ji Chen <insomnia@139.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 #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 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 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 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 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>
9 years agocmake: add rgw_basic_types.cc to librgw.a 6786/head
Orit Wasserman [Thu, 3 Dec 2015 10:58:28 +0000 (11:58 +0100)]
cmake: add rgw_basic_types.cc to librgw.a

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agodoc/dev/index.rst: rewrite introductory material
Nathan Cutler [Thu, 3 Dec 2015 08:53:35 +0000 (09:53 +0100)]
doc/dev/index.rst: rewrite introductory material

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6784 from ceph/wip-5073
Yehuda Sadeh [Thu, 3 Dec 2015 05:52:00 +0000 (21:52 -0800)]
Merge pull request #6784 from ceph/wip-5073

rgw multitenancy

Buckets and users can now have a tenant associated with them. Buckets can be specified as [<tenant>:]<bucket> and users can be specified as [<tenant>$]<uid>. The existing users and buckets are part of the default global tenant.
This is first phase. Future work will add tighter integration (e.g., swift tenant mapping, s3 subdomain tenant mapping, etc.)

Reviewed-by: Pete Zaitcev <zaitcev@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoqa: add a test for the recovery_priority/recovery_op_priority pool settings. 5953/head
Guang Yang [Thu, 3 Dec 2015 02:16:52 +0000 (02:16 +0000)]
qa: add a test for the recovery_priority/recovery_op_priority pool settings.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agomon: support recovery_priority and recovery_op_priority with monitor commands
Guang Yang [Wed, 2 Dec 2015 23:46:34 +0000 (23:46 +0000)]
mon: support recovery_priority and recovery_op_priority with monitor commands

Fixes: 13121
Signed-off-by: Guang Yang yguang@yahoo-inc.com
9 years agoosd: prioritize recovery based on pool's customized priority
Guang Yang [Wed, 2 Dec 2015 17:54:58 +0000 (17:54 +0000)]
osd: prioritize recovery based on pool's customized priority

Fixes: 13121
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agodoc/dev/index.rst: fix headings
Nathan Cutler [Wed, 2 Dec 2015 23:30:24 +0000 (00:30 +0100)]
doc/dev/index.rst: fix headings

This commit fixes the headings so they render properly on http://ceph.com

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6727 from smithfarm/wip-index
Loic Dachary [Wed, 2 Dec 2015 23:18:31 +0000 (00:18 +0100)]
Merge pull request #6727 from smithfarm/wip-index

doc/dev/index.rst: begin writing Contributing to Ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc/dev/index.rst: begin writing Contributing to Ceph 6727/head
Nathan Cutler [Sun, 29 Nov 2015 23:51:11 +0000 (00:51 +0100)]
doc/dev/index.rst: begin writing Contributing to Ceph

Replace existing index.rst with the beginnings of a comprehensive
developer guide.

Move the old index.rst to index-old.rst.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agocommon: lockdep now tracks lock ordering when backtraces disabled 6777/head
Jason Dillaman [Wed, 2 Dec 2015 19:28:18 +0000 (14:28 -0500)]
common: lockdep now tracks lock ordering when backtraces disabled

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: correct lock ordering issues discovered by lockdep
Jason Dillaman [Wed, 2 Dec 2015 19:27:57 +0000 (14:27 -0500)]
librbd: correct lock ordering issues discovered by lockdep

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6775 from mkoderer/doc/fixowner
Danny Al-Gaaf [Wed, 2 Dec 2015 19:18:37 +0000 (20:18 +0100)]
Merge pull request #6775 from mkoderer/doc/fixowner

doc: remove unnecessary period in headline

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
9 years agodoc: remove unnecessary period in headline 6775/head
Marc Koderer [Wed, 2 Dec 2015 19:05:26 +0000 (20:05 +0100)]
doc: remove unnecessary period in headline

Signed-off-by: Marc Koderer <marc@koderer.com>
9 years agojournal: correct lock ordering issues discovered by lockdep
Jason Dillaman [Wed, 2 Dec 2015 18:35:21 +0000 (13:35 -0500)]
journal: correct lock ordering issues discovered by lockdep

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorgw: remove comments 6784/head
Yehuda Sadeh [Mon, 30 Nov 2015 21:57:56 +0000 (13:57 -0800)]
rgw: remove comments

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: a minor cleanup
Yehuda Sadeh [Mon, 30 Nov 2015 21:51:35 +0000 (13:51 -0800)]
rgw: a minor cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: don't re-set bucket tenant and name when selecting location
Yehuda Sadeh [Mon, 30 Nov 2015 21:50:07 +0000 (13:50 -0800)]
rgw: don't re-set bucket tenant and name when selecting location

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix a typo
Yehuda Sadeh [Mon, 30 Nov 2015 21:48:10 +0000 (13:48 -0800)]
rgw: fix a typo

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: don't allow cross-tenant bucket creation
Yehuda Sadeh [Mon, 30 Nov 2015 21:46:05 +0000 (13:46 -0800)]
rgw: don't allow cross-tenant bucket creation

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: avoid calling rgw_make_bucket_entry_name() when not needed
Yehuda Sadeh [Mon, 30 Nov 2015 20:15:24 +0000 (12:15 -0800)]
rgw: avoid calling rgw_make_bucket_entry_name() when not needed

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: objexp hint name backward compatibility
Yehuda Sadeh [Mon, 30 Nov 2015 19:56:03 +0000 (11:56 -0800)]
rgw: objexp hint name backward compatibility

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: inherit bucket tenant from user if not specified
Yehuda Sadeh [Mon, 30 Nov 2015 19:33:48 +0000 (11:33 -0800)]
rgw: inherit bucket tenant from user if not specified

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6739 from dreamhost/wip-13920
Samuel Just [Wed, 2 Dec 2015 17:58:52 +0000 (09:58 -0800)]
Merge pull request #6739 from dreamhost/wip-13920

Gentoo: _FORTIFY_SOURCE fix.

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agotests: added new rbd mirroring CLI commands 6129/head
Jason Dillaman [Wed, 25 Nov 2015 16:00:12 +0000 (11:00 -0500)]
tests: added new rbd mirroring CLI commands

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6771 from dillaman/wip-backtrace-fixes
Loic Dachary [Wed, 2 Dec 2015 16:14:07 +0000 (17:14 +0100)]
Merge pull request #6771 from dillaman/wip-backtrace-fixes

common: re-enable backtrace support

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorbd: add new 'mirror pool' rbd commands
Jason Dillaman [Thu, 24 Sep 2015 18:34:16 +0000 (14:34 -0400)]
rbd: add new 'mirror pool' rbd commands

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: librbd new pool mirror API methods
Jason Dillaman [Thu, 24 Sep 2015 18:33:35 +0000 (14:33 -0400)]
tests: librbd new pool mirror API methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: new pool mirror API methods
Jason Dillaman [Thu, 24 Sep 2015 12:39:30 +0000 (08:39 -0400)]
librbd: new pool mirror API methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoceph-dencoder: new cls::rbd::MirrorPeer type
Jason Dillaman [Wed, 23 Sep 2015 22:11:34 +0000 (18:11 -0400)]
ceph-dencoder: new cls::rbd::MirrorPeer type

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotest: new cls_rbd methods for pool mirroring
Jason Dillaman [Wed, 23 Sep 2015 22:11:01 +0000 (18:11 -0400)]
test: new cls_rbd methods for pool mirroring

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocls_rbd: new methods for handling mirroring
Jason Dillaman [Wed, 23 Sep 2015 22:10:25 +0000 (18:10 -0400)]
cls_rbd: new methods for handling mirroring

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: initial set of test cases for op state machines 6703/head
Jason Dillaman [Wed, 19 Aug 2015 17:32:42 +0000 (13:32 -0400)]
tests: initial set of test cases for op state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: snap create doesn't properly handle race conditions
Jason Dillaman [Wed, 25 Nov 2015 19:09:25 +0000 (14:09 -0500)]
librbd: snap create doesn't properly handle race conditions

The ESTALE result code was being filtered out, preventing the retry
logic.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: use md_ctx for self-managed snapshot management
Jason Dillaman [Wed, 25 Nov 2015 19:06:03 +0000 (14:06 -0500)]
librbd: use md_ctx for self-managed snapshot management

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: convert op state machines to templates
Jason Dillaman [Wed, 19 Aug 2015 17:10:57 +0000 (13:10 -0400)]
librbd: convert op state machines to templates

Using templates allows the creation of mocked test cases to
verify non-librados expectations.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: add gmock unit tests for librbd object map state machines
Jason Dillaman [Tue, 18 Aug 2015 17:44:02 +0000 (13:44 -0400)]
tests: add gmock unit tests for librbd object map state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: ensure object map is invalidated on disk if forced
Jason Dillaman [Wed, 25 Nov 2015 16:46:00 +0000 (11:46 -0500)]
librbd: ensure object map is invalidated on disk if forced

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6657 from kylinstorage/wip-rbd-nbd
Jason Dillaman [Wed, 2 Dec 2015 15:38:54 +0000 (10:38 -0500)]
Merge pull request #6657 from kylinstorage/wip-rbd-nbd

rbd-nbd: network block device (NBD) support for RBD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6769 from aiicore/configure_fix
branto1 [Wed, 2 Dec 2015 13:31:48 +0000 (14:31 +0100)]
Merge pull request #6769 from aiicore/configure_fix

configure.ac: macro fix

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agocommon: PluginRegistry modification 6696/head
Ved-vampir [Wed, 25 Nov 2015 08:05:24 +0000 (11:05 +0300)]
common: PluginRegistry modification

9 years agocommon: PluginRegistry
Sage Weil [Sat, 11 Apr 2015 14:45:07 +0000 (07:45 -0700)]
common: PluginRegistry

Generic plugin loader.  Based on the ErasureCodePlugin.

Signed-off-by: Sage Weil <sage@redhat.com>
Conflicts:
src/common/Makefile.am
src/common/ceph_context.cc
src/common/ceph_context.h

missing files

9 years agoconfigure.ac: macro fix 6769/head
Igor Podoski [Wed, 2 Dec 2015 06:25:00 +0000 (07:25 +0100)]
configure.ac: macro fix

Configure fails with autoconf 2.63 on Centos 6.6 with:

./configure: line 34026: syntax error near unexpected token `newline'
./configure: line 34026: `  yes:no:'

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
9 years agoMerge pull request #5685 from ceph/wip-12133
Yan, Zheng [Wed, 2 Dec 2015 08:15:50 +0000 (16:15 +0800)]
Merge pull request #5685 from ceph/wip-12133

cephfs-data-scan: scrub tag filtering (#12133 and #12145)

9 years agotools/cephfs: enable tag filter in DataScan 5685/head
John Spray [Mon, 27 Jul 2015 10:07:49 +0000 (11:07 +0100)]
tools/cephfs: enable tag filter in DataScan

Fixes: #12133
Signed-off-by: John Spray <john.spray@redhat.com>