]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agocommon: remove already included header files 19390/head
Yao Zongyou [Fri, 8 Dec 2017 03:47:05 +0000 (11:47 +0800)]
common: remove already included header files

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agorgw: remove already included header files
Yao Zongyou [Fri, 8 Dec 2017 03:43:59 +0000 (11:43 +0800)]
rgw: remove already included header files

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoMerge pull request #18752 from liewegas/wip-peering-queue
Sage Weil [Fri, 8 Dec 2017 01:43:16 +0000 (19:43 -0600)]
Merge pull request #18752 from liewegas/wip-peering-queue

osd: put peering events in main sharded wq

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #19244 from ceph/wip-cd-volume
vasukulkarni [Thu, 7 Dec 2017 18:54:47 +0000 (10:54 -0800)]
Merge pull request #19244 from ceph/wip-cd-volume

qa/tasks: update ceph-deploy task to use newer ceph-volume syntax

7 years agoMerge pull request #19276 from tchaikov/wip-volume-key
Kefu Chai [Thu, 7 Dec 2017 15:31:10 +0000 (23:31 +0800)]
Merge pull request #19276 from tchaikov/wip-volume-key

ceph-volume: do not use --key during mkfs

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19381 from ceph/fix_cephvol_doc
Alfredo Deza [Thu, 7 Dec 2017 13:45:52 +0000 (08:45 -0500)]
Merge pull request #19381 from ceph/fix_cephvol_doc

ceph-volume/doc: add missing subcommand in examples

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: add missing subcommand in examples 19381/head
Guillaume Abrioux [Thu, 7 Dec 2017 13:12:48 +0000 (14:12 +0100)]
doc: add missing subcommand in examples

Add the missing 'lvm' subcommand in examples in the documentation of
ceph-volume.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #18276 from liewegas/wip-removed-snaps
Sage Weil [Thu, 7 Dec 2017 03:33:08 +0000 (21:33 -0600)]
Merge pull request #18276 from liewegas/wip-removed-snaps

mon,osd,osdc: refactor snap trimming (phase 1)

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #19364 from neha-ojha/wip-preserve-cbt
Josh Durgin [Thu, 7 Dec 2017 03:30:15 +0000 (19:30 -0800)]
Merge pull request #19364 from neha-ojha/wip-preserve-cbt

qa: preserve cbt task results

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa: preserve cbt task results 19364/head
Neha Ojha [Wed, 6 Dec 2017 21:23:44 +0000 (13:23 -0800)]
qa: preserve cbt task results

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #19188 from adamwg/awg/rbd-watchers-api
Jason Dillaman [Wed, 6 Dec 2017 20:20:13 +0000 (15:20 -0500)]
Merge pull request #19188 from adamwg/awg/rbd-watchers-api

librbd: Add a function to list image watchers

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19337 from trociny/wip-22306
Jason Dillaman [Wed, 6 Dec 2017 20:19:27 +0000 (15:19 -0500)]
Merge pull request #19337 from trociny/wip-22306

pybind/rbd: fix metadata functions error handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/tests: Add debug info when creating ceph volumes 19244/head
Vasu Kulkarni [Wed, 6 Dec 2017 20:13:40 +0000 (12:13 -0800)]
qa/tests: Add debug info when creating ceph volumes

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge pull request #18967 from shun-s/wip-rbd-cp-optimize
Jason Dillaman [Wed, 6 Dec 2017 19:50:53 +0000 (14:50 -0500)]
Merge pull request #18967 from shun-s/wip-rbd-cp-optimize

librbd: speed up sparse copy when object map is available

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19251 from MahatiC/eventtrace_librbd
Jason Dillaman [Wed, 6 Dec 2017 19:50:01 +0000 (14:50 -0500)]
Merge pull request #19251 from MahatiC/eventtrace_librbd

librbd: add eventtrace support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19280 from Songweibin/wip-parent-info
Jason Dillaman [Wed, 6 Dec 2017 19:48:54 +0000 (14:48 -0500)]
Merge pull request #19280 from Songweibin/wip-parent-info

rbd: add parent info when moving child into trash bin

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19315 from trociny/wip-fsx-ggate
Jason Dillaman [Wed, 6 Dec 2017 19:48:35 +0000 (14:48 -0500)]
Merge pull request #19315 from trociny/wip-fsx-ggate

