]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agorgw: drop redundant RGW_OP_STAT_OBJ check 19933/head
Bingyin Zhang [Fri, 12 Jan 2018 06:26:30 +0000 (14:26 +0800)]
rgw: drop redundant RGW_OP_STAT_OBJ check

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoMerge pull request #19886 from liu-chunmei/fix_dpdk_worker_references_issue
Haomai Wang [Fri, 12 Jan 2018 02:38:30 +0000 (10:38 +0800)]
Merge pull request #19886 from liu-chunmei/fix_dpdk_worker_references_issue

osd: fix dpdk worker references issue

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge branch 'wip-names!-in!-space!' of git://github.com/adamemerson/ceph
Sage Weil [Thu, 11 Jan 2018 21:53:55 +0000 (15:53 -0600)]
Merge branch 'wip-names!-in!-space!' of git://github.com/adamemerson/ceph

Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
# Conflicts:
# src/cls/rbd/cls_rbd.cc
# src/cls/rbd/cls_rbd_types.cc

7 years agoMerge pull request #19099 from ifed01/wip-ifed-faster-pglog
Sage Weil [Thu, 11 Jan 2018 21:50:52 +0000 (15:50 -0600)]
Merge pull request #19099 from ifed01/wip-ifed-faster-pglog

osd: eliminate ineffective container operations

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19180 from theanalyst/tools/rados-omap-clear
Sage Weil [Thu, 11 Jan 2018 21:50:12 +0000 (15:50 -0600)]
Merge pull request #19180 from theanalyst/tools/rados-omap-clear

tools: rados add a cli option to clear omap keys

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19872 from tchaikov/wip-random_shuffle
Sage Weil [Thu, 11 Jan 2018 21:49:31 +0000 (15:49 -0600)]
Merge pull request #19872 from tchaikov/wip-random_shuffle

osd: s/random_shuffle()/shuffle()/

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #19881 from liewegas/wip-kill-crush-location
Sage Weil [Thu, 11 Jan 2018 21:48:29 +0000 (15:48 -0600)]
Merge pull request #19881 from liewegas/wip-kill-crush-location

ceph-crush-location: remove

Reviewed-by: Wido den Hollander <wido@widodh.nl>
7 years agoMerge pull request #11544 from VictorDenisov/consistency_groups_snapshots
Jason Dillaman [Thu, 11 Jan 2018 20:29:27 +0000 (15:29 -0500)]
Merge pull request #11544 from VictorDenisov/consistency_groups_snapshots

librbd: group snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: fix valgrind false positive from new boost release
Jason Dillaman [Thu, 11 Jan 2018 20:27:47 +0000 (15:27 -0500)]
rbd-mirror: fix valgrind false positive from new boost release

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19924 from rzarzynski/wip-rgw-drop-dump_uri_from_state
Casey Bodley [Thu, 11 Jan 2018 17:05:31 +0000 (12:05 -0500)]
Merge pull request #19924 from rzarzynski/wip-rgw-drop-dump_uri_from_state

