Commit Graph

71464 Commits

Author SHA1 Message Date
Vasu Kulkarni
34ea04e00f Remove bluestore.yaml from top level folder which is redundant
objectstore folder has the link.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-05-02 14:21:54 -07:00
Vasu Kulkarni
cdac849e31 Reduce fs combination tests for smoke, use bluestore
for basic and filestore.xfs for 1node and sytemd

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-05-02 14:20:22 -07:00
Sage Weil
a001e0bfa4 Merge pull request #14843 from wjwithagen/wip-wjw-fix-pipe
src/msg/simple/Pipe.cc: Fix the inclusion of '}'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-27 15:51:25 -05:00
Willem Jan Withagen
cdc067e06c src/msg/simple/Pipe.cc: Fix the inclusion of '}'
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-27 20:53:49 +02:00
Jason Dillaman
b67c5c7aa4 Merge pull request #14754 from trociny/wip-19128
rbd: import needs to sanity check auto-generated image name

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-27 14:40:51 -04:00
Yehuda Sadeh
f929d4f798 Merge pull request #14592 from prallabh/wip-manifest
rgw: custom user data header

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-27 11:25:00 -07:00
Casey Bodley
bac49f33ce Merge pull request #14816 from cbodley/wip-rgw-test-multi-list-fix
test/rgw: fix for empty lists as default arguments

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-27 13:38:15 -04:00
Sage Weil
9fa79ba205 Merge pull request #14473 from ShiqiCooperation/master
os/bluestore: assert blob map returns success

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 12:33:06 -05:00
Sage Weil
930d2151c6 Merge pull request #14491 from liewegas/wip-bluestore-deferred-rewrite
os/bluestore: rewrite deferred write handling

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-04-27 12:32:52 -05:00
Sage Weil
05bb3b5360 Merge pull request #14695 from dachary/wip-choosleaf-stable
crush: builder: legacy has chooseleaf_stable = 0

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 12:32:31 -05:00
Sage Weil
528c6e067a Merge pull request #14696 from dachary/wip-crush-workspace
crush: crush_init_workspace starts with struct crush_work

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 12:32:21 -05:00
Sage Weil
559a7a83ee Merge pull request #14814 from neha-ojha/wip-osd-filestore-default
osd: switch filestore to default to rocksdb

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 12:32:09 -05:00
Kefu Chai
8fb1af0aba Merge pull request #14795 from tchaikov/wip-so-priority-cleanup
msg/async: return right away in NetHandler::set_priority() if not supported

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-28 00:48:23 +08:00
Sage Weil
40699a61b2 Merge pull request #14802 from tchaikov/wip-mgr-cleanup
mgr: various cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 11:43:32 -05:00
Sage Weil
add2015fe3 Merge pull request #14807 from liewegas/wip-jewel-x
ceph_test_rados_api_tier: tolerate ENOENT from 'pg scrub'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-27 11:43:12 -05:00
Yuri Weinstein
b9d9eb9933 Merge pull request #14717 from liewegas/wip-bluestore-remove-max-ops
os/bluestore: rename/fix throttle options

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-04-27 09:35:09 -07:00
Sage Weil
16e22eb998 Merge pull request #14819 from tchaikov/wip-objecter-more-constness
osdc/Objecter: more constness

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 11:26:45 -05:00
Yuri Weinstein
a00005cee1 Merge pull request #14773 from viva64/sizeof_pointer
src/msg/async/AsyncConnect.cc: Use of sizeof() on a Pointer Type

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-27 09:22:01 -07:00
Yuri Weinstein
e3ba7b99c7 Merge pull request #14782 from yuyuyu101/wip-rdma-perf
msg/async/rdma: add inqueue rx chunks perf counter

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 09:19:35 -07:00
Yuri Weinstein
1a02455e4d Merge pull request #14797 from wjwithagen/wip-wjw-freebsd-config-path
common/config: Add /usr/local/etc/ceph to default paths

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 09:15:56 -07:00
Yuri Weinstein
8f0b77d4fa Merge pull request #14801 from tchaikov/wip-crypto-cleanup
crypto: cleanup NSPR in main thread

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-27 09:15:25 -07:00
Yuri Weinstein
482eb4a38b Merge pull request #14805 from tchaikov/wip-mon-check-get
mon/OSDMonitor: check get()'s return value instead of bl's length

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 09:13:30 -07:00
Jason Dillaman
46119d15b3 Merge pull request #14836 from idryomov/wip-krbd-wac-tests
qa: krbd write-after-checksum tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-27 11:42:55 -04:00
Yehuda Sadeh
4db11779a8 Merge pull request #14803 from hrchu/rgwadmin-api-doc-usage-conf
doc: rgw: note rgw_enable_usage_log option in adminops guide

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-27 08:42:09 -07:00
Sage Weil
7d28d0c86e Merge pull request #14824 from renhwztetecs/renhw-wip-mgr-bootstrap
mgr: mkdir bootstrap-mgr

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 09:46:57 -05:00
Ilya Dryomov
7c8a7f52da qa: krbd write-after-checksum tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-04-27 16:28:08 +02:00
Willem Jan Withagen
bcc644593c common/config_opts.h: Allow for /usr/local/etc/ceph to hold keyrings
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-27 15:58:36 +02:00
Sage Weil
92d8e19660 Merge pull request #14831 from smithfarm/wip-stress-split
tests: fix broken links in upgrade/hammer-jewel-x/stress-split
2017-04-27 08:43:30 -05:00
Jason Dillaman
edc88b132b Merge pull request #14751 from trociny/wip-19716
test/librbd/test_notify.py: don't disable feature in slave

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-27 08:25:01 -04:00
Nathan Cutler
7c973b0968 tests: fix broken links in upgrade/hammer-jewel-x/stress-split
Fixes: http://tracker.ceph.com/issues/19793
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-04-27 14:03:04 +02:00
Kefu Chai
60d95d4007 Merge pull request #14820 from tchaikov/wip-deb-maint-fun
debian: package crypto plugin only on amd64

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-04-27 18:47:14 +08:00
huanwen ren
09f32b1ff7 mgr: mkdir bootstrap-mgr
ceph-deploy rely on bootstrap-mgr 
as follows: https://github.com/ceph/ceph-deploy/blob/master/ceph_deploy/mgr.py#L37

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-04-27 16:21:02 +08:00
Kefu Chai
cd4dbaea3a debian: package crypto plugins only on amd64
currently, only plugin based on isa-l is installed. archs other than
amd64 will not have this directory or the plugin(s) residing in it.
hence dh_install will fail when trying to copy nonexistence file/dir.

