Mykola Golub
47f561082f
librbd: journal options on image create/clone/copy
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:18:30 +02:00
Mykola Golub
89c716ffcd
librbd: output operator for image options
...
It is going to be used for diagnostic.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:18:30 +02:00
Mykola Golub
e72fc02cbd
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>
2015-12-04 13:18:30 +02:00
Mykola Golub
e8a584ffc1
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>
2015-12-04 13:18:30 +02:00
Mykola Golub
7311185ace
librbd: humanize ImageWatcher and Journal states in debug log
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:15:02 +02:00
Mykola Golub
bb10815ff0
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>
2015-12-04 13:15:02 +02:00
Mykola Golub
61ad15c732
librbd: allow alternate pool for journal objects
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:15:02 +02:00
Mykola Golub
ebadfefaea
librbd: debug: log journal metadata
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:15:02 +02:00
Mykola Golub
7248fb5ab9
librbd: new config options to tweak journal settings
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:15:02 +02:00
Josh Durgin
77131e0b73
Merge pull request #6129 from dillaman/wip-13292
...
RBD pool mirroring configuration API + CLI
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-04 00:16:03 -08:00
Yunchuan Wen
e9317f0047
SubProcess: fix multiple definition bug
...
In current implementation, the declare of the
SubProcess class was seperate from the
implementation, like this:
class SubProcess
{
SubProcess();
};
SubProcess::SubProcess()
....
This will cause the 'multiple definition of XXX' bug
when more than one source files linked together if
they are all include SubProcess.h.
So, this patch fix it.
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2015-12-04 16:14:54 +08:00
David Zafman
02a9a41f15
osd: Test osd_find_best_info_ignore_history_les config in another assert
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-12-03 17:33:18 -08:00
Sage Weil
9f18962a6d
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>
2015-12-03 19:38:22 -05:00
Dan Mick
04b4795f81
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>
2015-12-04 01:08:38 +01:00
Loic Dachary
15a81bb712
Merge pull request #6780 from smithfarm/wip-index-20151201
...
doc/dev/index.rst: fix headings
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-03 22:40:17 +01:00
Yehuda Sadeh
46493d4eba
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>
2015-12-03 09:41:50 -08:00
Yehuda Sadeh
0857da4c21
Merge pull request #6767 from oritwas/wip-13529-jewel
...
rgw: use smart pointer for C_Reinitwatch
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-03 09:31:59 -08:00
Nathan Cutler
6807b35a21
doc/dev/index.rst: fix links
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-03 18:11:37 +01:00
Nathan Cutler
f3366401eb
doc/dev/index.rst: Flesh out the IRC section
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-03 18:11:25 +01:00
Nathan Cutler
8d281bc5f0
doc/dev/index.rst: Make Issue tracker a separate chapter
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-03 18:11:09 +01:00
Josh Durgin
42c6ef446e
Merge pull request #6789 from dillaman/wip-13969
...
librbd: partial revert of commit 9b0e359
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-03 06:55:51 -08:00
Loic Dachary
ed6792ba06
Merge pull request #6748 from liewegas/wip-fix-cephtool
...
qa/workunits/cephtool/test.sh: no ./
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-03 15:23:44 +01:00
Yan, Zheng
72691dd9a0
Merge pull request #5941 from jcsp/wip-12137
...
#12137 : cephfs-data-scan scan_frags
2015-12-03 22:10:26 +08:00
Josh Durgin
157ef2e8a0
Merge pull request #6777 from dillaman/wip-librbd-lockdep
...
librbd: journaling-related lock dependency cleanup
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-03 05:38:50 -08:00
Josh Durgin
e2b7bc522a
Merge pull request #6762 from dillaman/wip-13924
...
journal: fire replay complete event after reading last object
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-03 05:26:07 -08:00
Josh Durgin
111f6a6f5e
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>
2015-12-03 05:23:10 -08:00
Jason Dillaman
91f01bdbd6
librbd: partial revert of commit 9b0e359
...
Fixes : #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-03 07:55:16 -05:00
Hector Martin
4e15c03997
pybind/rbd.pyx: Return something useful from str() and repr()
...
str() defaults to repr(), so implement __repr__ instead.
Signed-off-by: Hector Martin <marcan@marcan.st>
2015-12-03 21:40:16 +09:00
Nathan Cutler
6e7f9c8ed3
doc/dev/index.rst: start writing Bugfixing chapter
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-03 13:31:28 +01:00
Sage Weil
91e4a1c713
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>
2015-12-03 06:40:40 -05:00
Sage Weil
a93fdb6e6f
Merge pull request #6689 from 0003ydlom/doubled_cond
...
osd: avoid duplicate op->mark_started in ReplicatedBackend
Reviewed-by: xinxin shu <xinxin.shu@intel.com>
2015-12-03 06:40:13 -05:00
Sage Weil
71e172fbc6
Merge pull request #6681 from ifed01/wip-objstore-bench-stabilization
...
ceph_objectstore_bench: fix race condition, bugs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-12-03 06:39:09 -05:00
Sage Weil
c80945fb60
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>
2015-12-03 06:38:19 -05:00
Sage Weil
eb82a85236
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>
2015-12-03 06:37:11 -05:00
Orit Wasserman
b3281316a2
cmake: add rgw_basic_types.cc to librgw.a
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-12-03 11:58:28 +01:00
Nathan Cutler
002d26b097
doc/dev/index.rst: rewrite introductory material
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-03 09:53:35 +01:00
Haomai Wang
e4218a2dfb
KeyValueStore: Don't queue NULL context under test purpose
...
Fix : #13961
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-03 14:52:27 +08:00
Yehuda Sadeh
39ba840fce
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>
2015-12-02 21:52:00 -08:00
Guang Yang
ba346bf432
qa: add a test for the recovery_priority/recovery_op_priority pool settings.
...
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-12-03 02:16:52 +00:00
Guang Yang
f0cc7220d6
mon: support recovery_priority and recovery_op_priority with monitor commands
...
Fixes: 13121
Signed-off-by: Guang Yang yguang@yahoo-inc.com
2015-12-03 02:10:51 +00:00
Jie Wang
cd2bc413c5
Objecter: clean up Objecter.h/ObjectOperation
...
Signed-off-by: Jie Wang <jie.wang@kylin-cloud.com>
2015-12-03 01:31:41 +00:00
Guang Yang
7455897636
osd: prioritize recovery based on pool's customized priority
...
Fixes: 13121
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-12-02 23:55:16 +00:00
Nathan Cutler
bc21a23555
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>
2015-12-03 00:30:24 +01:00
Loic Dachary
12efe7f2c9
Merge pull request #6727 from smithfarm/wip-index
...
doc/dev/index.rst: begin writing Contributing to Ceph
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-03 00:18:31 +01:00
Nathan Cutler
b6f9a9b2b1
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>
2015-12-02 23:37:06 +01:00
Sage Weil
fb120d7b2d
osd: call on_new_interval on newly split child PG
...
We must call on_new_interval() on any interval change *and* on the
creation of the PG. Currently we call it from PG::init() and
PG::start_peering_interval(). However, PG::split_into() did not
do so for the child PG, which meant that the new child feature
bits were not properly initialized and the bitwise/nibblewise
debug bit was not correctly set. That, in turn, could lead to
various misbehaviors, the most obvious of which is scrub errors
due to the sort order mismatch.
Fixes : #13962
Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-02 14:50:39 -05:00
Jason Dillaman
34b32834e3
common: lockdep now tracks lock ordering when backtraces disabled
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-02 14:30:46 -05:00
Jason Dillaman
60519e2aa4
librbd: correct lock ordering issues discovered by lockdep
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-02 14:28:06 -05:00
Danny Al-Gaaf
efab777828
Merge pull request #6775 from mkoderer/doc/fixowner
...
doc: remove unnecessary period in headline
Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-12-02 20:18:37 +01:00
Marc Koderer
1997144f5d
doc: remove unnecessary period in headline
...
Signed-off-by: Marc Koderer <marc@koderer.com>
2015-12-02 20:05:26 +01:00