test/librbd: rbd-ggate mode for fsx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #18791 into master
Patrick Donnelly [Wed, 6 Dec 2017 19:45:31 +0000 (11:45 -0800)]
Merge PR #18791 into master

* refs/pull/18791/head:
mds: bump protocol for snapshot changes
mds: force client to do snapflush
mds: check existance of snaps when rebuilding need_snapflush
mds: properly setup need_snapflush for flushsnap messages
mds: properly update CInode::first and CDentry first
mds: don't create snap inode during trans-authority rename
mds: trim non-auth snap dentry during cache rejoin
mds: detach unlinked inode's snaprealm from its parent
mds: fix CInode::find_snaprealm()
mds: fix snap dentry discover
mds: introduce MDSMap::get_mds_set_lower_bound()
mds: properly distinguish snaptable TABLE_OP_CREATE from TABLE_OP_UPDATE
mds: properly set reply buffer for table request 'agree' message
mds: make change to mds table after corresponding event get logged

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19351 from ceph/wip-rm22281
Andrew Schoen [Wed, 6 Dec 2017 17:15:02 +0000 (11:15 -0600)]
Merge pull request #19351 from ceph/wip-rm22281

ceph-volume rollback on failed OSD prepare/create

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19344 from tchaikov/wip-we-need-cxx11-and-more
Kefu Chai [Wed, 6 Dec 2017 14:11:17 +0000 (22:11 +0800)]
Merge pull request #19344 from tchaikov/wip-we-need-cxx11-and-more

cmake: bail out if GCC version is less than 5.1

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19343 from dillaman/wip-22321
Mykola Golub [Wed, 6 Dec 2017 10:17:43 +0000 (12:17 +0200)]
Merge pull request #19343 from dillaman/wip-22321

ceph-dencoder: moved RBD types outside of RGW preprocessor guard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19333 from amitkumar50/cov-osd-4
Xie Xingguo [Wed, 6 Dec 2017 07:33:12 +0000 (15:33 +0800)]
Merge pull request #19333 from amitkumar50/cov-osd-4

osd: Initializing start_offset,last_offset,offset

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #19334 from amitkumar50/cov-misc-13
Xie Xingguo [Wed, 6 Dec 2017 07:30:36 +0000 (15:30 +0800)]
Merge pull request #19334 from amitkumar50/cov-misc-13

test: Initializing ChunkReadOp members

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge PR #18849 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:57 +0000 (22:35 -0800)]
Merge PR #18849 into master

* refs/pull/18849/head:
mds:improve mds perf counters can statistics filesystem operations number and latency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #18941 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:52 +0000 (22:35 -0800)]
Merge PR #18941 into master

* refs/pull/18941/head:
discard the mdsload clear after prep_rebalance in case we want to export it for debugging
make sure that MDBalancer uses heartbeat info from the same epoch

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19089 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:48 +0000 (22:35 -0800)]
Merge PR #19089 into master

* refs/pull/19089/head:
client: xlist link dentries instead of set
client: cleanup Dentry definition

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19092 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:43 +0000 (22:35 -0800)]
Merge PR #19092 into master

* refs/pull/19092/head:
mds: remove useless check in Migrator::export_dir
mds: ignore export pin for unlinked directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19218 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:38 +0000 (22:35 -0800)]
Merge PR #19218 into master

* refs/pull/19218/head:
client: quit on failed remount during dentry invalidate test

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19224 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:33 +0000 (22:35 -0800)]
Merge PR #19224 into master

* refs/pull/19224/head:
mds: use find instead of count in CInode::get_dirfrag

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19237 into master
Patrick Donnelly [Wed, 6 Dec 2017 06:35:25 +0000 (22:35 -0800)]
Merge PR #19237 into master

* refs/pull/19237/head:
mds: get rid of the redundant code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19347 from ceph/wip-rm22326
Andrew Schoen [Tue, 5 Dec 2017 21:43:56 +0000 (15:43 -0600)]
Merge pull request #19347 from ceph/wip-rm22326

