]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodoc: dev add a note about ccache 14478/head
Abhishek Lekshmanan [Wed, 12 Apr 2017 13:08:00 +0000 (15:08 +0200)]
doc: dev add a note about ccache

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #12897 from renhwztetecs/renhw-wip-client-cleanup
John Spray [Wed, 22 Feb 2017 10:08:14 +0000 (10:08 +0000)]
Merge pull request #12897 from renhwztetecs/renhw-wip-client-cleanup

client: priority to verify the correctness of the "flag"

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13359 from jcsp/wip-logrotate-sshexception
John Spray [Wed, 22 Feb 2017 10:05:07 +0000 (10:05 +0000)]
Merge pull request #13359 from jcsp/wip-logrotate-sshexception

qa: handle SSHException in logrotate

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13429 from ukernel/wip-18941
John Spray [Wed, 22 Feb 2017 10:04:22 +0000 (10:04 +0000)]
Merge pull request #13429 from ukernel/wip-18941

test/libcephfs: avoid buffer overflow when testing ceph_getdents()

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13455 from ukernel/wip-18953
John Spray [Wed, 22 Feb 2017 09:50:56 +0000 (09:50 +0000)]
Merge pull request #13455 from ukernel/wip-18953

mds: ignore fs full check for CEPH_MDS_OP_SETFILELOCK

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13465 from jcsp/wip-mds-voidfn
John Spray [Wed, 22 Feb 2017 09:49:17 +0000 (09:49 +0000)]
Merge pull request #13465 from jcsp/wip-mds-voidfn

mds: replace C_VoidFn in MDSDaemon with lambdas

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13471 from batrick/fs-new-eexist
John Spray [Wed, 22 Feb 2017 09:48:36 +0000 (09:48 +0000)]
Merge pull request #13471 from batrick/fs-new-eexist

mon: detect existing fs and duplicate name earlier

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13572 from theanalyst/doc/changelog/v0.94.10
Abhishek L [Wed, 22 Feb 2017 09:27:54 +0000 (10:27 +0100)]
Merge pull request #13572 from theanalyst/doc/changelog/v0.94.10

doc: add changelog for v0.94.10

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13152 from smithfarm/wip-hammer-release-notes
Abhishek L [Wed, 22 Feb 2017 09:25:24 +0000 (10:25 +0100)]
Merge pull request #13152 from smithfarm/wip-hammer-release-notes

doc: hammer 0.94.10 release notes

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #13573 from dachary/wip-17821-revert
Loic Dachary [Wed, 22 Feb 2017 08:15:22 +0000 (09:15 +0100)]
Merge pull request #13573 from dachary/wip-17821-revert

ceph-disk: dmcrypt activate must use the same cluster as prepare

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoceph-disk: dmcrypt activate must use the same cluster as prepare 13573/head
Loic Dachary [Wed, 22 Feb 2017 00:49:12 +0000 (01:49 +0100)]
ceph-disk: dmcrypt activate must use the same cluster as prepare

When dmcrypt is used, the fsid cannot be retrieved from the data
partition because it is encrypted. Store the fsid in the lockbox to
enable dmcrypt activation using the same logic as regular activation.

The fsid is used to retrive the cluster name that was used during
prepare, reason why activation does not and must not have a --cluster
argument.

Fixes: http://tracker.ceph.com/issues/17821
Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #13515 from smithfarm/wip-17613
Nathan Cutler [Tue, 21 Feb 2017 23:13:20 +0000 (00:13 +0100)]
Merge pull request #13515 from smithfarm/wip-17613

rpm: build ceph-resource-agents by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agodoc: add changelog for v0.94.10 13572/head
Abhishek Lekshmanan [Tue, 21 Feb 2017 22:10:25 +0000 (23:10 +0100)]
doc: add changelog for v0.94.10

Generated as
```
$ git log tags/v0.94.9..tags/v0.94.10 --after="Tue Aug 30 11:33:36 2016 +0000"
```

in order to avoid the qa suite merge commits
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years agoRevert "ceph-disk: change get_dmcrypt_key test to support different cluster name"
Loic Dachary [Tue, 21 Feb 2017 22:48:34 +0000 (23:48 +0100)]
Revert "ceph-disk: change get_dmcrypt_key test to support different cluster name"

