]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agorbd: dynamically generated bash completion 6316/head
Jason Dillaman [Tue, 20 Oct 2015 01:52:49 +0000 (21:52 -0400)]
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>
9 years agorbd: hidden 'bash-completion' command dumps all available commands
Jason Dillaman [Mon, 19 Oct 2015 19:07:50 +0000 (15:07 -0400)]
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>
9 years agoMerge pull request #6516 from trociny/wip-13719
Josh Durgin [Wed, 11 Nov 2015 07:55:37 +0000 (23:55 -0800)]
Merge pull request #6516 from trociny/wip-13719

librbd: perf section name: use hyphen to separate components

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotests: rbd/admin_socket: use xmlstarlet when parsing perf dump 6516/head
Mykola Golub [Tue, 10 Nov 2015 07:22:09 +0000 (09:22 +0200)]
tests: rbd/admin_socket: use xmlstarlet when parsing perf dump

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: perf section name: use hyphen to separate components
Mykola Golub [Tue, 10 Nov 2015 06:32:17 +0000 (08:32 +0200)]
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>
9 years agodoc: Adding --cluster option to rbd man page.
Vikhyat Umrao [Mon, 19 Oct 2015 12:27:15 +0000 (17:57 +0530)]
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>
9 years agoMerge pull request #6519 from kylinstorage/wip-revise-organization
Loic Dachary [Wed, 11 Nov 2015 06:05:12 +0000 (07:05 +0100)]
Merge pull request #6519 from kylinstorage/wip-revise-organization

revise organization

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge branch 'wip-11286' of https://github.com/dillaman/ceph
Josh Durgin [Wed, 11 Nov 2015 05:19:37 +0000 (21:19 -0800)]
Merge branch 'wip-11286' of https://github.com/dillaman/ceph

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #5987 from dillaman/wip-rbd-refactor
Josh Durgin [Wed, 11 Nov 2015 05:18:04 +0000 (21:18 -0800)]
Merge pull request #5987 from dillaman/wip-rbd-refactor

rbd: refactor cli command handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotests: updated rbd CLI --image-feature optional 5987/head
Jason Dillaman [Tue, 10 Nov 2015 18:55:39 +0000 (13:55 -0500)]
tests: updated rbd CLI --image-feature optional

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: corrected handling of '--image-feature' optional
Jason Dillaman [Tue, 10 Nov 2015 18:21:11 +0000 (13:21 -0500)]
rbd: corrected handling of '--image-feature' optional

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6488 from xiexingguo/xxg-wip-rados-cleanup
Kefu Chai [Tue, 10 Nov 2015 16:56:40 +0000 (00:56 +0800)]
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>
9 years agoMerge pull request #6523 from dillaman/wip-13740
Josh Durgin [Tue, 10 Nov 2015 16:32:40 +0000 (08:32 -0800)]
Merge pull request #6523 from dillaman/wip-13740

librbd: perf counters might not be initialized on error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: perf counters might not be initialized on error 6523/head
Jason Dillaman [Tue, 10 Nov 2015 13:20:13 +0000 (08:20 -0500)]
librbd: perf counters might not be initialized on error

Fixes: #13740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoPendingReleaseNotes: document updated rbd CLI options
Jason Dillaman [Tue, 10 Nov 2015 12:59:03 +0000 (07:59 -0500)]
PendingReleaseNotes: document updated rbd CLI options

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6522 from branch-predictor/bp-temporary-mon-fix
Loic Dachary [Tue, 10 Nov 2015 11:54:55 +0000 (12:54 +0100)]
Merge pull request #6522 from branch-predictor/bp-temporary-mon-fix

mon: revert MonitorDBStore's WholeStoreIteratorImpl::get

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomon: revert MonitorDBStore's WholeStoreIteratorImpl::get 6522/head
Piotr Dałek [Tue, 10 Nov 2015 11:50:55 +0000 (12:50 +0100)]
mon: revert MonitorDBStore's WholeStoreIteratorImpl::get

Revert MonitorDBStore's WholeStoreIteratorImpl::get method to state
before commit 66b7b920cf5a0a9c71212573ef47fb2c7ea9b5ff until better,
long-term solution for #13742 will be provided.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agorevise organization 6519/head
Li Wang [Tue, 10 Nov 2015 09:20:29 +0000 (17:20 +0800)]
revise organization

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
9 years agoMerge pull request #6394 from dillaman/wip-13560
Josh Durgin [Tue, 10 Nov 2015 07:30:42 +0000 (23:30 -0800)]
Merge pull request #6394 from dillaman/wip-13560