ceph-volume: warn on missing ceph.conf file

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume lvm.create rollback osd creation when prepare or activate fails 19351/head
Alfredo Deza [Tue, 5 Dec 2017 20:31:55 +0000 (15:31 -0500)]
ceph-volume lvm.create rollback osd creation when prepare or activate fails

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.create fallback to bluestore when objectstore is not specified
Alfredo Deza [Tue, 5 Dec 2017 15:22:05 +0000 (10:22 -0500)]
ceph-volume lvm.create fallback to bluestore when objectstore is not specified

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare fallback to bluestore when objectstore is not specified
Alfredo Deza [Tue, 5 Dec 2017 15:21:20 +0000 (10:21 -0500)]
ceph-volume lvm.prepare fallback to bluestore when objectstore is not specified

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated
Alfredo Deza [Tue, 5 Dec 2017 15:11:03 +0000 (10:11 -0500)]
ceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare...
Alfredo Deza [Tue, 5 Dec 2017 15:08:35 +0000 (10:08 -0500)]
ceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare/create calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agopybind/rbd: raise KeyError when metadata does not exist 19337/head
Mykola Golub [Tue, 5 Dec 2017 13:48:58 +0000 (15:48 +0200)]
pybind/rbd: raise KeyError when metadata does not exist

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoceph-volume test logging ignored ceph.conf file 19347/head
Alfredo Deza [Tue, 5 Dec 2017 18:59:22 +0000 (13:59 -0500)]
ceph-volume test logging ignored ceph.conf file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume main warn on inability to load ceph.conf, don't raise
Alfredo Deza [Tue, 5 Dec 2017 18:58:53 +0000 (13:58 -0500)]
ceph-volume main warn on inability to load ceph.conf, don't raise

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agotest: Initializing ChunkReadOp members 19334/head
amitkuma [Tue, 5 Dec 2017 15:38:53 +0000 (21:08 +0530)]
test: Initializing ChunkReadOp members

Fixes the coverity issue:
2. uninit_member: Non-static class member offset is not
initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member length is not
initialized in this constructor nor in any functions that it calls.

CID 1424433 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member tgt_offset is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agoosd: Initializing start_offset,last_offset,offset 19333/head
amitkuma [Tue, 5 Dec 2017 15:31:52 +0000 (21:01 +0530)]
osd: Initializing start_offset,last_offset,offset

Fixes the coverity issues:

2. uninit_member: Non-static class member start_offset
is not initialized in this constructor nor in any functions
that it calls.

CID 1424396 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member last_offset is not
initialized in this constructor nor in any functions that it calls.

CID 1424658 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member offset is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
7 years agocmake: bail out if GCC version is less than 5.1 19344/head
Kefu Chai [Tue, 5 Dec 2017 14:59:48 +0000 (22:59 +0800)]
cmake: bail out if GCC version is less than 5.1

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-dencoder: moved RBD types outside of RGW preprocessor guard 19343/head
Jason Dillaman [Tue, 5 Dec 2017 14:58:04 +0000 (09:58 -0500)]
ceph-dencoder: moved RBD types outside of RGW preprocessor guard

Fixes: http://tracker.ceph.com/issues/22321
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agopybind/rbd: fix metadata functions error handling
Mykola Golub [Tue, 5 Dec 2017 13:48:23 +0000 (15:48 +0200)]
pybind/rbd: fix metadata functions error handling

Fixes: http://tracker.ceph.com/issues/22306
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19101 from ifed01/wip-ifed-extending-fio
Igor Fedotov [Tue, 5 Dec 2017 13:41:19 +0000 (14:41 +0100)]
Merge pull request #19101 from ifed01/wip-ifed-extending-fio

test/fio: extend fio objectstore plugin to better simulate OSD behavior

7 years agoMerge pull request #18863 from tchaikov/wip-devtoolset-7
Kefu Chai [Tue, 5 Dec 2017 13:27:42 +0000 (21:27 +0800)]
Merge pull request #18863 from tchaikov/wip-devtoolset-7

build/ops: use devtoolset-7 on centos/rhel-7

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18812 from tchaikov/wip-pybind-rados-service-api
Kefu Chai [Tue, 5 Dec 2017 12:33:58 +0000 (20:33 +0800)]
Merge pull request #18812 from tchaikov/wip-pybind-rados-service-api

pybind/rados: add rados_service_*()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
Kefu Chai [Tue, 5 Dec 2017 12:31:58 +0000 (20:31 +0800)]
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty

qa,doc: drop support of ubuntu trusty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorbd: comment/msg cleanup 19280/head
songweibin [Tue, 5 Dec 2017 04:14:21 +0000 (12:14 +0800)]
rbd: comment/msg cleanup

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorbd: list parent info with "--long" when image child is in trash
songweibin [Tue, 5 Dec 2017 01:53:31 +0000 (09:53 +0800)]
rbd: list parent info with "--long" when image child is in trash