Merged by mistake, teuthology ceph-disk fails

This reverts commit 1c747473600a9a7f528ad71a889c35d85ac115b1.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoRevert "ceph-disk: Adding cluster name support for dmcrypt"
Loic Dachary [Tue, 21 Feb 2017 22:47:12 +0000 (23:47 +0100)]
Revert "ceph-disk: Adding cluster name support for dmcrypt"

Merged by mistake, teuthology ceph-disk fails

This reverts commit d98d4dbc2741295723f0a316b5bf81f07b140041.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12623 from LiumxNL/fix-boot-epoch
Yuri Weinstein [Tue, 21 Feb 2017 21:01:23 +0000 (13:01 -0800)]
Merge pull request #12623 from LiumxNL/fix-boot-epoch

osd: correct epoch setting of osd boot msg

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13418 from dreamhost/wip-18928
Yuri Weinstein [Tue, 21 Feb 2017 20:59:42 +0000 (12:59 -0800)]
Merge pull request #13418 from dreamhost/wip-18928

msg/async: support IPv6 QoS.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13530 from tangwenjun3/wip-tang-nvme
Yuri Weinstein [Tue, 21 Feb 2017 20:57:14 +0000 (12:57 -0800)]
Merge pull request #13530 from tangwenjun3/wip-tang-nvme

os/bluestore rm unused variable in aio_read()

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13536 from Liuchang0812/wip-add-override-in-rbd-headers
Jason Dillaman [Tue, 21 Feb 2017 16:51:50 +0000 (11:51 -0500)]
Merge pull request #13536 from Liuchang0812/wip-add-override-in-rbd-headers

librbd: add override keyword in header files

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13558 from ceph/wip-19016-remove-mon_osd_min_down_reports
Kefu Chai [Tue, 21 Feb 2017 15:40:59 +0000 (23:40 +0800)]
Merge pull request #13558 from ceph/wip-19016-remove-mon_osd_min_down_reports

doc: remove mentions about mon_osd_min_down_reports

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12295 from wjwithagen/wip-wjw-TEMP_FAILURE
Kefu Chai [Tue, 21 Feb 2017 15:39:52 +0000 (23:39 +0800)]
Merge pull request #12295 from wjwithagen/wip-wjw-TEMP_FAILURE

rgw/rgw_main.cc: fix parenteses and function result

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13291 from prallabh/obj_stat
Casey Bodley [Tue, 21 Feb 2017 14:19:09 +0000 (09:19 -0500)]
Merge pull request #13291 from prallabh/obj_stat

rgw: Let the object stat command be shown in the usage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agodoc: remove mentions about mon_osd_min_down_reports 13558/head
Barbora Ančincová [Tue, 21 Feb 2017 11:28:22 +0000 (12:28 +0100)]
doc: remove mentions about mon_osd_min_down_reports

Fixes: http://tracker.ceph.com/issues/19016
Signed-off-by: Bara Ancincova (bara@redhat.com)
8 years agoMerge pull request #13550 from tchaikov/wip-18968
Kefu Chai [Tue, 21 Feb 2017 09:22:42 +0000 (17:22 +0800)]
Merge pull request #13550 from tchaikov/wip-18968

mon/MonClient: persist global_id across re-connecting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agolibrbd: add override in header files 13536/head
liuchang0812 [Mon, 20 Feb 2017 14:23:47 +0000 (22:23 +0800)]
librbd: add override in header files

Fixes: http://tracker.ceph.com/issues/19012
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agorgw: Let the object stat command be shown in the usage 13291/head
root [Tue, 7 Feb 2017 09:07:36 +0000 (14:37 +0530)]
rgw: Let the object stat command be shown in the usage

Fixes: http://tracker.ceph.com/issues/19013
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
8 years agomon/MonClient: persist global_id across re-connecting 13550/head
Kefu Chai [Tue, 21 Feb 2017 04:01:10 +0000 (12:01 +0800)]
mon/MonClient: persist global_id across re-connecting

MonClient should re-use previously assigned global-id after
re-connecting. and should not have its global-id changed once it is
authenticated unless monitor thinks otherwise.