krbd: remove deprecated --quiet param from udevadm

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6447 from dillaman/wip-13674
Josh Durgin [Tue, 10 Nov 2015 07:27:08 +0000 (23:27 -0800)]
Merge pull request #6447 from dillaman/wip-13674

librbd: resize should only update image size within header

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agointernal: remove unused local variables 6488/head
xiexingguo [Mon, 9 Nov 2015 14:14:09 +0000 (22:14 +0800)]
internal: remove unused local variables

Remove unused variables bl and bl2 in snap_list and ictx_refresh.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agolibrados: cast oid to object explicitly before call ioctx methods
xiexingguo [Sat, 7 Nov 2015 03:30:32 +0000 (11:30 +0800)]
librados: cast oid to object explicitly before call ioctx methods
Cast oid to object explicitly before call ioctx methods.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #6513 from ceph/revert-6419-wip-openssl
Yehuda Sadeh [Mon, 9 Nov 2015 23:26:12 +0000 (15:26 -0800)]
Merge pull request #6513 from ceph/revert-6419-wip-openssl

Revert 0374bb4a2f5054d606e4aba2d97b5e6765e781b0

9 years agoIoCtxImpl: remove unused variable sName
xiexingguo [Sat, 7 Nov 2015 03:14:02 +0000 (11:14 +0800)]
IoCtxImpl: remove unused variable sName

remove unused local variable sName in rollback.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRevert 0374bb4a2f5054d606e4aba2d97b5e6765e781b0 6513/head
Yehuda Sadeh [Mon, 9 Nov 2015 23:24:29 +0000 (15:24 -0800)]
Revert 0374bb4a2f5054d606e4aba2d97b5e6765e781b0

9 years agoMerge pull request #6419 from ceph/wip-openssl
Yehuda Sadeh [Mon, 9 Nov 2015 21:56:29 +0000 (13:56 -0800)]
Merge pull request #6419 from ceph/wip-openssl

rgw: link against system openssl (instead of dlopen at runtime)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6453 from trociny/wip-2468
Jason Dillaman [Mon, 9 Nov 2015 21:36:58 +0000 (16:36 -0500)]
Merge pull request #6453 from trociny/wip-2468

librbd: flush and invalidate cache via admin socket

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6511 from liewegas/wip-fix-kv
Sage Weil [Mon, 9 Nov 2015 19:30:14 +0000 (14:30 -0500)]
Merge pull request #6511 from liewegas/wip-fix-kv

kv: fix bug in kv key optimization

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoMerge branch 'wip-12955'
Yehuda Sadeh [Mon, 9 Nov 2015 19:03:40 +0000 (11:03 -0800)]
Merge branch 'wip-12955'

9 years agorgw: fix modification to index attrs when setting acls
brian [Wed, 23 Sep 2015 14:49:36 +0000 (09:49 -0500)]
rgw: fix modification to index attrs when setting acls

Fixes: #12955
 - add ACL change after initial population
 - populate bufferlist with object attributes

Signed-off-by: Brian Felton <bjfelton@gmail.com>
9 years agokv: fix string ctor usage 6511/head
Sage Weil [Mon, 9 Nov 2015 18:40:41 +0000 (13:40 -0500)]
kv: fix string ctor usage

When constructing a string from a char* there is only a single
length argument, no offset.  The 3 argument variant we were using
was converting to a std::string first (an prematurely terminating
on \0).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6047 from Sandy4999/wip-13140
Yehuda Sadeh [Mon, 9 Nov 2015 18:38:46 +0000 (10:38 -0800)]
Merge pull request #6047 from Sandy4999/wip-13140

rgw: fix swift API returning incorrect account metadata

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6504 from dillaman/wip-13727
Josh Durgin [Mon, 9 Nov 2015 18:19:09 +0000 (10:19 -0800)]
Merge pull request #6504 from dillaman/wip-13727