We can get child's parent information even it's in
trash bin if "--long" flag is specified.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agomds: bump protocol for snapshot changes 18791/head
Yan, Zheng [Mon, 4 Dec 2017 03:32:42 +0000 (11:32 +0800)]
mds: bump protocol for snapshot changes

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: force client to do snapflush
Yan, Zheng [Wed, 23 Aug 2017 11:37:54 +0000 (19:37 +0800)]
mds: force client to do snapflush

Snap inodes that are waiting for flush are auth pinned, they affect
subtree/dirfrag frozen. Force client to do snapflush after waiting
for a period of time.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: check existance of snaps when rebuilding need_snapflush
Yan, Zheng [Wed, 23 Aug 2017 10:07:19 +0000 (18:07 +0800)]
mds: check existance of snaps when rebuilding need_snapflush

do nothing if there is no snap

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: properly setup need_snapflush for flushsnap messages
Yan, Zheng [Thu, 17 Aug 2017 06:28:16 +0000 (14:28 +0800)]
mds: properly setup need_snapflush for flushsnap messages

When processing a cap flush message that is re-sent, it's possble
that the sender has already released all WR caps. So can't rely on
CEPH_CAP_ANY_WR check in MDCache:cow_inode().

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: properly update CInode::first and CDentry first
Yan, Zheng [Wed, 26 Jul 2017 02:07:17 +0000 (10:07 +0800)]
mds: properly update CInode::first and CDentry first

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoinstall-deps.sh: use gcc-7 on trusty 18863/head
Kefu Chai [Sun, 12 Nov 2017 05:07:35 +0000 (13:07 +0800)]
install-deps.sh: use gcc-7 on trusty

* always install gcc-7 on trusty
* point g++ to g++-7 if not yet

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph.spec: use devtoolset-7-gcc-c++ on centos/rhel
Kefu Chai [Fri, 10 Nov 2017 12:05:49 +0000 (20:05 +0800)]
ceph.spec: use devtoolset-7-gcc-c++ on centos/rhel

for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: always use yum-config-manager for consistency
Kefu Chai [Fri, 10 Nov 2017 12:03:25 +0000 (20:03 +0800)]
install-deps.sh: always use yum-config-manager for consistency

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: install devtoolset-7 for centos/rhel
Kefu Chai [Fri, 10 Nov 2017 01:32:13 +0000 (09:32 +0800)]
install-deps.sh: install devtoolset-7 for centos/rhel

ready them for gcc7 and libstdc++-7 for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19324 from neha-ojha/wip-fix-collectl
Josh Durgin [Tue, 5 Dec 2017 01:33:43 +0000 (17:33 -0800)]
Merge pull request #19324 from neha-ojha/wip-fix-collectl

qa: install collectl with cbt task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19325 from ceph/wip-ceph-disk-man-fix
Alfredo Deza [Tue, 5 Dec 2017 00:43:36 +0000 (19:43 -0500)]
Merge pull request #19325 from ceph/wip-ceph-disk-man-fix

doc/man remove deprecation of ceph-disk man page title

Reviewed-by: Brad Hubbard
7 years agoclient: quit on failed remount during dentry invalidate test 19218/head
Patrick Donnelly [Tue, 28 Nov 2017 23:01:32 +0000 (15:01 -0800)]
client: quit on failed remount during dentry invalidate test

Fixes: http://tracker.ceph.com/issues/22269
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoclient: xlist link dentries instead of set 19089/head
Patrick Donnelly [Tue, 21 Nov 2017 16:49:51 +0000 (08:49 -0800)]
client: xlist link dentries instead of set

This saves space and avoids unnecessary set logic. In particular, we no longer
need to do a heap allocation for each Dentry * in the std::set.

Before:

(gdb) print sizeof(Inode)
$1 = 1336
(gdb) print sizeof(Inode::dn_set)
$2 = 48

After:

(gdb) print sizeof(Inode)
$1 = 1360
(gdb) print sizeof(Inode::dentries)
$2 = 24

