]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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>
7 years agoMerge pull request #19817 from qrGitHub/wip-rgw-useless-line2
Yuri Weinstein [Wed, 10 Jan 2018 16:25:00 +0000 (08:25 -0800)]
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>
7 years agoMerge pull request #19882 from adamwg/awg/fix-config-docs
Sage Weil [Wed, 10 Jan 2018 16:00:06 +0000 (10:00 -0600)]
Merge pull request #19882 from adamwg/awg/fix-config-docs

doc: Update config file search paths to reflect reality

7 years agoMerge pull request #19441 from wumingqiao/wip-pg-on-flushed
Sage Weil [Wed, 10 Jan 2018 15:39:08 +0000 (09:39 -0600)]
Merge pull request #19441 from wumingqiao/wip-pg-on-flushed

osd/PG: handle flushed event directly

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19813 from xxhdx1985126/wip_xxh_low_list_size
Kefu Chai [Wed, 10 Jan 2018 15:37:30 +0000 (23:37 +0800)]
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>
7 years agoMerge pull request #19812 from shinobu-x/osd_get_next_up_osd_after
Kefu Chai [Wed, 10 Jan 2018 15:35:17 +0000 (23:35 +0800)]
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>
7 years agoMerge pull request #19805 from tchaikov/wip-perf-counters-cleanup
Kefu Chai [Wed, 10 Jan 2018 15:34:49 +0000 (23:34 +0800)]
Merge pull request #19805 from tchaikov/wip-perf-counters-cleanup

common/perf_counters: remove unused parameter

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19759 from ifed01/wip-ifed-throttle64
Kefu Chai [Wed, 10 Jan 2018 15:31:31 +0000 (23:31 +0800)]
Merge pull request #19759 from ifed01/wip-ifed-throttle64

common/throttle: start using 64-bit values

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19529 from thmour/master
Kefu Chai [Wed, 10 Jan 2018 15:28:52 +0000 (23:28 +0800)]
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>
7 years agoMerge pull request #19520 from ovh/bp-snap-trimq-visibility
Kefu Chai [Wed, 10 Jan 2018 15:25:53 +0000 (23:25 +0800)]
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>
7 years agoMerge pull request #19374 from symptog/master
Kefu Chai [Wed, 10 Jan 2018 15:22:41 +0000 (23:22 +0800)]
Merge pull request #19374 from symptog/master

mgr/influx: Add InfluxDB SSL Option

Reviewed-by: Wido den Hollander <wido@42on.com>
7 years agocmake: BuildBoost.cmake: use specified compiler for building boost 19898/head
Kefu Chai [Wed, 10 Jan 2018 14:13:50 +0000 (22:13 +0800)]
cmake: BuildBoost.cmake: use specified compiler for building boost

* user-config.jam is the suggested way for adding toolset for Boost.Build.
* always specify toolset when running b2, so we can build boost with
specified compiler instead of the default one guessed by boost building system.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19875 from ceph/wip-rm22307
Alfredo Deza [Wed, 10 Jan 2018 14:45:13 +0000 (09:45 -0500)]
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>
7 years agoMerge pull request #19393 from tchaikov/wip-no-more-gcc-4.8
Kefu Chai [Wed, 10 Jan 2018 14:10:21 +0000 (22:10 +0800)]
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>
7 years agoMerge pull request #19622 from majianpeng/bluestore-check-obj-max-siz
Sage Weil [Wed, 10 Jan 2018 13:01:53 +0000 (07:01 -0600)]
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>
7 years agoMerge pull request #19707 from shinobu-x/pick_address_a
Sage Weil [Wed, 10 Jan 2018 13:01:33 +0000 (07:01 -0600)]
Merge pull request #19707 from shinobu-x/pick_address_a

common/pick_address.cc: Cleanup

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19796 from LiumxNL/fix-ooo-caused-con-reset
Sage Weil [Wed, 10 Jan 2018 13:01:04 +0000 (07:01 -0600)]
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>
7 years agoMerge pull request #19820 from yaozongyou/silence-maybe-uninitialized-warning
Sage Weil [Wed, 10 Jan 2018 13:00:31 +0000 (07:00 -0600)]
Merge pull request #19820 from yaozongyou/silence-maybe-uninitialized-warning

