Commit Graph

81176 Commits

Author SHA1 Message Date
Josh Durgin
4a0186ee30
Merge pull request #19324 from neha-ojha/wip-fix-collectl
qa: install collectl with cbt task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-12-04 17:33:43 -08:00
Alfredo Deza
ebe246fef4
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
2017-12-04 19:43:36 -05:00
Patrick Donnelly
5b2b1d1446
client: quit on failed remount during dentry invalidate test
Fixes: http://tracker.ceph.com/issues/22269

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-04 16:10:27 -08:00
Patrick Donnelly
4f2fa427f4
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>
2017-12-04 14:05:50 -08:00
Alfredo Deza
7671b66e19 doc/man remove deprecation of ceph-disk man page title
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 17:01:33 -05:00
Neha Ojha
877e3ccada qa: install collectl with cbt task
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-04 13:50:33 -08:00
Mykola Golub
acc69f2f6c 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>
2017-12-04 17:10:43 +00:00
Mykola Golub
718356e480 test/librbd: enable fsx lite mode support
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-04 17:05:25 +00:00
Andrew Schoen
62c31cfd69
Merge pull request #19241 from ceph/wip-doc-deprecate-cdisk
doc: update references to use ceph-volume

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-04 10:37:46 -06:00
Andrew Schoen
f956c6f931
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>
2017-12-04 09:48:36 -06:00
Andrew Schoen
f3a59fb9a4
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>
2017-12-04 09:25:15 -06:00
Alfredo Deza
c98731eced ceph-volume tests.api ensure that we can handle non-ceph tags in lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:56:00 -05:00
Sage Weil
16185b9d8f
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>
2017-12-04 08:55:53 -06:00
Alfredo Deza
a7e7df1460 ceph-volume api.lvm only consider 'ceph.' tags in logical volumes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:54:35 -05:00
Alfredo Deza
3ed739e541 doc/install use ceph-volume in manual deployment steps
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00
Alfredo Deza
96cd9bced9 doc/rados update user-management to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00
Alfredo Deza
814b5b1658 doc/rados update bluestore-migration to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00
Alfredo Deza
72fd536c29 doc/rados update add-or-rm-osds to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00
Alfredo Deza
4243085d11 doc/rados update bluestore config to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:11 -05:00
Alfredo Deza
8bbcaa7070 doc/rados update auth config examples to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:11 -05:00
Alfredo Deza
bd00560c20 doc/man add deprecation notices to ceph-disk man page
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:11 -05:00
Casey Bodley
95890d609c
Merge pull request #19275 from qrGitHub/wip-rgw-correct-comment
rgw: correct comment in function parse_credentials

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-04 09:07:47 -05:00
Alfredo Deza
aec5f5042a ceph-volume configuration allow inlined comments for # and ;
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 08:25:58 -05:00
Alfredo Deza
fe6c4c0d60 ceph-volume tests verify that INI comments can be inlined
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 08:25:58 -05:00
Abhishek L
72f34435fd
Merge pull request #19314 from ifed01/wip-ifed-affiliation
.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2017-12-04 12:07:53 +01:00
Mykola Golub
2aefd5172b common/blkdev: fix build in FreeBSD environment
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-04 10:10:35 +00:00
Igor Fedotov
b6946a9e45 .githubmap, .mailmap, .organizationmap, .peoplemap: update Igor
Fedotov's affiliation

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2017-12-04 12:14:15 +03:00
Kefu Chai
6fb9540bd6 doc: update docs to remove references of ubuntu 14.04
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 15:42:56 +08:00
Kefu Chai
1acfa03ef9 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>
2017-12-04 15:42:56 +08:00
Kefu Chai
dbe33502cb qa/suites/hadoop: switch from trusty to ubuntu latest
use the ubuntu_face.yaml facet for the distro used for testing. since we
are dropping the support for trusty.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 14:06:42 +08:00
Kefu Chai
88311be439 qa/suites/fs: use ubuntu_latest for multiclient tasks
instead of using ubuntu 14.04, since we want to drop the support of this
release.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 14:06:40 +08:00
Kefu Chai
aa89bb2f93 qa/suites/fs: use ubuntu_latest for libcephfs_java
* instead of using ubuntu 14.04, use ubuntu_latest.since we want
  to drop the support of this release.
* refactor this test to use the facet of ubuntu_latest.yaml.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 14:06:37 +08:00
Kefu Chai
582f04508f qa/tasks: remove test_buildpackages
the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 14:06:18 +08:00
Yan, Zheng
f10cd45952 mds: don't create snap inode during trans-authority rename
MDCache::cow_inode() may add auth pin to frozen inode

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-04 12:02:55 +08:00
Yan, Zheng
28d2b20df3 mds: trim non-auth snap dentry during cache rejoin
Because corresponding dentry in auth mds may have been pruned (snap deleted)

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-04 12:02:54 +08:00
Yan, Zheng
5d4b440430 mds: detach unlinked inode's snaprealm from its parent
When replaying slave update, inode may gets unlinked, but preserved
in memory in case of rollback. In this case, we need to detach the
inode's snaprealm from its parent.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-04 12:02:54 +08:00
Yan, Zheng
da12abbd0f mds: fix CInode::find_snaprealm()
If inode has no parent dentry (newly created), CInode::find_snaprealm()
should try the oldest projected parent.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-04 12:01:18 +08:00
Kefu Chai
8ad1a5b642
Merge pull request #19196 from shun-s/wip-cephdisk-fix-major-error
ceph-disk: fix signed integer is greater than maximum when call major

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-03 10:34:02 +08:00
Sage Weil
55d499bdef
Merge pull request #19296 from shinobu-x/strange_double_space
osd: Remove double space
2017-12-02 11:44:15 -06:00
Shinobu Kinjo
0fb7f9754d osd: Remove double space
Should not break anything but just strange...

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-02 11:57:39 -05:00
Kefu Chai
f8df9280e5
Merge pull request #19161 from xiexingguo/wip-pg-log
osd/PGLog: get rid of ineffective container operations

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 22:36:19 +08:00
xie xingguo
d98aa399b0 osd/PGLog: get rid of ineffective container operations
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-02 15:16:28 +08:00
Kefu Chai
52bb6e8c6e
Merge pull request #19242 from liewegas/wip-21147
qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 14:14:29 +08:00
Kefu Chai
9185109cb9
Merge pull request #19185 from liewegas/wip-trim-mgrmap
mon/MgrMonitor: limit mgrmap history

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 14:13:44 +08:00
Andrew Schoen
dfe1b7948d
Merge pull request #19285 from ceph/wip-rm22299
ceph-volume Format correctly when vg/lv cannot be used

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-01 15:40:00 -06:00
Andrew Schoen
b7a9c440e7
Merge pull request #19259 from ceph/wip-rm22280
ceph-volume: handle leading whitespace/tabs in ceph.conf

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-01 15:32:37 -06:00
Alfredo Deza
d7320313a1 ceph-volume tests verify proper formatting of RuntimeError on vg/lv error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-01 13:53:39 -05:00
Alfredo Deza
7c0b00615d ceph-volume lvm.prepare correctly format argument for vg/lv error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-01 13:53:06 -05:00
Abhishek L
a91f35058c
Merge pull request #19264 from theanalyst/doc/releases/12.2.2
doc: add 12.2.2 release notes

Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
2017-12-01 18:06:46 +01:00
Sage Weil
fb4971f796
Merge pull request #19284 from theanalyst/changelog/12.2.2
doc: add changelog for v12.2.2
2017-12-01 10:30:33 -06:00