Fixes: http://tracker.ceph.com/issues/18968
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13346 from batrick/mds-doc-fix
John Spray [Mon, 20 Feb 2017 23:58:55 +0000 (23:58 +0000)]
Merge pull request #13346 from batrick/mds-doc-fix

doc: update to new ceph fs commands

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13529 from linuxbox2/wip-dir-orphan
Matt Benjamin [Mon, 20 Feb 2017 21:11:26 +0000 (16:11 -0500)]
Merge pull request #13529 from linuxbox2/wip-dir-orphan

rgw: wip dir orphan

8 years agorgw_file: fix marker computation 13529/head
Matt Benjamin [Mon, 20 Feb 2017 20:05:18 +0000 (15:05 -0500)]
rgw_file: fix marker computation

Fixes: http://tracker.ceph.com/issues/19018
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #13447 from dillaman/wip-13025
Mykola Golub [Mon, 20 Feb 2017 20:02:13 +0000 (22:02 +0200)]
Merge pull request #13447 from dillaman/wip-13025

librbd: scatter/gather support for the C API

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #13537 from liewegas/wip-19005
Ilya Dryomov [Mon, 20 Feb 2017 17:36:32 +0000 (18:36 +0100)]
Merge pull request #13537 from liewegas/wip-19005

messages/MOSDOp: fix pg_t decoding for version <7 decoding

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #13385 from zhangsw/feature-lifecycle-noncurrent
Daniel Gryniewicz [Mon, 20 Feb 2017 17:29:51 +0000 (12:29 -0500)]
Merge pull request #13385 from zhangsw/feature-lifecycle-noncurrent

rgw: add support for noncurrentversion expiration in s3 lifecycle.

8 years agoMerge pull request #13518 from tchaikov/wip-fix-pgp-num
Kefu Chai [Mon, 20 Feb 2017 16:46:26 +0000 (00:46 +0800)]
Merge pull request #13518 from tchaikov/wip-fix-pgp-num

test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12223 from cbodley/wip-rgw-meta-sync-yield
Yehuda Sadeh [Mon, 20 Feb 2017 16:30:11 +0000 (08:30 -0800)]
Merge pull request #12223 from cbodley/wip-rgw-meta-sync-yield

rgw: fix for broken yields in RGWMetaSyncShardCR

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13517 from liewegas/wip-kraken-x
Sage Weil [Mon, 20 Feb 2017 16:20:26 +0000 (10:20 -0600)]
Merge pull request #13517 from liewegas/wip-kraken-x

qa/suites/upgrade/kraken-x

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agoMerge pull request #13538 from Adirl/ENOMEM
Haomai Wang [Mon, 20 Feb 2017 14:57:21 +0000 (22:57 +0800)]
Merge pull request #13538 from Adirl/ENOMEM

msg/async/rdma: Print error only on ENOMEM

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13539 from Adirl/destructor
Haomai Wang [Mon, 20 Feb 2017 14:56:32 +0000 (22:56 +0800)]
Merge pull request #13539 from Adirl/destructor

msg/async/rdma: update destructor message

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: update destructor message 13539/head
Sarit Zubakov [Mon, 20 Feb 2017 09:52:33 +0000 (09:52 +0000)]
msg/async/rdma: update destructor message

issue:939258

Change-Id: Ib00bb5661a0e80fb258babb63d23458daa8b7025
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
8 years agomsg/async/rdma: Print error only on ENOMEM 13538/head
Sarit Zubakov [Mon, 20 Feb 2017 13:24:16 +0000 (13:24 +0000)]
msg/async/rdma: Print error only on ENOMEM

issue: 931114

Change-Id: I1e1710245c2c056bd2b8cccae9d96676a8f49678
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
8 years agomessages/MOSDOp: fix pg_t decoding for version <7 decoding 13537/head
Sage Weil [Mon, 20 Feb 2017 14:29:11 +0000 (09:29 -0500)]
messages/MOSDOp: fix pg_t decoding for version <7 decoding

This was broken by f6e219a4df8553336839bb914733a78090561ec8

Fixes: http://tracker.ceph.com/issues/19005
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13065 from ceph/wip-fuse-client-config-edits
John Spray [Mon, 20 Feb 2017 13:34:04 +0000 (13:34 +0000)]
Merge pull request #13065 from ceph/wip-fuse-client-config-edits