osd: silence maybe-uninitialized false positives

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19864 from rzarzynski/wip-bs-no-blobrefing-in-do_read
Sage Weil [Wed, 10 Jan 2018 13:00:06 +0000 (07:00 -0600)]
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>
7 years agoMerge pull request #19866 from liewegas/wip-bluestore-error-injection
Sage Weil [Wed, 10 Jan 2018 12:59:40 +0000 (06:59 -0600)]
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>
7 years agoMerge pull request #19869 from liewegas/wip-log-desc
Sage Weil [Wed, 10 Jan 2018 12:59:16 +0000 (06:59 -0600)]
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>
7 years agoMerge PR #18424 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:32 +0000 (16:56 -0800)]
Merge PR #18424 into master

* refs/pull/18424/head:
mds: create snaprealm for quota enabled inode

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19572 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:27 +0000 (16:56 -0800)]
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>
7 years agoMerge PR #19672 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:22 +0000 (16:56 -0800)]
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>
7 years agoMerge PR #19693 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:17 +0000 (16:56 -0800)]
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>
7 years agoMerge PR #19696 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:13 +0000 (16:56 -0800)]
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>
7 years agoMerge PR #19702 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:08 +0000 (16:56 -0800)]
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>
7 years agoMerge PR #19703 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:56:03 +0000 (16:56 -0800)]
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>
7 years agoMerge PR #19723 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:55:59 +0000 (16:55 -0800)]
Merge PR #19723 into master

* refs/pull/19723/head:
mds: clean up log's function name for CDir.cc and Beacon.cc
mds: clean up log's function name for CDentry.cc
mds: clean up log's function name for CInode.cc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19730 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:55:54 +0000 (16:55 -0800)]
Merge PR #19730 into master

* refs/pull/19730/head:
mds: Using stl min | max, MIN | MAX macros instead

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19762 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:55:50 +0000 (16:55 -0800)]
Merge PR #19762 into master

* refs/pull/19762/head:
mds: fix dump last_sent

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19767 into master
Patrick Donnelly [Wed, 10 Jan 2018 00:55:45 +0000 (16:55 -0800)]
Merge PR #19767 into master

* refs/pull/19767/head:
client: enhance log for _closed_mds_session

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc: Update config file search paths to reflect reality 19882/head
Adam Wolfe Gordon [Tue, 9 Jan 2018 23:07:53 +0000 (23:07 +0000)]
doc: Update config file search paths to reflect reality

The config file paths listed in the docs don't match the config file
paths actually searched by ceph (see `src/common/config.cc`). Update the
docs to reflect the current reality.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
7 years agodoc: update mgr/dashboard doc about standbys 19879/head
John Spray [Tue, 9 Jan 2018 22:23:33 +0000 (22:23 +0000)]
doc: update mgr/dashboard doc about standbys

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoceph-volume: adds success message to ceph-volume simple activate 19875/head
Andrew Schoen [Tue, 9 Jan 2018 18:21:35 +0000 (12:21 -0600)]
ceph-volume: adds success message to ceph-volume simple activate

This used to only show the message if systemd was not being used, now
it will show this always if the command is successful.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #18788 from amitkumar50/cov-mon-1
Yuri Weinstein [Tue, 9 Jan 2018 17:30:43 +0000 (09:30 -0800)]
Merge pull request #18788 from amitkumar50/cov-mon-1

mon: NULL check of logger before use

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19054 from cbodley/wip-librados-asio
Yuri Weinstein [Tue, 9 Jan 2018 17:30:22 +0000 (09:30 -0800)]
Merge pull request #19054 from cbodley/wip-librados-asio

librados: add async interfaces for use with Networking TS

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19852 from yaozongyou/rgw-remove-unused-function
Orit Wasserman [Tue, 9 Jan 2018 17:16:23 +0000 (19:16 +0200)]
Merge pull request #19852 from yaozongyou/rgw-remove-unused-function

