Commit Graph

82044 Commits

Author SHA1 Message Date
Adam C. Emerson
19fb1b290d mon: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
156c941ad0 mgr: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
f45e480e8e messages: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
c7582b787b mds: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
97f56e675a rbd: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
2e70bc3703 librados: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
16fec46e5b kv: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
4caccb3341 key_value_store: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
17a887c17c journal: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
32a9f4048c include: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
a91a455fe6 crush: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
62c97dea24 compressor: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
06aa3dd961 cls: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
4eb497f325 client: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
f46f5e6c8a auth: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
271a8a8dd1 common: Use unqualified encoding in the rest of the files
And now we're done with this directory, for now.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
16fbc7049f common: Use unqualified encoding in ceph_time.h
Well, actually move encode/decode into encoding.h and include ceph_time.h
from there.

Also in any function that encodes a timepoint.

Also clean up a few include file problems that come out of having
ceph_time.h not include encoding.h

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
efcdb5a642 common: Use unqualified encoding in some files
bit_vector.hpp and bloom_filter.cc to be specific.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
2646c88727 encoding: Remove no-longer-needed #define
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
6d658d7c79 encoding: Move encode/decode functions into ceph namespace
This begins Part 1 of the Great Namespace Fix. Currently, encode/decode
does not handle types in namespaces properly. Mostly because people call
them as ::encode and ::decode, completely wrecking argument dependent
lookup.

By fixing encode/decode, we prepare the way to use namespaces
extensively in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Yuri Weinstein
42c2155d4b
Merge pull request #19615 from qrGitHub/wip-rgw-log-adjustment2
rgw: format logs in file rgw_lc.cc

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-01-10 08:31:51 -08:00
Yuri Weinstein
aecd0e0f17
Merge pull request #19740 from fangyuxiangGL/invalid-compress
rgw: keep compression type consistent between parts of s3 Multipart

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2018-01-10 08:29:15 -08:00
Yuri Weinstein
6ccc2b025f
Merge pull request #19753 from qrGitHub/wip-rgw-fix-cephdencoder
rgw: format rgw_bucket_dir_header in ceph-dencoder

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-10 08:26:08 -08:00
Yuri Weinstein
f64aa80f2c
Merge pull request #19814 from qrGitHub/wip-rgw-optimize-function3
rgw: optimize function parse_raw_oid

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-10 08:25:26 -08:00
Yuri Weinstein
319474a364
Merge pull request #19817 from qrGitHub/wip-rgw-useless-line2
rgw: drop useless lines

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-10 08:25:00 -08:00
Sage Weil
1d12dd40da
Merge pull request #19882 from adamwg/awg/fix-config-docs
doc: Update config file search paths to reflect reality
2018-01-10 10:00:06 -06:00
Sage Weil
206a53e452
Merge pull request #19441 from wumingqiao/wip-pg-on-flushed
osd/PG: handle flushed event directly

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 09:39:08 -06:00
Kefu Chai
f51f0c1ed4
Merge pull request #19813 from xxhdx1985126/wip_xxh_low_list_size
common: compute SimpleLRU's size with contents.size() instead of lru.size()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-10 23:37:30 +08:00
Kefu Chai
aab167d588
Merge pull request #19812 from shinobu-x/osd_get_next_up_osd_after
osd: Remove redundant local variable declaration

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 23:35:17 +08:00
Kefu Chai
3c34f0489d
Merge pull request #19805 from tchaikov/wip-perf-counters-cleanup
common/perf_counters: remove unused parameter

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 23:34:49 +08:00
Kefu Chai
884cd06e49
Merge pull request #19759 from ifed01/wip-ifed-throttle64
common/throttle: start using 64-bit values

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 23:31:31 +08:00
Kefu Chai
218df657d4
Merge pull request #19529 from thmour/master
ceph-volume: Require lvm2, move to osd package

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-10 23:28:52 +08:00
Kefu Chai
1dc26fb937
Merge pull request #19520 from ovh/bp-snap-trimq-visibility
osd, pg, mgr: make snap trim queue problems visible

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 23:25:53 +08:00
Kefu Chai
1128ac4651
Merge pull request #19374 from symptog/master
mgr/influx: Add InfluxDB SSL Option

Reviewed-by: Wido den Hollander <wido@42on.com>
2018-01-10 23:22:41 +08:00
Alfredo Deza
25c72da021
Merge pull request #19875 from ceph/wip-rm22307
ceph-volume: adds success messages for lvm prepare/activate/create

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-01-10 09:45:13 -05:00
Kefu Chai
3f45280ac4
Merge pull request #19393 from tchaikov/wip-no-more-gcc-4.8
rgw,common,rbd: s/boost::regex/std::regex/

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 22:10:21 +08:00
Sage Weil
bac997a9ad
Merge pull request #19622 from majianpeng/bluestore-check-obj-max-siz
os/bluestore: using macro OBJECT_MAX_SIZE to check osd_max_object_size.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 07:01:53 -06:00
Sage Weil
c9c2244a1e
Merge pull request #19707 from shinobu-x/pick_address_a
common/pick_address.cc: Cleanup

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 07:01:33 -06:00
Sage Weil
a7dc224536
Merge pull request #19796 from LiumxNL/fix-ooo-caused-con-reset
osd: fix out of order caused by letting old msg from down osd be processed

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 07:01:04 -06:00
Sage Weil
58170f5027
Merge pull request #19820 from yaozongyou/silence-maybe-uninitialized-warning
osd: silence maybe-uninitialized false positives

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-10 07:00:31 -06:00
Sage Weil
71b8e4b21d
Merge pull request #19864 from rzarzynski/wip-bs-no-blobrefing-in-do_read
os/bluestore: avoid unneeded BlobRefing in _do_read().

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2018-01-10 07:00:06 -06:00
Sage Weil
588516fa20
Merge pull request #19866 from liewegas/wip-bluestore-error-injection
os/bluestore: fix data read error injection in bluestore

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-01-10 06:59:40 -06:00
Sage Weil
0d263b2591
Merge pull request #19869 from liewegas/wip-log-desc
common/options: long description for log_stderr_prefix

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-01-10 06:59:16 -06:00
Patrick Donnelly
1f32d63e6d
Merge PR #18424 into master
* refs/pull/18424/head:
	mds: create snaprealm for quota enabled inode

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-09 16:56:32 -08:00
Patrick Donnelly
6a97e25497
Merge PR #19572 into master
* refs/pull/19572/head:
	client: add log when we got unexpected flush ack

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-09 16:56:27 -08:00
Patrick Donnelly
e73e5edbdc
Merge PR #19672 into master
* refs/pull/19672/head:
	ceph-fuse: ::rmdir() uses a deleted memory structure of dentry leads a core

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-09 16:56:22 -08:00
Patrick Donnelly
2cdf087d29
Merge PR #19693 into master
* refs/pull/19693/head:
	mds: use session.get_client()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-09 16:56:17 -08:00
Patrick Donnelly
8b24b57b62
Merge PR #19696 into master
* refs/pull/19696/head:
	client: avoid adding checked inode to the delayed_caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-09 16:56:13 -08:00
Patrick Donnelly
8ab4c18ec1
Merge PR #19702 into master
* refs/pull/19702/head:
	client: avoid remove same cap twice

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-09 16:56:08 -08:00
Patrick Donnelly
a2feda1845
Merge PR #19703 into master
* refs/pull/19703/head:
	client: make mark_caps_clean and mark_caps_dirty as member function to Inode
	client: fix dirty caps might never be flushed

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-09 16:56:03 -08:00