tests: fix typo in TestClsRbd.snapshots test case

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotests: librbd: admin socket commands to flush and invalidate cache 6453/head
Mykola Golub [Tue, 3 Nov 2015 11:24:36 +0000 (13:24 +0200)]
tests: librbd: admin socket commands to flush and invalidate cache

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: flush and invalidate cache via admin socket
Mykola Golub [Tue, 3 Nov 2015 06:55:23 +0000 (08:55 +0200)]
librbd: flush and invalidate cache via admin socket

Fixes: #2468
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: perf counter for cache invalidates
Mykola Golub [Wed, 4 Nov 2015 10:18:52 +0000 (12:18 +0200)]
librbd: perf counter for cache invalidates

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6312 from liewegas/wip-kv
Sage Weil [Mon, 9 Nov 2015 14:10:37 +0000 (09:10 -0500)]
Merge pull request #6312 from liewegas/wip-kv

kv: optimize and clean up internal key/value interface

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agotests: fix typo in TestClsRbd.snapshots test case 6504/head
Jason Dillaman [Mon, 9 Nov 2015 14:06:05 +0000 (09:06 -0500)]
tests: fix typo in TestClsRbd.snapshots test case

Fixes: #13727
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6300 from XinzeChi/wip-throttle-max
Sage Weil [Mon, 9 Nov 2015 14:04:25 +0000 (09:04 -0500)]
Merge pull request #6300 from XinzeChi/wip-throttle-max

common: fix reset max in Throttle using perf reset command

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6364 from dillaman/wip-13491
Sage Weil [Mon, 9 Nov 2015 14:03:41 +0000 (09:03 -0500)]
Merge pull request #6364 from dillaman/wip-13491

osd: fix broken balance / localized read handling

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotracing: fix librados signed/unsigned warnings 6312/head
Sage Weil [Sun, 8 Nov 2015 14:32:44 +0000 (09:32 -0500)]
tracing: fix librados signed/unsigned warnings

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/osd: disable extra iterator validation
Piotr Dałek [Thu, 29 Oct 2015 14:16:29 +0000 (15:16 +0100)]
os/osd: disable extra iterator validation

In a number of loops using ObjectMapIterator, the iterator is validated
twice, first as an loop break condition, then during iter->next() call.
Suppress the validation in next() method in those cases for better
performance.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoos/KeyValueDB: don't call self.valid() from next() and prev()
Piotr Dałek [Mon, 19 Oct 2015 06:32:10 +0000 (08:32 +0200)]
os/KeyValueDB: don't call self.valid() from next() and prev()

In most loops using ObjectMapIteratorImpl, there is a call to valid()
followed by a call to next(), which calls valid() again. Calling
valid() alone is particularly expensive, so don't do it twice if
possible.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agomon/MonitorDBStore: use single-key LevelDB::get() method
Piotr Dałek [Fri, 23 Oct 2015 13:46:20 +0000 (15:46 +0200)]
mon/MonitorDBStore: use single-key LevelDB::get() method

Make MonitorDBStore use single-key ::get() method for some performance
increase in heavy K/V workloads.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoos/DBObjectMap: use single-key LevelDB::get method
Piotr Dałek [Fri, 23 Oct 2015 13:44:47 +0000 (15:44 +0200)]
os/DBObjectMap: use single-key LevelDB::get method

Make FileStore use single-key ::get() method for some performance
increase in k/v-heavy workloads.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agokv/LevelDBStore: simpler code for single-key fetches
Piotr Dałek [Fri, 23 Oct 2015 13:22:52 +0000 (15:22 +0200)]
kv/LevelDBStore: simpler code for single-key fetches

Often there's a need to fetch value for a specified, single key. Publish
a new method in LevelDB that takes key and prefix and puts just value at
specified address, without the need for interim keysets or resultsets.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoos/LevelDBStore: faster LevelDBTransactionImpl::set
Piotr Dałek [Tue, 20 Oct 2015 13:11:08 +0000 (15:11 +0200)]
os/LevelDBStore: faster LevelDBTransactionImpl::set

This patch builds on Sage's idea to reduce bufferlist copying on
::set() calls. Initial patch reduced LevelDB's Slice generation
time from ~57ns to ~5ns in best-case scenario (bufferlist with
single bufferptr or contiguous bufferptrs), this patch reduces
slice generation time from ~57ns to ~11ns in worst case scenario
(under assumption that entire value length is at most 128KB),
leaving old code path for extremely-bad cases.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agokv/RocksDBStore: do not Delete before Put
Sage Weil [Tue, 20 Oct 2015 12:49:57 +0000 (08:49 -0400)]
kv/RocksDBStore: do not Delete before Put