rgw: remove unused function get_system_obj_attrs
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #16383 from mikulely/1-ban-change-swift-obj-placement
Yuri Weinstein [Tue, 9 Jan 2018 17:11:56 +0000 (09:11 -0800)]
Merge pull request #16383 from mikulely/1-ban-change-swift-obj-placement

rgw: drop the unnecessary handling of Swift's X-Storage-Policy on objects

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #17683 from shashalu/fix-lc-xml
Yuri Weinstein [Tue, 9 Jan 2018 17:10:29 +0000 (09:10 -0800)]
Merge pull request #17683 from shashalu/fix-lc-xml

rgw: RGWPutLC return ERR_MALFORMED_XML  when missing <Rule> tag in lifecycle.xml

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #17873 from amitkumar50/cov-rgw-8
Yuri Weinstein [Tue, 9 Jan 2018 17:05:32 +0000 (09:05 -0800)]
Merge pull request #17873 from amitkumar50/cov-rgw-8

rgw: Returning when dst_ioctx.operate() returns error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18861 from gaosibei/wip-fix-null-pointer
Yuri Weinstein [Tue, 9 Jan 2018 17:04:57 +0000 (09:04 -0800)]
Merge pull request #18861 from gaosibei/wip-fix-null-pointer

rgw: fix null pointer crush

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #19061 from Leeshine/wip-rgw-bug-21583
Yuri Weinstein [Tue, 9 Jan 2018 17:04:22 +0000 (09:04 -0800)]
Merge pull request #19061 from Leeshine/wip-rgw-bug-21583

rgw: fix the bug of radowgw-admin zonegroup set requires realm

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #19854 from fangyuxiangGL/doc-sync-err
Casey Bodley [Tue, 9 Jan 2018 16:15:15 +0000 (11:15 -0500)]
Merge pull request #19854 from fangyuxiangGL/doc-sync-err

rgw: add radosgw-admin sync error trim to trim sync error log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd: fix a vargrind issue 19874/head
myoungwon oh [Tue, 9 Jan 2018 16:01:16 +0000 (01:01 +0900)]
osd: fix a vargrind issue

Fixes: http://tracker.ceph.com/issues/22641
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoceph-volume: add success message for ceph-volume lvm create
Andrew Schoen [Tue, 9 Jan 2018 15:52:23 +0000 (09:52 -0600)]
ceph-volume: add success message for ceph-volume lvm create

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: add success message for ceph-volume lvm activate
Andrew Schoen [Tue, 9 Jan 2018 15:48:09 +0000 (09:48 -0600)]
ceph-volume: add success message for ceph-volume lvm activate

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: add success message for ceph-volume lvm prepare
Andrew Schoen [Tue, 9 Jan 2018 15:45:40 +0000 (09:45 -0600)]
ceph-volume: add success message for ceph-volume lvm prepare

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19809 from liu-chunmei/fix_dpdk_mzname_setting_issue
Kefu Chai [Tue, 9 Jan 2018 15:16:43 +0000 (23:16 +0800)]
Merge pull request #19809 from liu-chunmei/fix_dpdk_mzname_setting_issue

osd: fix dpdk memzon mz_name setting issue

Reviewed-By: Kefu Chai <kchai@redhat.com>
7 years agolibrados: add async interfaces for use with Networking TS 19054/head
Casey Bodley [Mon, 13 Feb 2017 19:55:06 +0000 (14:55 -0500)]
librados: add async interfaces for use with Networking TS

Defines asynchronous librados operations that satisfy all of the
"Requirements on asynchronous operations" imposed by the C++ Networking
TS [1] in section 13.2.7. These operations are implemented in terms of
boost::asio, but the interfaces themselves are free of boost types -
this makes the transition to std::net trivial when it's available.

These interfaces conform to the Extensible Asynchronous Model [2] that
originated in boost::asio. This model allows the last 'handler' argument
to either be a callback that gets the result, a coroutine yield_context
that will suspend until completion, or a 'use_future' tag to request the
result in a std::future (see the unit tests for examples of each). The
'Extensible' part also enables further integration with new frameworks.