rgw: drop dump_uri_from_state() which isn't used anymore.

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agolibrbd: ensure enums are prefixed w/ RBD_ to avoid collisions
Jason Dillaman [Thu, 11 Jan 2018 15:55:26 +0000 (10:55 -0500)]
librbd: ensure enums are prefixed w/ RBD_ to avoid collisions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: fix false-positive compiler warning
Jason Dillaman [Thu, 11 Jan 2018 15:52:26 +0000 (10:52 -0500)]
librbd: fix false-positive compiler warning

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/pybind: corrected failures due to test execution ordering
Jason Dillaman [Thu, 11 Jan 2018 15:15:21 +0000 (10:15 -0500)]
test/pybind: corrected failures due to test execution ordering

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: group snapshots should be linked to image pool (not data pool)
Jason Dillaman [Thu, 11 Jan 2018 14:59:30 +0000 (09:59 -0500)]
librbd: group snapshots should be linked to image pool (not data pool)

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: restore snap list by image id functionality
Jason Dillaman [Thu, 11 Jan 2018 14:35:15 +0000 (09:35 -0500)]
rbd: restore snap list by image id functionality

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agocls/rbd: combined group_snap_add and group_snap_update
Jason Dillaman [Thu, 11 Jan 2018 05:24:37 +0000 (00:24 -0500)]
cls/rbd: combined group_snap_add and group_snap_update

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: fix ImageCtx::get_snap_id method
Jason Dillaman [Thu, 11 Jan 2018 04:39:49 +0000 (23:39 -0500)]
librbd: fix ImageCtx::get_snap_id method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: fixed memory leak and use-after-free in group snap API
Jason Dillaman [Thu, 11 Jan 2018 03:42:05 +0000 (22:42 -0500)]
librbd: fixed memory leak and use-after-free in group snap API

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: utilize '<name>@<snap>' format when creating/removing group snaps
Jason Dillaman [Thu, 11 Jan 2018 03:08:19 +0000 (22:08 -0500)]
rbd: utilize '<name>@<snap>' format when creating/removing group snaps

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agopybind/rbd: added snap_get_group_namespace API method
Jason Dillaman [Thu, 11 Jan 2018 02:40:29 +0000 (21:40 -0500)]
pybind/rbd: added snap_get_group_namespace API method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: added missing C API version for rbd_snap_get_group_namespace
Jason Dillaman [Thu, 11 Jan 2018 01:56:33 +0000 (20:56 -0500)]
librbd: added missing C API version for rbd_snap_get_group_namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: moved new snapshot API methods to separate class
Jason Dillaman [Thu, 11 Jan 2018 01:18:18 +0000 (20:18 -0500)]
librbd: moved new snapshot API methods to separate class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: wrap object section around group snap list formatter
Jason Dillaman [Wed, 10 Jan 2018 23:30:19 +0000 (18:30 -0500)]
rbd: wrap object section around group snap list formatter

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: translate pool id into name
Victor Denisov [Sun, 7 Jan 2018 23:29:08 +0000 (15:29 -0800)]
rbd: translate pool id into name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: translate group pool to name
Victor Denisov [Sun, 7 Jan 2018 22:31:25 +0000 (14:31 -0800)]
rbd: translate group pool to name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: fix cli tests
Victor Denisov [Sun, 7 Jan 2018 20:38:18 +0000 (12:38 -0800)]
rbd: fix cli tests

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: drop consistency from Info
Victor Denisov [Thu, 4 Jan 2018 02:36:08 +0000 (18:36 -0800)]
rbd: drop consistency from Info

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: produce state string instead of integer
Victor Denisov [Wed, 3 Jan 2018 03:14:01 +0000 (19:14 -0800)]
rbd: produce state string instead of integer

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Add snap rm alias
Victor Denisov [Tue, 2 Jan 2018 04:27:15 +0000 (20:27 -0800)]
rbd: Add snap rm alias

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Change message format
Victor Denisov [Tue, 2 Jan 2018 04:24:16 +0000 (20:24 -0800)]
rbd: Change message format

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Inline options function
Victor Denisov [Tue, 2 Jan 2018 04:19:31 +0000 (20:19 -0800)]
rbd: Inline options function

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Drop consistency from tools
Victor Denisov [Sat, 30 Dec 2017 18:42:53 +0000 (10:42 -0800)]
rbd: Drop consistency from tools

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Fix section name
Victor Denisov [Sat, 30 Dec 2017 16:15:10 +0000 (08:15 -0800)]
rbd: Fix section name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agotest/pybind: drop consistency from test name
Victor Denisov [Sat, 30 Dec 2017 15:54:36 +0000 (07:54 -0800)]
test/pybind: drop consistency from test name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Drop consistency from help
Victor Denisov [Sat, 30 Dec 2017 15:35:35 +0000 (07:35 -0800)]
rbd: Drop consistency from help

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Drop consistency from pybind
Victor Denisov [Sat, 30 Dec 2017 15:34:18 +0000 (07:34 -0800)]
librbd: Drop consistency from pybind

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Fix indentation
Victor Denisov [Sat, 30 Dec 2017 15:16:51 +0000 (07:16 -0800)]
librbd: Fix indentation

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: use RBD_GROUP_INVALID_POOL
Victor Denisov [Sat, 30 Dec 2017 04:20:19 +0000 (20:20 -0800)]
librbd: use RBD_GROUP_INVALID_POOL

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Drop word consistency in librbd
Victor Denisov [Sat, 30 Dec 2017 04:06:12 +0000 (20:06 -0800)]
librbd: Drop word consistency in librbd

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: remove get_snap_id_from_namespace
Victor Denisov [Tue, 19 Dec 2017 04:25:48 +0000 (20:25 -0800)]
librbd: remove get_snap_id_from_namespace

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: fixup Move function declaration
Victor Denisov [Mon, 18 Dec 2017 01:12:10 +0000 (17:12 -0800)]
librbd: fixup Move function declaration

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: rename group state to 'incomplete'
Victor Denisov [Mon, 18 Dec 2017 01:05:07 +0000 (17:05 -0800)]
librbd: rename group state to 'incomplete'

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: initialize group state
Victor Denisov [Mon, 18 Dec 2017 00:15:07 +0000 (16:15 -0800)]
cls_rbd: initialize group state

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: Remove h_group_create
Victor Denisov [Tue, 12 Dec 2017 02:50:26 +0000 (18:50 -0800)]
cls_rbd: Remove h_group_create

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: Address comments
Victor Denisov [Tue, 12 Dec 2017 02:27:21 +0000 (18:27 -0800)]
cls_rbd: Address comments

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agoqa/workunits/rbd: Add tests for consistency groups
Victor Denisov [Sun, 2 Apr 2017 22:03:48 +0000 (15:03 -0700)]
qa/workunits/rbd: Add tests for consistency groups

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Add group snapshot command
Victor Denisov [Thu, 29 Sep 2016 03:07:45 +0000 (20:07 -0700)]
rbd: Add group snapshot command

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Add group snapshot operations
Victor Denisov [Tue, 27 Sep 2016 03:18:55 +0000 (20:18 -0700)]
librbd: Add group snapshot operations

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: Add group snapshot operations to cls_rbd
Victor Denisov [Wed, 28 Sep 2016 01:01:00 +0000 (18:01 -0700)]
cls_rbd: Add group snapshot operations to cls_rbd

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agoMerge pull request #19919 from wjwithagen/wip-wjw-rbd-ggate-fix
Mykola Golub [Thu, 11 Jan 2018 15:09:52 +0000 (17:09 +0200)]
Merge pull request #19919 from wjwithagen/wip-wjw-rbd-ggate-fix

