Commit Graph

45744 Commits

Author SHA1 Message Date
Samuel Just
40522828c1 cmake: add nss as a suffix for pk11pub.h
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-11-12 09:12:17 -08:00
Sage Weil
0ee9fdced4 Merge pull request #6517 from kylinstorage/wip-trivial-bug
osd: fix bug in last_* PG state timestamps

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-12 08:40:42 -05:00
Jason Dillaman
085d8bed57 Merge pull request #6552 from trociny/wip-journal
journal: incremental improvements and fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 08:21:21 -05:00
Loic Dachary
0ce234b8fe Merge pull request #6462 from javacruft/wip/ec-modules
Build internal plugins and classes as modules

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-12 12:35:20 +01:00
Mykola Golub
d911641ccb journal: update allocated tid when skipping committed entry in player
Otherwise, if on image open, there are no any uncommitted entries in
journal, allocated tid is not updated to the latest commited and
recording always starts from tid=0.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-12 13:33:44 +02:00
Kefu Chai
b6f223b511 Merge pull request #6539 from yehudasa/wip-cmake-fix
cmake: fix files list

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-12 11:53:34 +08:00
Josh Durgin
5385883ead Merge pull request #6316 from dillaman/wip-13494
rbd: dynamically generated bash completion

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-11 11:54:56 -08:00
Josh Durgin
0ce0bc1552 Merge remote-tracking branch 'origin/jewel' 2015-11-11 11:51:49 -08:00
Yehuda Sadeh
3ea903e773 cmake: fix files list
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-11 08:38:05 -08:00
Mykola Golub
a1b690d9d3 cls::journal: fixup: constify dump functions
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 17:04:33 +02:00
Mykola Golub
0b261e2f83 journal: call metadata shutdown on journal remove
This fixes error observed when disabling journal:

  JournalMetadata: journal watch error: (107) Transport endpoint is not connected

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 17:04:11 +02:00
Mykola Golub
0dd6e0fd28 journal: don't use object_number when comparing positions
Only tid does matter.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 17:03:51 +02:00
Mykola Golub
b9c6ae8794 journal: make commit and flush params configurable
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 17:00:02 +02:00
Mykola Golub
13bc7beb04 journal: allow alternate pool for journal objects
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 16:44:08 +02:00
Mykola Golub
d4a14e0b4d journal: output operators for journal types
They are going to be used for diagnostic.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 16:43:56 +02:00
Sage Weil
384d10db56 Merge pull request #6471 from mslovy/wip-check-reply-guard-again
osd: avoid double-check for replaying and can_checkpoint() in FileStore::_check_replay_guard

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-11 09:23:39 -05:00
Sage Weil
33c158958b Merge pull request #6426 from xiexingguo/xxg-wip-13642
librados: fix rare race where pool op callback may hang forever

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 09:16:58 -05:00
Sage Weil
17c002a06d Merge pull request #6407 from renhwztetecs/renhw-wip-13627
mon: initialize recorded election epoch properly even when standalone

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 09:15:51 -05:00
Sage Weil
88fe7810a8 Merge pull request #6385 from Vicente-Cheng/mkfs-does-not-decode-an-existing-superblock
osd: fix reactivate (check OSDSuperblock in mkfs() when we already have the superblock)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-11 09:14:01 -05:00
Sage Weil
7dc1669114 Merge pull request #6373 from liewegas/wip-promoteon2ndread-ec
librados: fix PromoteOn2ndRead test for EC

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 09:12:31 -05:00
Jason Dillaman
bddb125956 Merge pull request #6520 from trociny/fix-rbd-apply_changes
rbd: make config changes actually apply

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-11-11 09:10:44 -05:00
Sage Weil
c8e47d11b6 Merge pull request #6347 from xiexingguo/xxg-wip-13566
osd: fixes for several cases where op result code was not checked or set

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 09:07:15 -05:00
Sage Weil
dde76ae9e3 Merge pull request #5168 from majianpeng/dynamic-control-optracker
common: allow enable/disable of optracker at runtime

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 09:02:26 -05:00
Kefu Chai
9c1a4ed617 Merge pull request #6089 from SUSE/wip-init-ceph-getopt
init-ceph: use getopt to make option processing more flexible

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 22:00:44 +08:00
Nathan Cutler
a6d354c622 src/init-ceph.in: remove unused variables
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-11-11 14:10:19 +01:00
Nathan Cutler
d4c0969714 src/init-ceph.in: improve usage message
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-11-11 14:10:19 +01:00
Nathan Cutler
c994c0a9c4 src/init-ceph.in: process command-line options using getopt
http://tracker.ceph.com/issues/3015 Fixes: #3015

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-11-11 14:10:14 +01:00
Josh Durgin
f661a559aa Merge pull request #6516 from trociny/wip-13719
librbd: perf section name: use hyphen to separate components

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-10 23:55:37 -08:00
Mykola Golub
3f749b7a62 rbd: make config changes actually apply
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 09:38:49 +02:00
Mykola Golub
595c1e5650 tests: rbd/admin_socket: use xmlstarlet when parsing perf dump
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 09:19:47 +02:00
Mykola Golub
fbe5526d09 librbd: perf section name: use hyphen to separate components
"/" and "@" characters make invalid xml format output.