For now, only async_read(), async_write(), and the read/write variants
of async_operate() are provided.

[1] Working Draft, C++ Extensions for Networking
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4711.pdf
[2] "Library Foundations for Asynchronous Operations"
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3896.pdf

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19616 from ifed01/wip-ifed-revert-extents
Sage Weil [Tue, 9 Jan 2018 14:44:52 +0000 (08:44 -0600)]
Merge pull request #19616 from ifed01/wip-ifed-revert-extents

osd: get rid off extent map in object_info

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19764 from ifed01/wip-ifed-storetest-cempty
Sage Weil [Tue, 9 Jan 2018 14:44:28 +0000 (08:44 -0600)]
Merge pull request #19764 from ifed01/wip-ifed-storetest-cempty

objectstore/store_test: fix lack of flush prior to collection_empty()…

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19841 from rzarzynski/wip-bs-dump-onode-by-ref
Sage Weil [Tue, 9 Jan 2018 14:44:14 +0000 (08:44 -0600)]
Merge pull request #19841 from rzarzynski/wip-bs-dump-onode-by-ref

os/bluestore: _dump_onode() don't prolongate Onode anymore.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agocommon/options: long description for log_stderr_prefix 19869/head
Sage Weil [Tue, 9 Jan 2018 14:24:54 +0000 (08:24 -0600)]
common/options: long description for log_stderr_prefix

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: using macro OBJECT_MAX_SIZE to check object max size. 19622/head
Jianpeng Ma [Tue, 9 Jan 2018 11:51:26 +0000 (19:51 +0800)]
os/bluestore: using macro OBJECT_MAX_SIZE to check object max size.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoos/bluestore: fix data read error injection in bluestore 19866/head
Sage Weil [Mon, 8 Jan 2018 22:27:51 +0000 (16:27 -0600)]
os/bluestore: fix data read error injection in bluestore

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: avoid unneeded BlobRefing in _do_read(). 19864/head
Radoslaw Zarzynski [Fri, 5 Jan 2018 02:30:22 +0000 (03:30 +0100)]
os/bluestore: avoid unneeded BlobRefing in _do_read().

The hottest place in the terms of CPU cycles according to `perf annotate`:
```
       |          intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px )
  0,04 | 365:   mov    0x28(%rax),%r12
       |          {
       |              if( px != 0 ) intrusive_ptr_add_ref( px );
  0,41 |        test   %r12,%r12
       |      ↓ je     37c
       |      _ZNSt13__atomic_baseIiEppEv():
  0,04 |        lock   addl   $0x1,(%r12)
 19,75 |        mov    0xa8(%rsp),%rax
       |      _ZN9BlueStore8_do_readEPNS_10CollectionEN5boost13intrusive_ptrINS_5OnodeEEEmmRN4ceph6buffer4listEj():
       |          }
       |          BlobRef bptr = lp->blob;
       |          unsigned l_off = pos - lp->logical_offset
       | 37c:   mov    0xa0(%rsp),%rdx
       |        sub    0x18(%rax),%edx
       |          unsigned b_off = l_off + lp->blob_offset;
  0,08 |        mov    0x1c(%rax),%ecx
```

With the patch applied:

```
       |          T * operator->() const
       |          {
       |              BOOST_ASSERT( px != 0 );
       |              return px;
       |        mov    0x28(%rcx),%rax
       |        mov    0x8(%rax),%rax
       |      _ZN9BlueStore8_do_readEPNS_10CollectionEN5boost13intrusive_ptrINS
       |          unsigned b_len = std::min(left, lp->length - l_off);
       |
       |          ready_regions_t cache_res;
       |          interval_set<uint32_t> cache_interval;
       |          bptr->shared_blob->bc.read(
 17,78 |        lea    0x18(%rax),%rdi
       |      _ZNK5boost13intrusive_ptrIN9BlueStore10CollectionEEcvbEv():
       |      #if !defined( BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS ) && !
       |          && !(defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <=
       |
       |          explicit operator bool () const BOOST_NOEXCEPT
       |          {
       |              return px != 0;
  0,07 |        mov    0x8(%rax),%rax
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocmake: do not build/install boost::regex 19393/head
Kefu Chai [Fri, 8 Dec 2017 06:18:47 +0000 (14:18 +0800)]
cmake: do not build/install boost::regex

we now use std::regex now, since we've dropped the support of GCC 4.8

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon: s/boost::regex/std::regex/
Kefu Chai [Mon, 8 Jan 2018 16:10:26 +0000 (00:10 +0800)]
mon: s/boost::regex/std::regex/

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorgw: s/boost::regex/std::regex/
Kefu Chai [Fri, 8 Dec 2017 06:07:52 +0000 (14:07 +0800)]
rgw: s/boost::regex/std::regex/

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon: s/boost::regex/std::regex/
Kefu Chai [Fri, 8 Dec 2017 05:52:08 +0000 (13:52 +0800)]
common: s/boost::regex/std::regex/

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest: s/boost::regex/std::regex/
Kefu Chai [Fri, 8 Dec 2017 05:51:53 +0000 (13:51 +0800)]
test: s/boost::regex/std::regex/

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoRevert "rgw: Support certain archaic and antiquated distributions"
Kefu Chai [Fri, 8 Dec 2017 05:40:29 +0000 (13:40 +0800)]
Revert "rgw: Support certain archaic and antiquated distributions"

This reverts commit af8d9bdf07ab97b9d9387f68ba0fedccce803073.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotools/{rbd_nbd,rbd}: s/boost::regex/std::regex/
Kefu Chai [Fri, 24 Jun 2016 02:41:24 +0000 (10:41 +0800)]
tools/{rbd_nbd,rbd}: s/boost::regex/std::regex/

* src/tools/rbd/*: s/boost::regex/std::regex/
* */CMakeLists.txt: do not link against Boost_REGEX_LIBRARY
    anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorgw: add radosgw-admin sync error trim to trim sync error log 19854/head
fang yuxiang [Tue, 9 Jan 2018 03:03:52 +0000 (11:03 +0800)]
rgw: add radosgw-admin sync error trim to trim sync error log

Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
7 years agoMerge PR #19791 into master
Patrick Donnelly [Tue, 9 Jan 2018 04:45:32 +0000 (20:45 -0800)]
Merge PR #19791 into master

* refs/pull/19791/head:
doc: misc fixes
doc: fix heading

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc: misc fixes 19791/head
Jos Collin [Fri, 5 Jan 2018 06:21:00 +0000 (11:51 +0530)]
doc: misc fixes

misc fixes for best-practices.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19662 from tchaikov/wip-denc-cxx-17
Kefu Chai [Tue, 9 Jan 2018 03:34:15 +0000 (11:34 +0800)]
Merge pull request #19662 from tchaikov/wip-denc-cxx-17

denc: use constexpr-if to replace some SFINAE impls

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agorgw: remove unused function get_system_obj_attrs 19852/head
Yao Zongyou [Tue, 9 Jan 2018 03:31:54 +0000 (11:31 +0800)]
rgw: remove unused function get_system_obj_attrs

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agodenc: use constexpr-if to replace some SFINAE impls 19662/head
Kefu Chai [Sat, 23 Dec 2017 08:56:53 +0000 (16:56 +0800)]
denc: use constexpr-if to replace some SFINAE impls

more readable this way IMO.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #19807 into master
Patrick Donnelly [Mon, 8 Jan 2018 22:27:36 +0000 (14:27 -0800)]
Merge PR #19807 into master

* refs/pull/19807/head:
mds: warn for mds_cache_memory_limit bug in doc

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agomds: warn for mds_cache_memory_limit bug in doc 19807/head
Patrick Donnelly [Fri, 5 Jan 2018 19:23:23 +0000 (11:23 -0800)]
mds: warn for mds_cache_memory_limit bug in doc

Fixes: http://tracker.ceph.com/issues/22599
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>