rbd-ggate: fix syntax error.

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19917 from yaozongyou/rgw-remove-unused-cls-user-add-bucket
Sage Weil [Thu, 11 Jan 2018 14:56:52 +0000 (08:56 -0600)]
Merge pull request #19917 from yaozongyou/rgw-remove-unused-cls-user-add-bucket

rgw: remove unused cls_user_add_bucket

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19699 from qrGitHub/wip-rgw-useless-line
Casey Bodley [Thu, 11 Jan 2018 14:32:33 +0000 (09:32 -0500)]
Merge pull request #19699 from qrGitHub/wip-rgw-useless-line

rgw: remove useless lines in RGWDeleteBucket::execute

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #19632 from Rubab-Syed/outreachy_mgr_dashboard
John Spray [Thu, 11 Jan 2018 14:27:18 +0000 (14:27 +0000)]
Merge pull request #19632 from Rubab-Syed/outreachy_mgr_dashboard

mgr/dashboard: Add monitor list

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19898 from tchaikov/wip-cmake-build-with-clang
Kefu Chai [Thu, 11 Jan 2018 12:48:25 +0000 (20:48 +0800)]
Merge pull request #19898 from tchaikov/wip-cmake-build-with-clang

cmake: BuildBoost.cmake: use specified compiler for building boost