A put implicitly overwrites the previous value.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agokv/LevelDBStore: do not Delete before Put
Sage Weil [Tue, 20 Oct 2015 12:49:42 +0000 (08:49 -0400)]
kv/LevelDBStore: do not Delete before Put

A put implicitly overwrites the previous value.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/ReplicatedPG: use bl-based setkeys/rmkeys
Sage Weil [Mon, 19 Oct 2015 18:54:06 +0000 (14:54 -0400)]
osd/ReplicatedPG: use bl-based setkeys/rmkeys

FIXME: what about the tracepoint?

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6502 from dachary/wip-13691-rados-test
Kefu Chai [Mon, 9 Nov 2015 13:53:51 +0000 (21:53 +0800)]
Merge pull request #6502 from dachary/wip-13691-rados-test

tests: fix test_rados_tools.sh rados lookup

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6403 from xinxinsh/wip-13500
Jason Dillaman [Mon, 9 Nov 2015 13:33:22 +0000 (08:33 -0500)]
Merge pull request #6403 from xinxinsh/wip-13500

optimize clone write path if object-map is enabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6494 from trociny/wip-13720
Jason Dillaman [Mon, 9 Nov 2015 13:20:33 +0000 (08:20 -0500)]
Merge pull request #6494 from trociny/wip-13720

librbd: start perf counters after id is initialized

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: fix test_rados_tools.sh rados lookup 6502/head
Loic Dachary [Mon, 9 Nov 2015 11:57:11 +0000 (12:57 +0100)]
tests: fix test_rados_tools.sh rados lookup

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #6464 from dachary/wip-13691-rados-test
Kefu Chai [Mon, 9 Nov 2015 11:31:00 +0000 (19:31 +0800)]
Merge pull request #6464 from dachary/wip-13691-rados-test

tests: concatenate test_rados_test_tool from src and qa

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6497 from ukernel/wip-13714
John Spray [Mon, 9 Nov 2015 10:34:26 +0000 (10:34 +0000)]
Merge pull request #6497 from ukernel/wip-13714

client: use null snapc to check pool permission

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoclient: use null snapc to check pool permission 6497/head
Yan, Zheng [Mon, 9 Nov 2015 03:37:02 +0000 (11:37 +0800)]
client: use null snapc to check pool permission

snap inodes' ->snaprealm can be NULL, so dereferencing it in
check_pool_perm() can cause segment fault. The pool permission
check does not write any data, so it's safe to use null snapc.

Fixes: #13714
Signed-off-by: Yan, Zheng <zyan@redhat.com>
9 years agolibrbd: start perf counters after id is initialized 6494/head
Mykola Golub [Sat, 7 Nov 2015 19:49:56 +0000 (21:49 +0200)]
librbd: start perf counters after id is initialized

So the perf counters section name has non-empty id.

Fixes: #13720
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6228 from zhouyuan/fix_rgw_delete_exipre
Yehuda Sadeh [Fri, 6 Nov 2015 22:18:49 +0000 (14:18 -0800)]
Merge pull request #6228 from zhouyuan/fix_rgw_delete_exipre

rgw: fix response of delete expired objects

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6214 from jmunhoz/wip-bucket-request-payment
Yehuda Sadeh [Fri, 6 Nov 2015 22:16:41 +0000 (14:16 -0800)]
Merge pull request #6214 from jmunhoz/wip-bucket-request-payment

rgw: bucket request payment support

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5969 from rzarzynski/wip-conf-md-add
Yehuda Sadeh [Fri, 6 Nov 2015 21:58:05 +0000 (13:58 -0800)]
Merge pull request #5969 from rzarzynski/wip-conf-md-add

rgw: extend rgw_extended_http_attrs to affect Swift accounts and containers as well

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5938 from zhuangzeqiang/rgw-cerr
Yehuda Sadeh [Fri, 6 Nov 2015 21:48:43 +0000 (13:48 -0800)]
Merge pull request #5938 from zhuangzeqiang/rgw-cerr

rgw:  clarify the error message when trying to create an existed user

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6479 from ceph/wip-systemd-rbdmap
Sage Weil [Fri, 6 Nov 2015 21:24:26 +0000 (16:24 -0500)]
Merge pull request #6479 from ceph/wip-systemd-rbdmap