I'm not sure why the Inode size increased when the member size decreased (weird
padding by g++)? Anyway, we still get the benefit of no heap allocations for
the Dentry *s.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc/man remove deprecation of ceph-disk man page title 19325/head
Alfredo Deza [Mon, 4 Dec 2017 22:01:33 +0000 (17:01 -0500)]
doc/man remove deprecation of ceph-disk man page title

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa: install collectl with cbt task 19324/head
Neha Ojha [Mon, 4 Dec 2017 21:50:33 +0000 (13:50 -0800)]
qa: install collectl with cbt task

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd/PGBackend: remove unused on_flushed() 18752/head
Sage Weil [Mon, 4 Dec 2017 16:57:58 +0000 (10:57 -0600)]
osd/PGBackend: remove unused on_flushed()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: teach mclock about peering_event
Sage Weil [Thu, 30 Nov 2017 15:19:37 +0000 (09:19 -0600)]
osd: teach mclock about peering_event

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: wait for pgs to catch up in handle_osd_map
Sage Weil [Sun, 5 Nov 2017 16:44:57 +0000 (10:44 -0600)]
osd: wait for pgs to catch up in handle_osd_map

Make sure we don't inject maps too far out in front of the PGs ability
to consume them.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: keep maps pinned in cache that pgs haven't consumed yet
Sage Weil [Wed, 29 Nov 2017 19:39:59 +0000 (13:39 -0600)]
osd: keep maps pinned in cache that pgs haven't consumed yet

This ensures that we do not drop maps from the map cache that PGs
are still trying to consume.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: remove obsolete osd_map_max_advance option
Sage Weil [Wed, 29 Nov 2017 19:43:06 +0000 (13:43 -0600)]
osd: remove obsolete osd_map_max_advance option

We now always advance to the latest map epoch at once.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: be a bit more pedantic about pg epoch
Sage Weil [Wed, 29 Nov 2017 21:05:16 +0000 (15:05 -0600)]
osd: be a bit more pedantic about pg epoch

Make sure PG has activated it before we mark it fully consumed.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: drop max behavior, return value in advance_pg
Sage Weil [Sun, 5 Nov 2017 21:17:04 +0000 (15:17 -0600)]
osd: drop max behavior, return value in advance_pg

This is no longer needed/used.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: remove old peering work queue
Sage Weil [Sun, 5 Nov 2017 17:08:40 +0000 (11:08 -0600)]
osd: remove old peering work queue

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agounittest_workqueue: use different option
Sage Weil [Tue, 28 Nov 2017 18:39:05 +0000 (12:39 -0600)]
unittest_workqueue: use different option

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: change peering wq "drain" while not active
Sage Weil [Sun, 5 Nov 2017 17:02:22 +0000 (11:02 -0600)]
osd: change peering wq "drain" while not active

Use the min epoch helpers instead of explicitly draining the work
queue to make sure that app PGs have processed the new maps.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: move peering events into primary work queue
Sage Weil [Sun, 5 Nov 2017 16:53:17 +0000 (10:53 -0600)]
osd: move peering events into primary work queue

For the moment we leave the old infratructure in place too; that will be
cleaned up next.

Two key differences:

- each pg event is processed in isolation, which means MOSDPGNotify etc
messages won't be batched.  This will mean more messages for small clusters
and no change for large clusters.
- the map processing for PGs will be done in completion by a single event.
There is now a wait in handle_osd_map to ensure that all PGs are processing
maps that overlap with the map cache.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agotest/librbd: rbd-ggate mode for fsx 19315/head
Mykola Golub [Mon, 4 Dec 2017 08:51:43 +0000 (08:51 +0000)]
test/librbd: rbd-ggate mode for fsx

Right now it works only in lite mode due to ggate kernel driver
does not support resize. Also all operations should be block size
alligned, thus -r and -w options should be properly set.

Example:

  ceph_test_librbd_fsx -G -L -r 512 -w 512 -Z -d -N 1024 rbd test

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agotest/librbd: enable fsx lite mode support
Mykola Golub [Sun, 3 Dec 2017 21:32:27 +0000 (21:32 +0000)]
test/librbd: enable fsx lite mode support

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19241 from ceph/wip-doc-deprecate-cdisk
Andrew Schoen [Mon, 4 Dec 2017 16:37:46 +0000 (10:37 -0600)]
Merge pull request #19241 from ceph/wip-doc-deprecate-cdisk

doc: update references to use ceph-volume

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19321 from ceph/wip-rm22305
Andrew Schoen [Mon, 4 Dec 2017 15:48:36 +0000 (09:48 -0600)]
Merge pull request #19321 from ceph/wip-rm22305

ceph-volume should be able to handle multiple LVM (VG/LV) tags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19319 from ceph/wip-rm22297
Andrew Schoen [Mon, 4 Dec 2017 15:25:15 +0000 (09:25 -0600)]
Merge pull request #19319 from ceph/wip-rm22297