Reviewed-By: Casey Bodley <cbodley@redhat.com>
7 years agorgw: drop dump_uri_from_state() which isn't used anymore. 19924/head
Radoslaw Zarzynski [Thu, 11 Jan 2018 12:16:31 +0000 (13:16 +0100)]
rgw: drop dump_uri_from_state() which isn't used anymore.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agorbd-ggate: fix syntax error. 19919/head
Willem Jan Withagen [Thu, 11 Jan 2018 08:29:09 +0000 (09:29 +0100)]
rbd-ggate: fix syntax error.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agorgw: remove unused cls_user_add_bucket 19917/head
Yao Zongyou [Thu, 11 Jan 2018 07:15:09 +0000 (15:15 +0800)]
rgw: remove unused cls_user_add_bucket

the function
`int cls_user_add_bucket(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries);`
is unsed and not implemented, so remove it.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoMerge pull request #19879 from jcsp/wip-doc-dashboard-standby
Kefu Chai [Thu, 11 Jan 2018 06:27:19 +0000 (14:27 +0800)]
Merge pull request #19879 from jcsp/wip-doc-dashboard-standby

doc: update mgr/dashboard doc about standbys

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19642 from xiexingguo/wip-pending-new-state
Kefu Chai [Thu, 11 Jan 2018 02:19:13 +0000 (10:19 +0800)]
Merge pull request #19642 from xiexingguo/wip-pending-new-state

osd/OSDMap.h: toss osd out if it has no more pending states

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19901 from vico-research-and-consulting/master
Sage Weil [Wed, 10 Jan 2018 21:38:19 +0000 (15:38 -0600)]
Merge pull request #19901 from vico-research-and-consulting/master

mgr/zabbix: monitoring template improvements

Reviewed-by: Wido den Hollander <wido@widodh.nl>
7 years agoMerge pull request #18833 from yuyuyu101/wip-async-perf
Sage Weil [Wed, 10 Jan 2018 21:37:41 +0000 (15:37 -0600)]
Merge pull request #18833 from yuyuyu101/wip-async-perf

msg/async/AsyncConnection: combine multi alloc into one

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18906 from ovh/bp-buffer-crc-improvements
Yuri Weinstein [Wed, 10 Jan 2018 21:24:24 +0000 (13:24 -0800)]
Merge pull request #18906 from ovh/bp-buffer-crc-improvements

common/buffer: switch crc cache to single pair instead of map

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19547 from tchaikov/wip-22344
Yuri Weinstein [Wed, 10 Jan 2018 21:23:28 +0000 (13:23 -0800)]
Merge pull request #19547 from tchaikov/wip-22344

ceph.in: print all matched commands if arg missing

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19832 from shinobu-x/min_max_filestore
Yuri Weinstein [Wed, 10 Jan 2018 21:22:40 +0000 (13:22 -0800)]
Merge pull request #19832 from shinobu-x/min_max_filestore

os: FileStore, Using stl min | max, MIN | MAX macros instead

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19874 from myoungwon/wip-fix-22641
Yuri Weinstein [Wed, 10 Jan 2018 21:22:09 +0000 (13:22 -0800)]
Merge pull request #19874 from myoungwon/wip-fix-22641

osd: fix a valgrind issue (conditional jump depends on uninitialized value)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/zabbix: monitoring template improvements 19901/head
Marc Schoechlin [Wed, 10 Jan 2018 20:39:32 +0000 (21:39 +0100)]
mgr/zabbix: monitoring template improvements

The changes need some review because i am currently not able to test this in a environment.
- added a host screen which displays all graphs in a convenient way
- replaced AVG by MAX Function in Graphs where maximum values are of
  high interest from operational view
- changed graph type to stacked where combined behavior is of interest
  (i.e. bandwidth and storage consumption)

