Jason Dillaman
6ce2656ead
blkin: librados should start new child trace
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
b33eb6452b
blkin: improve trace visibility into object cacher
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Victor Araujo
e0fc369455
blkin: pass trace information to object cacher
...
Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
600bfa2db2
common/zipkin_trace: added missing include for encoding
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
6dfcb11983
test/librados_test_stub: add new aio_operate overloads for tracing
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:00 -04:00
Yuri Weinstein
a56871e6ea
Merge pull request #10736 from oliveiradan/SebastienHan_config_diff_get_fr
...
common/ceph_context: 'config diff get' option added
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-18 13:15:54 -07:00
Yuri Weinstein
ef1c02406d
Merge pull request #14914 from neha-ojha/wip-mon-crushtype-health-warn
...
mon: add crush type down health warnings
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:12:45 -07:00
Sage Weil
a28c3ad2bd
Merge pull request #15086 from joscollin/wip-cleanup-redundant-headers-1
...
common: Remove redundant includes
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-18 13:29:40 -05:00
Sage Weil
5d83781fa0
Merge pull request #15109 from tchaikov/wip-mgrmon-send-digests-using-ticks
...
mon/MgrMonitor: send digests only if is_active()
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-18 13:29:26 -05:00
Sage Weil
e581511220
Merge pull request #15116 from liewegas/wip-bluestore-aio-warning
...
os/bluestore/KernelDevice: helpful warning when aio limit exhausted
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-18 13:28:30 -05:00
Sage Weil
739cbc98c3
Merge pull request #15117 from liewegas/wip-luminous-legacy-check
...
qa/suites/rados/thrash: make sure osds have map before legacy scrub
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:28:14 -05:00
Sage Weil
5a03220dda
Merge pull request #15120 from liewegas/wip-ec-buffer
...
osd: reduce buffer pinning from EC entries
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:28:02 -05:00
Sage Weil
4b0aa0880b
Merge pull request #15121 from ivancich/wip-remove-an-unnecessary-loop
...
osd/pglog: remove loop through empty collection
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:27:50 -05:00
Sage Weil
1a8ab080b2
Merge pull request #15124 from cbodley/wip-osd-swap
...
osd: fix argument-dependent lookup of swap()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 13:27:25 -05:00
Sage Weil
e35d635ec5
Merge pull request #15138 from liewegas/wip-list-objects-more
...
ceph_test_rados_api_list: more fix LibRadosListNP.ListObjectsError
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:26:57 -05:00
Kefu Chai
450d6cb5d0
Merge pull request #15126 from batrick/i19934
...
qa: silence upgrade test failure
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 00:06:35 +08:00
Jason Dillaman
9b72f74e2b
Merge pull request #15037 from trociny/wip-19875
...
librbd: optimize copy-up to add hints only once to object op
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 11:51:23 -04:00
Jason Dillaman
726515e66e
Merge pull request #15085 from runsisi/wip-fix-trashlist
...
librbd: do not raise an error if trash list returns -ENOENT
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 11:50:44 -04:00
Jason Dillaman
f6e513e208
Merge pull request #15134 from runsisi/wip-fix-trashpy
...
pybind/rbd: fix crash if more than 1024 images in trash bin
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 11:50:27 -04:00
Adam C. Emerson
a8fc220a21
Merge branch pull request #13551 from pritha-srivastava/wip-rgw-role-tenant
...
rgw: Replaced rgw userid with tenant in ARN for Roles.
rgw: Adding roles under the scope of tenants.
rgw: Added code for Role input validation.
rgw: Added code to fetch a role by its id.
rgw: Added code to allow tenant name as part of role name also.
rgw: Better reporting of missing input values in case of radosgw-admin
commands for Roles.
Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
2017-05-18 10:20:31 -04:00
Jos Collin
53a9ccf96f
Merge pull request #15152 from guihecheng/rgw_file-extra-rele
...
rgw_file: removed extra rele() on fs in rgw_umount()
2017-05-18 19:18:00 +05:30
Kefu Chai
e40a381093
Merge pull request #15142 from bassam/pr-ccache-s-files
...
cmake: workaound ccache issue with .S assembly files
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 18:38:12 +08:00
Gui Hecheng
7720bca22e
rgw_file: fix extra rele on fs in close
...
We got exactly a refcnt=0 after rele in close,
no need to rele twice.
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2017-05-18 18:27:06 +08:00
Kefu Chai
b4648bf6e3
Merge pull request #15137 from theanalyst/rgw/cleanup/header-drop
...
rgw: drop using std ns in header files and other cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 18:18:41 +08:00
Loic Dachary
b7e65938ab
Merge pull request #15145 from zealoussnow/wip-0518
...
mailmap: Leo Zhang infomation and affiliation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-18 12:06:50 +02:00
Kefu Chai
6f7b339d27
Merge pull request #15143 from minshenglin/fix_broken_link
...
doc: fix broken link in erasure-code.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 15:40:26 +08:00
Leo Zhang
518f516d2e
mailmap: Leo Zhang infomation and affiliation
...
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2017-05-18 12:19:14 +08:00
MinSheng Lin
e86cef3134
doc: fix broken link in erasure-code.rst
...
Fixes: http://tracker.ceph.com/issues/19972
Signed-off-by: MinSheng Lin <minsheng.l@inwinstack.com>
2017-05-18 09:48:07 +08:00
Bassam Tabbara
e1c3985148
cmake: workaound ccache issue with .S assembly files
...
when building with -DWITH_CCACHE=ON recent versions of ccache
(for example 3.3.3) seem to mangle object files from the cache
for source files that have a .S extension. This seems similar
but unrelated to PR #14633 . The workaround here is to rename .S
files to .s (lower case).
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2017-05-17 17:51:06 -07:00
Adam C. Emerson
dcd1bfb3c6
Merge branch 'wip-sts-authorization'
...
Merge pull request #14307 from adamemerson/wip-sts-authorization
common: Add make_unique
submodule: Tencent's RapidJSON library
common: Add ISO-8601 Date Support
rgw: Add is_identity to AuthApplier class
rgw: Move globbing flags to header
buffer: Make the use of static areas more convenient
rgw: Add basic support for IAM policies
rgw: Build bucket permission and environment in req_state
rgw: Verify policies as WELL as ACLs
rgw: RESTful bucket policy ops
rgw: Write documentation for bucket policies
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-05-17 16:06:23 -04:00
Adam C. Emerson
80b285d329
rgw: Write documentation for bucket policies
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
b7d0b740c0
rgw: RESTful bucket policy ops
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
266103fa22
rgw: Verify policies as WELL as ACLs
...
Only hook into object/bucket checks for now. Once we have STS (giving
us Roles) or User/Group policies it will make sense to hook into
those, too.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
908d9e46d2
rgw: Build bucket permission and environment in req_state
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
69a5eebd8a
rgw: Add basic support for IAM policies
...
This support is currently incomplete but should provide a starting
point.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
8416f1c569
buffer: Make the use of static areas more convenient
...
Make three wrapper functions to tidy up the process of making a
bufferlist holding a single static buffer.
The lack of any decent handling of const in buffer::list makes me wax
wroth, but it's a bit much to fix right now.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
9e8172b840
rgw: Move globbing flags to header
...
So they can be used when calling the function
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
56167d19f8
rgw: Add is_identity to AuthApplier class
...
Eventually this will allow us to match all authentication information
against all specified principals in a policy.
Right now it handles users and wildcards.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
7cd1ccf422
common: Add ISO-8601 Date Support
...
For parsing and unparsing from ceph::real_time.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:15 -04:00
Adam C. Emerson
c3f2447c80
submodule: Tencent's RapidJSON library
...
This is a high performance, MIT licensed JSON parsing library. It
provides a SAX interface so that I can compile an S3 policy without
building up a JSONObject tree in the middle that gets thrown away.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 12:26:39 -04:00
Adam C. Emerson
64acb16354
common: Add make_unique
...
There are parts of C++14 that are both useful and easy to
implement. This is one of them.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 12:26:39 -04:00
Sage Weil
3bb9dd475b
ceph_test_rados_api_list: more fix LibRadosListNP.ListObjectsError
...
Follow-on to d7e6e8d60309e4800389b36f786b633d0ca2ec07; we need to
make sure the client gets the updated osdmap.
Fixes: http://tracker.ceph.com/issues/19963
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-17 11:55:42 -04:00
Sage Weil
752b8389da
Merge pull request #13731 from liewegas/wip-19119
...
PendingReleaseNotes: warning about 'osd rm ...' and #19119
2017-05-17 10:43:18 -05:00
Sage Weil
3c6755e036
PendingReleaseNotes: warning about 'osd rm ...' and #19119
...
See http://tracker.ceph.com/issues/19119
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-17 11:42:55 -04:00
Sage Weil
c94645567b
Merge pull request #14873 from liewegas/wip-bluefs-position
...
os/bluestore: put bluefs in the middle of the shared device
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-17 10:29:52 -05:00
Sage Weil
55c47ef6e1
Merge pull request #14902 from liewegas/wip-upmap
...
osd/OSDMap: improve upmap calculation
Reviewed-by: Loic Dachary <loic@dachary.org>
2017-05-17 10:29:28 -05:00
Sage Weil
35834a308e
Merge pull request #14933 from liewegas/wip-asok-schema
...
common/perf_counters: make schema more friendly and update docs
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-17 10:29:09 -05:00
Sage Weil
16cce5a56b
Merge pull request #14967 from tchaikov/wip-faster-cull
...
mgr: optimize DaemonStateIndex::cull() a little bit
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-17 10:28:49 -05:00
Sage Weil
81bd3025d1
Merge pull request #15002 from dachary/wip-19836-crush-pre-luminous
...
crush: encode can override weights with weight set
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-17 10:26:06 -05:00
Sage Weil
9a06fdbffe
Merge pull request #15031 from tchaikov/wip-drop-unused-opts
...
config_opts: drop unused opts
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-17 10:25:25 -05:00