rbdmap: systemd support

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6467 from fullerdj/wip-13697
Jason Dillaman [Fri, 6 Nov 2015 19:39:58 +0000 (14:39 -0500)]
Merge pull request #6467 from fullerdj/wip-13697

cls_rbd: change object_map_update to return 0 on success, add logging

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6059 from dwj192/dwj-master-tip
Yehuda Sadeh [Fri, 6 Nov 2015 19:33:40 +0000 (11:33 -0800)]
Merge pull request #6059 from dwj192/dwj-master-tip

rgw:mdlog trim add usage prompt

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6408 from dwj192/swift-civetweb-ssl
Yehuda Sadeh [Fri, 6 Nov 2015 19:00:51 +0000 (11:00 -0800)]
Merge pull request #6408 from dwj192/swift-civetweb-ssl

rgw:swift use Civetweb ssl can not get right url

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agocls_rbd: change object_map_update to return 0 on success, add logging 6467/head
Douglas Fuller [Thu, 5 Nov 2015 00:58:12 +0000 (16:58 -0800)]
cls_rbd: change object_map_update to return 0 on success, add logging

The rbd_object_map_update class method returns the size of the data read
from the object map when no update is necessary. Change this to return 0
on success. Add error logging to differentiate error cases.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
9 years agoMerge pull request #6483 from ceph/wip-fix-doc-build
Kefu Chai [Fri, 6 Nov 2015 12:54:21 +0000 (20:54 +0800)]
Merge pull request #6483 from ceph/wip-fix-doc-build

doc/releases-notes: fix build error

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc/releases-notes: fix build error 6483/head
Kefu Chai [Fri, 6 Nov 2015 12:52:21 +0000 (20:52 +0800)]
doc/releases-notes: fix build error

also change the release year of infernalis from 2014 to 2015

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agorbdmap: systemd support 6479/head
Boris Ranto [Mon, 2 Nov 2015 13:07:47 +0000 (14:07 +0100)]
rbdmap: systemd support

Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #6476 from xiexingguo/xxg-wip-13703
Kefu Chai [Fri, 6 Nov 2015 08:35:51 +0000 (16:35 +0800)]
Merge pull request #6476 from xiexingguo/xxg-wip-13703

librados: wrongly passed in argument for stat command

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoceph.spec.in: add new cls_journal RADOS class 6034/head
Jason Dillaman [Fri, 6 Nov 2015 01:43:49 +0000 (20:43 -0500)]
ceph.spec.in: add new cls_journal RADOS class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: FutureImpl shouldn't hold lock while invoking callbacks
Jason Dillaman [Tue, 1 Sep 2015 00:31:14 +0000 (20:31 -0400)]
journal: FutureImpl shouldn't hold lock while invoking callbacks

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: journal updates to support C++11
Jason Dillaman [Thu, 20 Aug 2015 01:58:04 +0000 (21:58 -0400)]
tests: journal updates to support C++11

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: updates to support C++11
Jason Dillaman [Thu, 20 Aug 2015 01:57:41 +0000 (21:57 -0400)]
journal: updates to support C++11

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: journal test no longer explicitly shuts down crypto
Jason Dillaman [Thu, 20 Aug 2015 01:56:56 +0000 (21:56 -0400)]
tests: journal test no longer explicitly shuts down crypto

This is now automatically handled by CephContext.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: cleanup shutdown handling
Jason Dillaman [Fri, 14 Aug 2015 20:22:39 +0000 (16:22 -0400)]
journal: cleanup shutdown handling

Avoid the case where an intrusive_ptr could be created/destroyed
during shutdown due to resetting the journal header watch.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrados: don't provide an invalid watch handle on error
Jason Dillaman [Tue, 11 Aug 2015 18:38:59 +0000 (14:38 -0400)]
librados: don't provide an invalid watch handle on error