Fixes: #13719
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-11 09:19:47 +02:00
Vikhyat Umrao
b30d1b8d00 doc: Adding --cluster option to rbd man page.
Fixes #13457
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-10 22:05:59 -08:00
Loic Dachary
50504c90e7 Merge pull request #6519 from kylinstorage/wip-revise-organization
revise organization

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-11 07:05:12 +01:00
Josh Durgin
3ab1668c6a Merge pull request #6525 from dillaman/wip-13636-jewel
WorkQueue: new PointerWQ base class for ContextWQ

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-10 21:43:52 -08:00
Josh Durgin
426450472a Merge branch 'wip-11286' of https://github.com/dillaman/ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-10 21:19:37 -08:00
Josh Durgin
d46d4a98b6 Merge pull request #5987 from dillaman/wip-rbd-refactor
rbd: refactor cli command handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-10 21:18:04 -08:00
Jason Dillaman
9ebea48cd9 rbd: dynamically generated bash completion
The rbd CLI bash completion is now dynamically generated by extracting
the available commands and command options from the CLI application.

Fixes: #13494
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 21:05:54 -05:00
Jason Dillaman
01c720b1b3 rbd: hidden 'bash-completion' command dumps all available commands
It also extracts all available options for a given command for use
which can be used by an improved bash completion script.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 21:05:54 -05:00
Jason Dillaman
6daa1ebc21 tests: updated rbd CLI --image-feature optional
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 13:55:39 -05:00
Sage Weil
c12f7d235d ceph_test_rados_api_tier: fix PromoteOn2ndRead for EC case
The ec and non-ec cases are copy&pasted code.  Yuck.  This duplicates the
non-ec fix from 347ac0f8.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-10 13:42:34 -05:00
Jason Dillaman
1be02b1d87 rbd: corrected handling of '--image-feature' optional
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 13:21:11 -05:00
Kefu Chai
7481f43e39 Merge pull request #6488 from xiexingguo/xxg-wip-rados-cleanup
librados: do cleanup

Reviewed-by: Sebastien Ponce <sebastien.ponce@cern.ch>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-11 00:56:40 +08:00
Josh Durgin
b54719b01c Merge pull request #6523 from dillaman/wip-13740
librbd: perf counters might not be initialized on error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-10 08:32:40 -08:00
Jason Dillaman
3e78b18b09 WorkQueue: new PointerWQ base class for ContextWQ
The existing work queues do not properly function if added to a running
thread pool.  librbd uses a singleton thread pool which requires
dynamically adding/removing work queues as images are opened and closed.

Fixes: #13636
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 11:31:33 -05:00
Jason Dillaman
dd5a263b83 librbd: perf counters might not be initialized on error
Fixes: #13740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 08:20:13 -05:00
Jason Dillaman
08b4c294b7 PendingReleaseNotes: document updated rbd CLI options
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 07:59:03 -05:00
Loic Dachary
cd71c1a414 Merge pull request #6522 from branch-predictor/bp-temporary-mon-fix
mon: revert MonitorDBStore's WholeStoreIteratorImpl::get

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-10 12:54:55 +01:00
Piotr Dałek
d548b5fbb4 mon: revert MonitorDBStore's WholeStoreIteratorImpl::get
Revert MonitorDBStore's WholeStoreIteratorImpl::get method to state
before commit 66b7b920cf until better,
long-term solution for #13742 will be provided.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2015-11-10 12:50:55 +01:00
Li Wang
f01892807f revise organization
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2015-11-10 17:24:12 +08:00
Li Wang
d28698ba64 osd: fix trivial bug
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Reported-by: Jie Wang <jie.wang@kylin-cloud.com>
2015-11-10 16:32:14 +08:00