Signed-off-by: Marc Schoechlin <ms@256bit.org>
7 years agoinclude: Remove fallback usings from encoding.h 19648/head
Adam C. Emerson [Tue, 26 Dec 2017 23:21:15 +0000 (18:21 -0500)]
include: Remove fallback usings from encoding.h

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agotest: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 22:47:58 +0000 (17:47 -0500)]
test: 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>
7 years agotools: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 21:44:14 +0000 (16:44 -0500)]
tools: 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>
7 years agorgw: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 21:19:08 +0000 (16:19 -0500)]
rgw: 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>
7 years agorbd_replay: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 19:45:48 +0000 (14:45 -0500)]
rbd_replay: 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>
7 years agoosdc: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 08:39:34 +0000 (03:39 -0500)]
osdc: 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>
7 years agoosd: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 08:29:25 +0000 (03:29 -0500)]
osd: 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>
7 years agoos: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 07:41:28 +0000 (02:41 -0500)]
os: 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>
7 years agoobjclass: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 06:51:12 +0000 (01:51 -0500)]
objclass: 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>
7 years agomsg: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 06:45:26 +0000 (01:45 -0500)]
msg: 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>
7 years agomon: Use unqualified encode/decode
Adam C. Emerson [Mon, 25 Dec 2017 09:24:19 +0000 (04:24 -0500)]
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>
7 years agomgr: Use unqualified encode/decode
Adam C. Emerson [Mon, 25 Dec 2017 08:33:57 +0000 (03:33 -0500)]
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>
7 years agomessages: Use unqualified encode/decode
Adam C. Emerson [Sun, 24 Dec 2017 22:15:30 +0000 (17:15 -0500)]
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>
7 years agomds: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 20:54:32 +0000 (15:54 -0500)]
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>
7 years agorbd: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 12:28:09 +0000 (07:28 -0500)]
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>
7 years agolibrados: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 05:00:22 +0000 (00:00 -0500)]
librados: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agokv: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 04:56:24 +0000 (23:56 -0500)]
kv: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agokey_value_store: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 04:48:20 +0000 (23:48 -0500)]
key_value_store: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agojournal: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 04:42:21 +0000 (23:42 -0500)]
journal: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoinclude: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 04:34:07 +0000 (23:34 -0500)]
include: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocrush: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 03:12:44 +0000 (22:12 -0500)]
crush: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocompressor: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 03:05:32 +0000 (22:05 -0500)]
compressor: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocls: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 02:52:50 +0000 (21:52 -0500)]
cls: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoclient: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 02:03:33 +0000 (21:03 -0500)]
client: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoauth: Use unqualified encode/decode
Adam C. Emerson [Sat, 23 Dec 2017 01:46:04 +0000 (20:46 -0500)]
auth: Use unqualified encode/decode

This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocommon: Use unqualified encoding in the rest of the files
Adam C. Emerson [Fri, 22 Dec 2017 07:19:58 +0000 (02:19 -0500)]
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>
7 years agocommon: Use unqualified encoding in ceph_time.h
Adam C. Emerson [Fri, 22 Dec 2017 05:38:05 +0000 (00:38 -0500)]
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>
7 years agocommon: Use unqualified encoding in some files
Adam C. Emerson [Fri, 22 Dec 2017 04:06:37 +0000 (23:06 -0500)]
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>
7 years agoencoding: Remove no-longer-needed #define
Adam C. Emerson [Sat, 23 Dec 2017 00:59:02 +0000 (19:59 -0500)]
encoding: Remove no-longer-needed #define

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoencoding: Move encode/decode functions into ceph namespace
Adam C. Emerson [Fri, 22 Dec 2017 03:41:54 +0000 (22:41 -0500)]
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>
7 years agoMerge pull request #19615 from qrGitHub/wip-rgw-log-adjustment2
Yuri Weinstein [Wed, 10 Jan 2018 16:31:51 +0000 (08:31 -0800)]
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>
7 years agoMerge pull request #19740 from fangyuxiangGL/invalid-compress
Yuri Weinstein [Wed, 10 Jan 2018 16:29:15 +0000 (08:29 -0800)]
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>
7 years agoMerge pull request #19753 from qrGitHub/wip-rgw-fix-cephdencoder
Yuri Weinstein [Wed, 10 Jan 2018 16:26:08 +0000 (08:26 -0800)]
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>
7 years agoMerge pull request #19814 from qrGitHub/wip-rgw-optimize-function3
Yuri Weinstein [Wed, 10 Jan 2018 16:25:26 +0000 (08:25 -0800)]
Merge pull request #19814 from qrGitHub/wip-rgw-optimize-function3

rgw: optimize function parse_raw_oid

Reviewed-by: Casey Bodley <cbodley@redhat.com>