* debian/ceph-common.install: chmod +x, and only install crypto on amd64
  so dh_install can filter the install list using dh-exec
* debian/control: depends on dh-exec now. dh-exec v0.13 introduces support
  for filtering based on architecture. see dh-exec's changelog for more
  details. but trusty only offers dh-exec v0.12. so do not require ">=
  0.13) at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-27 15:14:16 +08:00
Kefu Chai
53726b8ed2 cmake: os should depend on crypto_plugins not a certain plugin
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-27 13:28:45 +08:00
Kefu Chai
b22977dfd2 crypto: cleanup NSPR in main thread
quote from nspr's header file

```
 * Perform a graceful shutdown of NSPR.  PR_Cleanup() may be called by
 * the primordial thread near the end of the main() function.
```

this helps to silence some warnings from valgrind. but it does not hurt
in practice, because the process is about to die. and the freed memory
chunks are only allocated once in NSPR.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-27 12:14:04 +08:00
Kefu Chai
d989151035 osdc/Objecter: more constness
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-27 11:25:56 +08:00
Kefu Chai
bdcc25b888 Merge pull request #14779 from smithfarm/wip-fix-arch-build
build/ops: rpm: package crypto on x86_64 only

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-27 11:14:00 +08:00
hrchu
e7896f6858 doc: rgw: note rgw_enable_usage_log option in adminops guide
Signed-off-by: hrchu <petertc@gmail.com>
2017-04-27 00:52:24 +00:00
Casey Bodley
3f237a134d test/rgw: fix for empty lists as default arguments
i was incorrectly using [] as a default function argument, without
realizing that default values are mutable and shared across invocations

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-26 19:38:53 -04:00
Radoslaw Zarzynski
362c106c2c Merge pull request #14499 from mdw-at-linuxbox/wip-rgw-acl
rgw: swift: ability to update swift read and write acls separately.

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-26 23:30:35 +02:00
Sage Weil
65c2a88d0d os/bluestore: narrow lock scope in _deferred_aio_finish
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-26 16:58:42 -04:00
Sage Weil
7a59f60646 os/bluestore: use superclass for aio completions
This is less fragile and more explicit than using the lower bit
of the priv pointer.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-26 16:58:41 -04:00
Sage Weil
c27df93229 os/bluestore: restructure deferred writes
Explicitly aggregate deferred writes into a batch.  When we
submit, take the opportunity to coalesce contiguous writes.
Handle aio completion independently from the original txcs.

Note that this paves the way for a few additional steps:

1- we could make deallocations cancel deferred writes.
2- we could drop the txc deferred states entirely and rely on
the explicit deferred write batch machinery instead... if we
build an alternative way to complete the SharedBlob writes
and ensure the lifecycle issue are dealt with.  (I'm not sure
it would be worth it, but it might be.)

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-26 16:03:35 -04:00
Sage Weil
8c32e69c66 os/bluestore/KernelDevice: handle non-block-aligned backing file
Fixes: http://tracker.ceph.com/issues/16644
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-26 16:03:34 -04:00
Neha Ojha
ba96197e6d osd: switch filestore to default to rocksdb
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-04-26 12:27:24 -07:00
Casey Bodley
577cca0e51 Merge pull request #14714 from cbodley/wip-19446
rgw: dont spawn error_repo until lease is acquired

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-26 14:30:20 -04:00
Sage Weil
415dcb438a Merge pull request #12720 from kylinstorage/wip-loop-invariant-code-motion
osd/PG.cc: loop invariant code motion

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-26 13:04:12 -05:00
Kefu Chai
a81863e7b8 Merge pull request #13053 from Ted-Chang/kstore-bloom-filter
os/kstore: Added rocksdb bloom filter settings

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-27 00:29:45 +08:00
Yehuda Sadeh
97157f9142 Merge pull request #13070 from cbodley/wip-rgw-meta-sync-periods
rgw multisite: fixes for meta sync across periods

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-26 09:29:26 -07:00
Kefu Chai
e6d1d9a798 Merge pull request #13061 from guzhongyan/fix_typo
osd: fix typo in comment

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-27 00:26:01 +08:00