doc: minor changes in fuse client config reference

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agolibrbd: new rbd_aio_readv/rbd_aio_writev API methods 13447/head
Jason Dillaman [Thu, 10 Sep 2015 16:38:33 +0000 (12:38 -0400)]
librbd: new rbd_aio_readv/rbd_aio_writev API methods

The RBD C API now has scatter/gather IO support via the API. The C++
API uses bufferlists which can also support scatter/gather IO.

Fixes: http://tracker.ceph.com/issues/13025
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: ReadResult helper class for reassembling partial reads
Jason Dillaman [Wed, 15 Feb 2017 21:50:09 +0000 (16:50 -0500)]
librbd: ReadResult helper class for reassembling partial reads

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: move IO-related classes to new io namespace
Jason Dillaman [Wed, 15 Feb 2017 20:38:39 +0000 (15:38 -0500)]
librbd: move IO-related classes to new io namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13528 from yuyuyu101/wip-fix-rdma-fd
Haomai Wang [Mon, 20 Feb 2017 08:21:39 +0000 (16:21 +0800)]
Merge pull request #13528 from yuyuyu101/wip-fix-rdma-fd

msg/async/rdma: don't need to delete event when tcp connection isn't …

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoos/bluestore rm unused variable in aio_read() 13530/head
tangwenjun [Mon, 20 Feb 2017 06:11:27 +0000 (14:11 +0800)]
os/bluestore rm unused variable in aio_read()

Signed-off-by: tangwenjun <tang.wenjun3@zte.com.cn>
8 years agoMerge pull request #13468 from vumrao/wip-vumrao-18932
Kefu Chai [Mon, 20 Feb 2017 03:06:06 +0000 (11:06 +0800)]
Merge pull request #13468 from vumrao/wip-vumrao-18932

auth: 'ceph auth import -i' overwrites caps, if caps are not specified

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13267 from yuyuyu101/wip-fix-lock
Kefu Chai [Mon, 20 Feb 2017 03:02:30 +0000 (11:02 +0800)]
Merge pull request #13267 from yuyuyu101/wip-fix-lock

msg/simple: fix missing unlock when already bind

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10125 from stiopaa1/msg_asyncmess_changeReturnTypeIntToVoid
Kefu Chai [Mon, 20 Feb 2017 03:00:42 +0000 (11:00 +0800)]
Merge pull request #10125 from stiopaa1/msg_asyncmess_changeReturnTypeIntToVoid

msg/AsyncMessenger: remove unused method

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13339 from wjwithagen/wip-wjw-include-ceph_features
Kefu Chai [Mon, 20 Feb 2017 02:58:53 +0000 (10:58 +0800)]
Merge pull request #13339 from wjwithagen/wip-wjw-include-ceph_features

common: include/ceph_features.h uses uint64_t, which is in sys/types.h

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw_file: rgw_readdir can't list multi-segment dirs
Matt Benjamin [Mon, 20 Feb 2017 01:34:31 +0000 (20:34 -0500)]
rgw_file: rgw_readdir can't list multi-segment dirs

This issue has one root cause in librgw, namely that the marker
argument to these requests was incorrectly formatted (though the
marker cache was working as intended).

Secondarily, for nfs-ganesha users, there is a compounding issue
that the RGW fsal was required by "temporary" convention to
populate the entire dirent cache for a directory on a single
readdir() invocation--the cache_inode/mdcache implementations
invariantly pass (before future 2.5 changesets, currently in
progress) a null pointer for the start cookie offset, intended
to convey this.

Fixes: http://tracker.ceph.com/issues/18991
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: allow setattr on placeholder directories
Matt Benjamin [Sun, 19 Feb 2017 23:21:06 +0000 (18:21 -0500)]
rgw_file: allow setattr on placeholder directories

When a POSIX path <bucket>/foo/ is known only as an implicit path
segment from other objects (e.g., <bucket>/foo/bar.txt), a case
that would usually arise from S3 upload of such an object, an
RGWFileHandle object representing "<bucket>/foo/" will be constructed
as needed, with no backing in RGW.

This is by design, but subsequently, if a setattr is performed on
such a handle, we must be ready to create the object inline with
storing the attributes.