ceph-volume  handle inline comments in the ceph.conf file

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests.api ensure that we can handle non-ceph tags in lvs 19321/head
Alfredo Deza [Mon, 4 Dec 2017 14:56:00 +0000 (09:56 -0500)]
ceph-volume tests.api ensure that we can handle non-ceph tags in lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19316 from trociny/wip-blkdev-fixup
Sage Weil [Mon, 4 Dec 2017 14:55:53 +0000 (08:55 -0600)]
Merge pull request #19316 from trociny/wip-blkdev-fixup

common/blkdev: fix build in FreeBSD environment

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoceph-volume api.lvm only consider 'ceph.' tags in logical volumes
Alfredo Deza [Mon, 4 Dec 2017 14:54:35 +0000 (09:54 -0500)]
ceph-volume api.lvm only consider 'ceph.' tags in logical volumes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install use ceph-volume in manual deployment steps 19241/head
Alfredo Deza [Wed, 29 Nov 2017 16:13:47 +0000 (11:13 -0500)]
doc/install use ceph-volume in manual deployment steps

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update user-management to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:53 +0000 (09:57 -0500)]
doc/rados update user-management to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update bluestore-migration to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:29 +0000 (09:57 -0500)]
doc/rados update bluestore-migration to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update add-or-rm-osds to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:09 +0000 (09:57 -0500)]
doc/rados update add-or-rm-osds to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update bluestore config to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:56:15 +0000 (09:56 -0500)]
doc/rados update bluestore config to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update auth config examples to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:55:59 +0000 (09:55 -0500)]
doc/rados update auth config examples to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man add deprecation notices to ceph-disk man page
Alfredo Deza [Wed, 29 Nov 2017 14:44:13 +0000 (09:44 -0500)]
doc/man add deprecation notices to ceph-disk man page

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: disable stdin param of run() 19276/head
Kefu Chai [Fri, 1 Dec 2017 16:43:21 +0000 (00:43 +0800)]
ceph-volume: process: disable stdin param of run()

we cannot use process.communicate() to feed the Popen with input,
because, upon return of process.communicate() the stdout,stderr are
closed. see https://docs.python.org/2/library/subprocess.html#subprocess.Popen.communicate .

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19275 from qrGitHub/wip-rgw-correct-comment
Casey Bodley [Mon, 4 Dec 2017 14:07:47 +0000 (09:07 -0500)]
Merge pull request #19275 from qrGitHub/wip-rgw-correct-comment

rgw: correct comment in function parse_credentials

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoceph-volume configuration allow inlined comments for # and ; 19319/head
Alfredo Deza [Mon, 4 Dec 2017 13:22:23 +0000 (08:22 -0500)]
ceph-volume configuration allow inlined comments for # and ;

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify that INI comments can be inlined
Alfredo Deza [Mon, 4 Dec 2017 13:21:29 +0000 (08:21 -0500)]
ceph-volume tests verify that INI comments can be inlined

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19314 from ifed01/wip-ifed-affiliation
Abhishek L [Mon, 4 Dec 2017 11:07:53 +0000 (12:07 +0100)]
Merge pull request #19314 from ifed01/wip-ifed-affiliation

.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agocommon/blkdev: fix build in FreeBSD environment 19316/head
Mykola Golub [Mon, 4 Dec 2017 10:10:35 +0000 (10:10 +0000)]
common/blkdev: fix build in FreeBSD environment

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years ago.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor 19314/head
Igor Fedotov [Mon, 4 Dec 2017 09:14:15 +0000 (12:14 +0300)]
.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor
Fedotov's affiliation

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agodoc: update docs to remove references of ubuntu 14.04 19307/head
Kefu Chai [Mon, 4 Dec 2017 06:00:37 +0000 (14:00 +0800)]
doc: update docs to remove references of ubuntu 14.04

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest/docker-test: drop support for ubuntu 14.04 and centos 6
Kefu Chai [Mon, 4 Dec 2017 05:05:49 +0000 (13:05 +0800)]
test/docker-test: drop support for ubuntu 14.04 and centos 6

* we cannot build on centos 6. and we are dropping the support for ubuntu
  14.04 also.
* add ubuntu 17.04: this release is not a LTS release, and added merely for
  demostration purpose.

Signed-off-by: Kefu Chai <kchai@redhat.com>