If the linger op was canceled due to an error, don't provide
the caller with the pointer to the invalidated linger op.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: fix race condition with unwatch on shutdown
Jason Dillaman [Thu, 30 Jul 2015 15:39:22 +0000 (11:39 -0400)]
journal: fix race condition with unwatch on shutdown

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrados_test_stub: assert that no AIO ops are outstanding on destruction
Jason Dillaman [Tue, 21 Jul 2015 17:32:44 +0000 (13:32 -0400)]
librados_test_stub: assert that no AIO ops are outstanding on destruction

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: updated journal tests to support new commit API
Jason Dillaman [Fri, 17 Jul 2015 15:29:54 +0000 (11:29 -0400)]
tests: updated journal tests to support new commit API

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: simplified commit position tracking
Jason Dillaman [Fri, 17 Jul 2015 15:26:54 +0000 (11:26 -0400)]
journal: simplified commit position tracking

Now the journal player and recorder will allocate a tid to represent
the associated journal entry.  The order of these allocations are
tracked so that the commit position can be moved only when all prior
commits are safely on disk.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocls_journal: EntryPositions is now represented as a list
Jason Dillaman [Fri, 17 Jul 2015 15:30:26 +0000 (11:30 -0400)]
cls_journal: EntryPositions is now represented as a list

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: fix journal test issues discovered via valgrind
Jason Dillaman [Thu, 16 Jul 2015 18:42:30 +0000 (14:42 -0400)]
tests: fix journal test issues discovered via valgrind

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: fix issues discovered via valgrind
Jason Dillaman [Thu, 16 Jul 2015 18:41:49 +0000 (14:41 -0400)]
journal: fix issues discovered via valgrind

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: update journal tests based on API changes
Jason Dillaman [Wed, 15 Jul 2015 23:31:38 +0000 (19:31 -0400)]
tests: update journal tests based on API changes

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: JournalPlayer::process_state should support positive result
Jason Dillaman [Wed, 15 Jul 2015 23:30:17 +0000 (19:30 -0400)]
journal: JournalPlayer::process_state should support positive result

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: add method to remove journal from disk
Jason Dillaman [Tue, 14 Jul 2015 18:12:40 +0000 (14:12 -0400)]
journal: add method to remove journal from disk

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: signal playback complete via finisher thread
Jason Dillaman [Tue, 14 Jul 2015 12:44:03 +0000 (08:44 -0400)]
journal: signal playback complete via finisher thread

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: complete flush context w/o holding locks
Jason Dillaman [Tue, 14 Jul 2015 12:43:35 +0000 (08:43 -0400)]
journal: complete flush context w/o holding locks

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: Journaler::stop_append should be async
Jason Dillaman [Tue, 14 Jul 2015 12:42:57 +0000 (08:42 -0400)]
journal: Journaler::stop_append should be async

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: avoid reentrant callbacks on Future
Jason Dillaman [Mon, 13 Jul 2015 21:59:33 +0000 (17:59 -0400)]
journal: avoid reentrant callbacks on Future

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: add default constructor to Payload
Jason Dillaman [Mon, 13 Jul 2015 19:31:29 +0000 (15:31 -0400)]
journal: add default constructor to Payload

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: new async flush method for whole journal
Jason Dillaman [Mon, 13 Jul 2015 19:25:37 +0000 (15:25 -0400)]
journal: new async flush method for whole journal

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: playback should notify when complete
Jason Dillaman [Mon, 13 Jul 2015 19:24:18 +0000 (15:24 -0400)]
journal: playback should notify when complete

When not performing a live-playback, the client should be
notified when there are no more records to read.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: add default constructor to Future
Jason Dillaman [Mon, 13 Jul 2015 16:58:21 +0000 (12:58 -0400)]
journal: add default constructor to Future

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: added additional callbacks for async ops
Jason Dillaman [Sat, 11 Jul 2015 02:56:27 +0000 (22:56 -0400)]
journal: added additional callbacks for async ops

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: cls_journal: get_immutable_metadata is now async
Jason Dillaman [Wed, 15 Jul 2015 14:21:30 +0000 (10:21 -0400)]
tests: cls_journal: get_immutable_metadata is now async

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocls_journal_client: get_immutable_metadata is now asynchronous
Jason Dillaman [Sat, 11 Jul 2015 02:55:48 +0000 (22:55 -0400)]
cls_journal_client: get_immutable_metadata is now asynchronous

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocls_journal: permit empty client id string
Jason Dillaman [Sat, 11 Jul 2015 02:55:21 +0000 (22:55 -0400)]
cls_journal: permit empty client id string

Signed-off-by: Jason Dillaman <dillaman@redhat.com>