Fixes: http://tracker.ceph.com/issues/18989
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: invalid use of RGWFileHandle::FLAG_EXACT_MATCH
Matt Benjamin [Sun, 19 Feb 2017 22:43:17 +0000 (17:43 -0500)]
rgw_file: invalid use of RGWFileHandle::FLAG_EXACT_MATCH

The change which introduced this flag also caused it to be
given as the flags argument to RGWLibFS::stat_leaf() when called
from rgw_lookup().

This was incorrect:  in particular, when a directory is known only
as a common prefix of other objects, the AWS namespace mapping
convention requires lookup("foo") to match a non-materialized
instance of "foo/" (case 2 in RGWLibFS::stat_leaf's stat loop).

Fixes: http://tracker.ceph.com/issues/18992
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agomsg/async/rdma: don't need to delete event when tcp connection isn't built 13528/head
Haomai Wang [Mon, 20 Feb 2017 01:13:05 +0000 (09:13 +0800)]
msg/async/rdma: don't need to delete event when tcp connection isn't built

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoauth: 'ceph auth import -i' overwrites caps, if caps are not specified 13468/head
Vikhyat Umrao [Thu, 16 Feb 2017 18:21:11 +0000 (23:51 +0530)]
auth: 'ceph auth import -i' overwrites caps, if caps are not specified
in given keyring file, should alert user and should not allow this import.
Because in 'ceph auth list' we keep all the keyrings with caps and importing
'client.admin' user keyring without caps locks the cluster with error[1]
because admin keyring caps are missing in 'ceph auth'.

[1] Error connecting to cluster: PermissionDeniedError

Fixes: http://tracker.ceph.com/issues/18932
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
8 years agoMerge pull request #13519 from smithfarm/wip-drop-boost-devel
Kefu Chai [Sun, 19 Feb 2017 18:13:29 +0000 (02:13 +0800)]
Merge pull request #13519 from smithfarm/wip-drop-boost-devel

rpm: drop boost build dependencies

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13524 from tchaikov/wip-debian-drop-boost-builddeps
Kefu Chai [Sun, 19 Feb 2017 17:59:24 +0000 (01:59 +0800)]
Merge pull request #13524 from tchaikov/wip-debian-drop-boost-builddeps

debian: drop boost build dependencies

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #10487 from yangdongsheng/rbd_export
Jason Dillaman [Sun, 19 Feb 2017 17:18:04 +0000 (12:18 -0500)]
Merge pull request #10487 from yangdongsheng/rbd_export

rbd: introduce v2 format for rbd export/import

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd: import/export/mergediff: use STD[IN|OUT]_FILENO instead of 0 or 1 10487/head
Dongsheng Yang [Thu, 3 Nov 2016 10:47:11 +0000 (06:47 -0400)]
rbd: import/export/mergediff: use STD[IN|OUT]_FILENO instead of 0 or 1

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: import: use read() instead of lseek() when from_stdin is true
Dongsheng Yang [Thu, 3 Nov 2016 06:34:10 +0000 (02:34 -0400)]
rbd: import: use read() instead of lseek() when from_stdin is true

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: add docs for new format of rbd export.
Dongsheng Yang [Wed, 2 Nov 2016 10:17:06 +0000 (06:17 -0400)]
rbd: add docs for new format of rbd export.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: combine the namespaces of export_diff and export_full, import_diff and import.
Dongsheng Yang [Wed, 2 Nov 2016 08:37:32 +0000 (04:37 -0400)]
rbd: combine the namespaces of export_diff and export_full, import_diff and import.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: import: decode file data in le64 for compatability on different platform
Dongsheng Yang [Thu, 3 Nov 2016 11:07:20 +0000 (07:07 -0400)]
rbd: import: decode file data in le64 for compatability on different platform

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: import_diff/export_diff: encode length for each tag.
Dongsheng Yang [Wed, 2 Nov 2016 08:30:00 +0000 (04:30 -0400)]
rbd: import_diff/export_diff: encode length for each tag.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: refactor export/import to v1 and v2 methods.
Dongsheng Yang [Thu, 20 Oct 2016 12:07:31 +0000 (08:07 -0400)]
rbd: refactor export/import to v1 and v2 methods.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: use the unified --export-format option for rbd export and rbd import
Dongsheng Yang [Thu, 20 Oct 2016 11:41:26 +0000 (07:41 -0400)]
rbd: use the unified --export-format option for rbd export and rbd import

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agoqa/workunit/rbd: import_export.sh: add image priorities exporting and importing test...
Dongsheng Yang [Fri, 14 Oct 2016 03:18:03 +0000 (23:18 -0400)]
qa/workunit/rbd: import_export.sh: add image priorities exporting and importing test cases.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: import/export image stripe_unit and stripe_count.
Dongsheng Yang [Fri, 14 Oct 2016 02:38:30 +0000 (22:38 -0400)]
rbd: import/export image stripe_unit and stripe_count.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: import/export features of image
Dongsheng Yang [Fri, 14 Oct 2016 02:15:27 +0000 (22:15 -0400)]
rbd: import/export features of image

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: import/export image_order.
Dongsheng Yang [Thu, 13 Oct 2016 11:00:33 +0000 (07:00 -0400)]
rbd: import/export image_order.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agoqa/workunit/rbd: add test case for --import/export-format in import_export.sh
Dongsheng Yang [Fri, 29 Jul 2016 04:19:54 +0000 (00:19 -0400)]
qa/workunit/rbd: add test case for --import/export-format in import_export.sh

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: introduce --export-format to export command
Dongsheng Yang [Thu, 28 Jul 2016 12:11:08 +0000 (08:11 -0400)]
rbd: introduce --export-format to export command

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: introduce --import-format to import command
Dongsheng Yang [Thu, 28 Jul 2016 11:06:44 +0000 (07:06 -0400)]
rbd: introduce --import-format to import command

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: refactor do_import_diff to accept fd.
Dongsheng Yang [Tue, 11 Oct 2016 11:18:07 +0000 (07:18 -0400)]
rbd: refactor do_import_diff to accept fd.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: refactor do_export_diff to accept fd
Dongsheng Yang [Tue, 11 Oct 2016 11:02:02 +0000 (07:02 -0400)]
rbd: refactor do_export_diff to accept fd

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: move do_import_diff out from namespace of import_diff
Dongsheng Yang [Tue, 11 Oct 2016 10:54:14 +0000 (06:54 -0400)]
rbd: move do_import_diff out from namespace of import_diff

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: move do_export_diff out from namespace of export_diff.
Dongsheng Yang [Tue, 11 Oct 2016 10:30:45 +0000 (06:30 -0400)]
rbd: move do_export_diff out from namespace of export_diff.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: squash ImportDiff.cc into Import.cc.
Dongsheng Yang [Tue, 11 Oct 2016 09:15:02 +0000 (05:15 -0400)]
rbd: squash ImportDiff.cc into Import.cc.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: squash ExportDiff.cc into Export.cc
Dongsheng Yang [Tue, 11 Oct 2016 08:23:51 +0000 (04:23 -0400)]
rbd: squash ExportDiff.cc into Export.cc

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: use macro for rbd diff tags
Dongsheng Yang [Wed, 6 Jul 2016 09:24:57 +0000 (05:24 -0400)]
rbd: use macro for rbd diff tags

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: finish the pc in importing even if from_stdin.
Dongsheng Yang [Fri, 29 Jul 2016 02:24:54 +0000 (22:24 -0400)]
rbd: finish the pc in importing even if from_stdin.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd: remove image in error handling of importing
Dongsheng Yang [Thu, 28 Jul 2016 22:05:11 +0000 (18:05 -0400)]
rbd: remove image in error handling of importing

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agorbd/Import: fix the indent of labels
Dongsheng Yang [Thu, 28 Jul 2016 12:25:22 +0000 (08:25 -0400)]
rbd/Import: fix the indent of labels

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agodebian: drop boost build dependencies 13524/head
Kefu Chai [Sun, 19 Feb 2017 12:04:40 +0000 (20:04 +0800)]
debian: drop boost build dependencies

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorpm: drop boost build dependencies 13519/head
Nathan Cutler [Sun, 19 Feb 2017 08:24:04 +0000 (09:24 +0100)]
rpm: drop boost build dependencies

The boost library is now a submodule.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotest: Thrasher: do not update pools_to_fix_pgp_num if nothing happens 13518/head
Kefu Chai [Sun, 19 Feb 2017 05:10:44 +0000 (13:10 +0800)]
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens

we should not update pools_to_fix_pgp_num if the pool is not expanded or
the pg_num is not increased due to pgs being created. this prevent us
from fixing the pgp_num after done with thrashing if we actually did
nothing when fixing the pgp_num when thrashing, but we removed the pool
from pools_to_fix_pgp_num after set_pool_pgpnum() returns.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade/kraken-x: test bluestore and filestore 13517/head
Sage Weil [Fri, 17 Feb 2017 22:20:28 +0000 (17:20 -0500)]
qa/suites/upgrade/kraken-x: test bluestore and filestore

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph.py: fix timing of wait-for-* and osd markdown
Sage Weil [Fri, 17 Feb 2017 22:17:18 +0000 (17:17 -0500)]
qa/tasks/ceph.py: fix timing of wait-for-* and osd markdown

Mark down osds, *then* wait for them to come up or for the cluster to be
healthy!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/kraken-x: Initial checkin
Yuri Weinstein [Fri, 17 Feb 2017 20:14:33 +0000 (15:14 -0500)]
qa/suites/upgrade/kraken-x: Initial checkin

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoMerge pull request #13207 from liewegas/wip-mapping
Sage Weil [Sat, 18 Feb 2017 18:58:05 +0000 (12:58 -0600)]
Merge pull request #13207 from liewegas/wip-mapping

mon: restructure prime_pg_temp around a full pg mapping calculated on multiple CPUs

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13420 from liewegas/wip-18929
Sage Weil [Sat, 18 Feb 2017 18:57:00 +0000 (12:57 -0600)]
Merge pull request #13420 from liewegas/wip-18929

osd/PG: restrict want_acting to up+acting on recovery completion

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #13479 from LiumxNL/fix-monc-rand
Sage Weil [Sat, 18 Feb 2017 18:38:29 +0000 (12:38 -0600)]
Merge pull request #13479 from LiumxNL/fix-monc-rand

mon/MonClient: random all ranks then pick first_n

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13482 from idryomov/wip-qa-krbd-data-pool
Jason Dillaman [Sat, 18 Feb 2017 14:00:59 +0000 (09:00 -0500)]
Merge pull request #13482 from idryomov/wip-qa-krbd-data-pool

qa: add workunit to test krbd data-pool support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agomon/MonClient: random all ranks then pick first_n 13479/head
Mingxin Liu [Fri, 17 Feb 2017 10:25:05 +0000 (18:25 +0800)]
mon/MonClient: random all ranks then pick first_n

Signed-off-by: Mingxin Liu <mingxin@xsky.com>
8 years agorpm: build ceph-resource-agents by default 13515/head
Nathan Cutler [Sat, 18 Feb 2017 13:33:25 +0000 (14:33 +0100)]
rpm: build ceph-resource-agents by default

To align with debian build

Fixes: http://tracker.ceph.com/issues/17613
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13493 from liewegas/wip-log-split-index
Kefu Chai [Sat, 18 Feb 2017 10:31:24 +0000 (18:31 +0800)]
Merge pull request #13493 from liewegas/wip-log-split-index

osd/PGLog: fix index for parent and child log on split

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13458 from tchaikov/wip-silence-gcc-warnings
Kefu Chai [Sat, 18 Feb 2017 10:24:46 +0000 (18:24 +0800)]
Merge pull request #13458 from tchaikov/wip-silence-gcc-warnings

include/denc, kv: silence gcc warnings

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13462 from tanghaodong25/reweight-by-pg
Kefu Chai [Sat, 18 Feb 2017 10:23:55 +0000 (18:23 +0800)]
Merge pull request #13462 from tanghaodong25/reweight-by-pg

mon/OSDMonitor: some cleanup for reweight-by-pg

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13473 from tchaikov/wip-coverity-fixes
Kefu Chai [Sat, 18 Feb 2017 10:22:47 +0000 (18:22 +0800)]
Merge pull request #13473 from tchaikov/wip-coverity-fixes

msg, messages: coverity fixes

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