]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Tue, 2 Jul 2019 09:37:27 +0000 (17:37 +0800)]
Merge pull request #28581 from Aran85/fix-mtime
osd: copyfrom omitted to set mtime
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Volker Theile [Tue, 2 Jul 2019 08:50:09 +0000 (10:50 +0200)]
mgr/dashboard: Separate file for icons for refering and reusing (#27376)
mgr/dashboard: Separate file for icons for refering and reusing
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Alfonso MartÃnez <almartin@redhat.com>
Kefu Chai [Tue, 2 Jul 2019 08:31:38 +0000 (16:31 +0800)]
Merge pull request #28827 from Rjerk/fix-mgr-ansible-doc
doc/mgr/ansible.rst: fix typo
Reviewed-by: Juan Miguel Olmo MartÃnez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 Jul 2019 07:41:09 +0000 (15:41 +0800)]
Merge pull request #28798 from tchaikov/wip-crimson-net
crimson/net: print tx/rx messages using logger().info()
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxincheng@gmail.com>
Lan Liu [Tue, 2 Jul 2019 02:45:43 +0000 (10:45 +0800)]
doc/mgr/ansible.rst: fix typo
Signed-off-by: Lan Liu <liulan@umcloud.com>
Kefu Chai [Tue, 2 Jul 2019 04:49:13 +0000 (12:49 +0800)]
Merge pull request #28828 from iotcg/crimson
crimson/common: remove unused file .#log.cc
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 Jul 2019 04:46:41 +0000 (12:46 +0800)]
Merge pull request #28818 from tchaikov/wip-ceph-conf-cli-test
test/cli/ceph-conf: fix test
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Xie Xingguo [Tue, 2 Jul 2019 03:55:55 +0000 (11:55 +0800)]
Merge pull request #28805 from Rjerk/fix-doc
doc/rados/configuration: fix typos in osd-config-ref.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
Changcheng Liu [Tue, 2 Jul 2019 03:31:45 +0000 (11:31 +0800)]
crimson/common: remove unused file .#log.cc
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
Kefu Chai [Sun, 30 Jun 2019 08:50:18 +0000 (16:50 +0800)]
crimson/net: print tx/rx messages using logger().debug()
so we can find them with less efforts.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 Jul 2019 03:04:48 +0000 (11:04 +0800)]
crimson/net: print trivial logging using "trace"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 30 Jun 2019 10:58:55 +0000 (18:58 +0800)]
crimson/net: note down server's peer_id as client
the peer_id is not used at this moment. this change is made just for
the sake of completeness.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 30 Jun 2019 10:04:28 +0000 (18:04 +0800)]
crimson/net: use Connection::peer_is_mon()
always prefer using interface over its implementation
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 30 Jun 2019 10:01:13 +0000 (18:01 +0800)]
crimson: store ticket.peer_global_id in connection
peer_global_id is used by `ProtocolV2::_handle_auth_request()` when
encoding an `AuthDoneFrame`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lan Liu [Mon, 1 Jul 2019 03:30:38 +0000 (11:30 +0800)]
doc/rados/configuration: fix typos in osd-config-ref.rst
Signed-off-by: Lan Liu <liulan@umcloud.com>
Kefu Chai [Tue, 2 Jul 2019 02:04:07 +0000 (10:04 +0800)]
Merge pull request #28795 from tchaikov/wip-cmake-rbd
CMakeLists.txt: fix typo in error message
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Tue, 2 Jul 2019 02:00:03 +0000 (10:00 +0800)]
Merge pull request #28750 from neha-ojha/wip-40488
doc/rados/operations/erasure-code.rst: allow recovery below min_size
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Mon, 1 Jul 2019 22:31:55 +0000 (15:31 -0700)]
Merge PR #27073 into master
* refs/pull/27073/head:
qa/tasks: Check MDS failover during mon_thrash
qa/tasks: Compare two FSStatuses
qa/suites/fs: renamed default.yaml to mds.yaml
qa/suites/fs: mon_thrash test for fs
qa/tasks: Fix typo in the comment
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 1 Jul 2019 22:28:30 +0000 (15:28 -0700)]
Merge PR #28459 into master
* refs/pull/28459/head:
mds: wake up lock waiters after forcibly changing lock state
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 1 Jul 2019 21:56:54 +0000 (14:56 -0700)]
Merge PR #28642 into master
* refs/pull/28642/head:
mds: check last laggy before marking unresponsive client stale
mds: remove the code that skip evicting the only client
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Matt Benjamin [Mon, 1 Jul 2019 18:15:28 +0000 (14:15 -0400)]
Merge pull request #28632 from linuxbox2/wip-rgwfile-advexp
rgw_file: advance_mtime() should consider namespace expiration
Casey Bodley [Mon, 1 Jul 2019 13:59:02 +0000 (09:59 -0400)]
Merge pull request #27794 from cbodley/wip-39487
rgw: data/bilogs are trimmed when no peers are reading them
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Mykola Golub [Mon, 1 Jul 2019 13:47:57 +0000 (16:47 +0300)]
Merge pull request #28743 from dillaman/wip-40417
librbd: prevent concurrent AIO callbacks to external clients
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Mon, 1 Jul 2019 12:39:03 +0000 (20:39 +0800)]
test/cli/ceph-conf: fix test
turns out the libstdc++ on fc30 does not include error_code.message() in
filesystem_error.what(). let's make it optional
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 1 Jul 2019 02:04:12 +0000 (10:04 +0800)]
Merge pull request #28800 from tchaikov/wip-crimson-mkfs
crimson: use given osd_fsid when mkfs
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Mon, 1 Jul 2019 01:41:52 +0000 (09:41 +0800)]
Merge pull request #28774 from falcon78921/wip-doc-40575
doc: fixed broken link in Swift Settings section
Reviewed-by: Kefu Chai <kchai@redhat.com>
James McClune [Thu, 27 Jun 2019 21:16:46 +0000 (17:16 -0400)]
doc: fixed broken link in Swift Settings section
Fixes: https://tracker.ceph.com/issues/40575
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
Kefu Chai [Sun, 30 Jun 2019 15:44:51 +0000 (23:44 +0800)]
Merge pull request #28786 from tchaikov/wip-const-head
osd/PrimaryLogPG: more constness
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sun, 30 Jun 2019 15:34:53 +0000 (23:34 +0800)]
crimson: use given osd_fsid when mkfs
MemStore does not have this feature, but CyanStore needs it. because
`qa/tasks/ceph.py` uses following steps when creating/starting an OSD
1. ceph-osd --mkfs --mkkey -i <osd_id> --monmap <monmap>
2. read the osd_fsid of osd.<osd_id>
3. ceph osd new <osd_fsid> <osd_id>
when we mkfs for the OSD, the osd_fsid is still unknown. so we cannot
use the configured one, as it is always empty. in that case, we need to
use a random uuid, and persist it to both ${osd_data}/fsid and
superblock.osd_fsid
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 30 Jun 2019 07:55:08 +0000 (15:55 +0800)]
Merge pull request #28719 from majianpeng/remove-unused-code-XioMessenger
msg/Message: Remove used code about XioMessenger.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 30 Jun 2019 07:52:32 +0000 (15:52 +0800)]
Merge pull request #28794 from tchaikov/wip-crimson-option-help-seastar
crimson/osd: add "--help-seastar" command line option
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 15:47:42 +0000 (23:47 +0800)]
CMakeLists.txt: s/Remote block storage/RADOS Block Device/
RBD is short for RADOS Block Device, not Remote Block Storage.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 15:35:46 +0000 (23:35 +0800)]
CMakeLists.txt: fix typo in error message
krbd depends on rbd, so we cannot build krbd without rbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 15:15:34 +0000 (23:15 +0800)]
doc/dev/crimson.rst: update with stuff related to seastar options
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 15:02:39 +0000 (23:02 +0800)]
Merge pull request #28792 from tchaikov/wip-crimson-logging
common/config_values: set seastar logging level per that of ceph
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 14:54:15 +0000 (22:54 +0800)]
Merge pull request #28790 from tchaikov/wip-crimson-unknown-objectstore
crimson/osd: abort on unsupported objectstore type
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 14:37:02 +0000 (22:37 +0800)]
crimson/osd: add "--help-seastar" command line option
so we can
* have access to the available command line options offered by Seastar.
* tell if the executable we are playing around is ceph-osd or crimson-osd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 13:40:58 +0000 (21:40 +0800)]
doc/dev/crimson.rst: update logging related doc
as crimson's logging levels are now connected those of ceph, there is no
need to note down the difference between them anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 13:35:31 +0000 (21:35 +0800)]
common/config_values: set seastar logging level as well
when the logging level of a subsys changes, update seastar accordingly
before this change, seastar logging levels of different logger are not
connected to ceph's logging levels of different subsystem.
after this change, they are connected. whenever a subsys's logging level
changes, the corresponding seastar logger is updated as well.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 13:34:39 +0000 (21:34 +0800)]
common/dout.h: extract log level mapping out
so we can reuse it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 12:25:16 +0000 (20:25 +0800)]
crimson/osd: revert
9813f7d6
since we have a proper PeeringState implementation, there is no need to
fake an active+clean PG anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 11:52:45 +0000 (19:52 +0800)]
crimson/osd: abort on unsupported objectstore type
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 11:52:16 +0000 (19:52 +0800)]
crimson/osd: add editor variables/options
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 11:50:18 +0000 (19:50 +0800)]
crimson/common: implement "__ceph_abortf()"
the macro of `ceph_abort_msgf()` is implemented using it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 07:08:26 +0000 (15:08 +0800)]
crimson/osd: add a space before function name
for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 07:06:25 +0000 (15:06 +0800)]
crimson/osd: use get_osdmap_epoch()
always prefer using the interface.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 06:30:16 +0000 (14:30 +0800)]
osd/PrimaryLogPG: more constness
use `hobject_t::get_head()` instead of relying on the fact that head
object's snap is `CEPH_NOSNAP`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Jun 2019 04:12:36 +0000 (12:12 +0800)]
Merge pull request #28780 from varshar16/wip-doc-update-sepia-link
doc: Updates link to Sepia lab
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Fri, 28 Jun 2019 23:09:00 +0000 (19:09 -0400)]
Merge pull request #28664 from linuxbox2/wip-rgwfile-faststats
rgw_file: introduce fast S3 Unix stats (immutable)
Gregory Farnum [Fri, 28 Jun 2019 20:59:13 +0000 (13:59 -0700)]
doc: update erasure-code.rst with review comments.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Wed, 26 Jun 2019 15:14:11 +0000 (08:14 -0700)]
doc: update erasure code recovery description
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Ali Maredia [Fri, 28 Jun 2019 20:36:32 +0000 (16:36 -0400)]
Merge pull request #28783 from cbodley/wip-rgw-object-lock-get-params
rgw: fix MalformedXML errors in PutBucketObjectLock/PutObjRetention
Matt Benjamin [Wed, 19 Jun 2019 18:43:38 +0000 (14:43 -0400)]
rgw_file: introduce fast S3 Unix stats (immutable)
For objects originating in S3/Swift, it is frequently acceptable
to synthesize c/mtime and size stats from meta attributes in the RGW
bucket index entry.
Synthetic stat behavior is not compatible with mutation of file
ownership and permissions via SETATTR. In future, current xattr-based,
mutable, Unix stats may be moved to the bucket index. For now, use
synthetic stats only when a new option rgw_nfs_s3_fast_attrs is present.
Fixes: http://tracker.ceph.com/issues/40456
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Fri, 28 Jun 2019 20:17:34 +0000 (16:17 -0400)]
Merge pull request #27964 from Kriechi/fix-rgw-ldap-username
docs: fix rgw_ldap_dnattr username token
Casey Bodley [Fri, 28 Jun 2019 19:25:12 +0000 (15:25 -0400)]
Merge pull request #28724 from ivancich/wip-abort-multipart-fix
rgw: multipart upload abort is best-effort
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Fri, 28 Jun 2019 18:58:54 +0000 (14:58 -0400)]
Merge pull request #28102 from albIN7/liv2
RGW:Listobjectsv2
Casey Bodley [Fri, 28 Jun 2019 18:54:54 +0000 (14:54 -0400)]
rgw: fix MalformedXML errors in PutBucketObjectLock/PutObjRetention
RGWPutBucketObjectLock was not calling get_params(), so the 'data' it
was trying to parse was empty
RGWPutObjRetention was calling get_params() a second time, which
overwrote the 'data' from the first call
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 28 Jun 2019 18:44:18 +0000 (13:44 -0500)]
Merge PR #28491 into master
* refs/pull/28491/head:
doc/rados/operations: add safe-to-destroy check to OSD replacement workflow
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
J. Eric Ivancich [Fri, 28 Jun 2019 17:00:00 +0000 (13:00 -0400)]
Merge pull request #28781 from ivancich/wip-fix-source-permissions
src/: remove execute permissions on nine source files
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Fri, 28 Jun 2019 16:11:00 +0000 (09:11 -0700)]
Merge pull request #28775 from neha-ojha/wip-doc-delete-sleep
doc/rados/configuration/osd-config-ref.rst: document osd_delete_sleep
Reviewed-by: Sage Weil <sage@redhat.com>
J. Eric Ivancich [Wed, 26 Jun 2019 18:48:28 +0000 (14:48 -0400)]
misc: remove execute permissions on nine source files
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Matt Benjamin [Fri, 28 Jun 2019 15:05:42 +0000 (11:05 -0400)]
Merge pull request #28565 from linuxbox2/wip-rgwfile-eof
rgw_file: fix readdir eof() calc--caller stop implies !eof
Jason Dillaman [Fri, 28 Jun 2019 14:54:57 +0000 (10:54 -0400)]
qa/valgrind.supp: drop boost::lockfree::queue suppression
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 28 Jun 2019 14:50:22 +0000 (10:50 -0400)]
cmake: boost valgrind fixes for boost::lockfree::queue
The issue has been fixed upstream under lockfree commit
7e23dac52d08ed1a099de9a6fb8bcdefbb06d2da but is not yet available in
a boost release.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Varsha Rao [Fri, 28 Jun 2019 14:17:50 +0000 (19:47 +0530)]
doc: Updates link to Sepia lab
Signed-off-by: Varsha Rao <varao@redhat.com>
Jason Dillaman [Fri, 28 Jun 2019 11:42:43 +0000 (07:42 -0400)]
Merge pull request #28761 from lixiaoy1/pmem_osd
os/bluestore: fix pmem osd build problem
Reviewed-by: Jason Dillaman <dllaman@redhat.com>
Kefu Chai [Fri, 28 Jun 2019 09:38:40 +0000 (17:38 +0800)]
Merge pull request #28776 from badone/wip-minimimal-config-no-longer-valid
do_cmake.sh: Add a heading to the minimal config
Reviewed-by: Kefu Chai <kchai@redhat.com>
lixiaoy1 [Thu, 27 Jun 2019 14:12:34 +0000 (10:12 -0400)]
os/bluestore: fix pmem osd build problem
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Brad Hubbard [Fri, 28 Jun 2019 05:46:30 +0000 (15:46 +1000)]
do_cmake.sh: Add a heading to the minimal config
Post #28634 the minimal ceph config is invalid without a header.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Fri, 28 Jun 2019 04:14:19 +0000 (12:14 +0800)]
Merge pull request #28771 from athanatos/sjust/wip-schedule-event-on-commit
crimson/osd/pg: start_operation for read_state, schedule_event_on_commit
Reviewed-by: Yingxin Cheng <yingxincheng@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Fri, 28 Jun 2019 00:21:58 +0000 (17:21 -0700)]
doc/rados/configuration/osd-config-ref.rst: document osd_delete_sleep
Signed-off-by: Neha Ojha <nojha@redhat.com>
Samuel Just [Thu, 27 Jun 2019 18:57:22 +0000 (11:57 -0700)]
crimson/osd/pg: start_operation for read_state, schedule_event_on_commit
This way they'll be holding the appropriate pipeline stage.
Signed-off-by: Samuel Just <sjust@redhat.com>
Jason Dillaman [Thu, 27 Jun 2019 17:41:02 +0000 (13:41 -0400)]
Merge pull request #28351 from trociny/wip-39968
journal: add support for aligned appends
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 27 Jun 2019 17:37:56 +0000 (13:37 -0400)]
Merge pull request #28730 from trociny/wip-40519
rbd-mirror: handle duplicates in image sync throttler queue
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 27 Jun 2019 17:37:34 +0000 (13:37 -0400)]
Merge pull request #28748 from trociny/wip-journal-player-handle_cache_rebalanced
journal: fix race between player shut down and cache rebalance
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 11 Jun 2019 13:39:29 +0000 (08:39 -0500)]
doc/rados/operations: add safe-to-destroy check to OSD replacement workflow
Signed-off-by: Sage Weil <sage@redhat.com>
Venky Shankar [Thu, 27 Jun 2019 14:08:49 +0000 (19:38 +0530)]
Merge pull request #28706 from ajarr/wip-fs-subvolumes-enhancements
mgr/volumes: minor enhancements and fixes
Kefu Chai [Thu, 27 Jun 2019 11:24:36 +0000 (19:24 +0800)]
Merge pull request #28653 from zhangsw/cleanup-doc-sample.conf
sample.ceph.conf: correct the default value of filestore merge threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 27 Jun 2019 11:09:30 +0000 (19:09 +0800)]
Merge pull request #28749 from hydro-b/patch-1
doc/radosgw/compression.rst: fix typo
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ramana Raja [Sun, 23 Jun 2019 16:23:16 +0000 (21:53 +0530)]
mgr/volumes: fix incorrect VolumeException arguments
Fixes: http://tracker.ceph.com/issues/40429
Signed-off-by: Ramana Raja <rraja@redhat.com>
Ramana Raja [Sun, 23 Jun 2019 12:09:36 +0000 (17:39 +0530)]
mgr/volumes: allow setting mode
... of fs subvolumes and subvolume groups during their creation.
Fixes: https://tracker.ceph.com/issues/40299
Signed-off-by: Ramana Raja <rraja@redhat.com>
Ramana Raja [Thu, 20 Jun 2019 12:15:14 +0000 (17:45 +0530)]
mgr/volumes: allow setting data pool layout
... of fs subvolumes and subvolume groups during their creation.
Fixes: https://tracker.ceph.com/issues/40431
Signed-off-by: Ramana Raja <rraja@redhat.com>
Kefu Chai [Wed, 26 Jun 2019 15:33:45 +0000 (23:33 +0800)]
Merge pull request #28593 from smithfarm/wip-40398
cmake: set empty INSTALL_RPATH on crypto shared libs
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Tue, 25 Jun 2019 14:15:25 +0000 (10:15 -0400)]
librbd: prevent concurrent AIO callbacks to external clients
With the various threads and conditional IO paths within librbd, it was
possible for external AIO callbacks to be concurrently executed from
different librbd threads. These callbacks should be serialized to reduce
the unexpected potential for data corruption.
Fixes: http://tracker.ceph.com/issues/40417
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kanika Murarka [Thu, 4 Apr 2019 11:42:37 +0000 (17:12 +0530)]
mgr/dashboard: Separate file for icons for refering and reusing
Fixes: http://tracker.ceph.com/issues/39032
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
Kefu Chai [Wed, 26 Jun 2019 05:55:45 +0000 (13:55 +0800)]
Merge pull request #28623 from cyx1231st/wip-seastar-msgr-socket
test/crimson: add unit-test for ceph::net::Socket
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Tue, 18 Jun 2019 13:50:16 +0000 (21:50 +0800)]
crimson/net: added support for new errors
connection_aborted and invalid_argument.
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
Yingxin Cheng [Tue, 18 Jun 2019 13:09:26 +0000 (21:09 +0800)]
test/crimson: add unit-test for ceph::net::Socket
Added unittest_seastar_socket to make sure that seastar network layer
works as expected.
Added missing error code invalid_argument and address_in_use.
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
hydro-b [Tue, 25 Jun 2019 19:54:47 +0000 (21:54 +0200)]
doc/radosgw/compression.rst: fix typo
Signed-off-by: hydro-b <stefan@kooman.org>
Kefu Chai [Wed, 26 Jun 2019 00:53:20 +0000 (08:53 +0800)]
Merge pull request #28747 from tchaikov/wip-more-than-activate
crimson/osd: update peering_state in PG::on_activate_complete()
Reviewed-by: Samuel Just <sjust@redhat.com>
Neha Ojha [Tue, 25 Jun 2019 22:44:05 +0000 (15:44 -0700)]
doc/rados/operations/erasure-code.rst: allow recovery below min_size
https://github.com/ceph/ceph/pull/17619 allows recovery below min_size
for EC pools starting in Octopus. Also mention that this wasn't allowed
earlier.
Fixes: https://tracker.ceph.com/issues/40488
Signed-off-by: Neha Ojha <nojha@redhat.com>
J. Eric Ivancich [Tue, 25 Jun 2019 19:21:44 +0000 (15:21 -0400)]
rgw: minor code clean-up
Adding some const correctness and reformatting.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Tue, 25 Jun 2019 20:07:35 +0000 (16:07 -0400)]
rgw: allow multipart upload abort to proceed
Cleaning up after aborting unfinished multipart uploads is a
best-effort process. Due to the history of the multipart upload, not
all components may be found and the process needs to be robust to
that.
Presently, if a component is not found after the final call to
list_bucket_multiparts, the error propogates to the caller, but not if
the component is not found in an earlier call. This change does not
propogate that error up ever.
Additional logging is also added to multipart-related functions.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Mykola Golub [Tue, 25 Jun 2019 16:55:40 +0000 (17:55 +0100)]
journal: fix race between player shut down and cache rebalance
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sun, 23 Jun 2019 11:37:51 +0000 (19:37 +0800)]
crimson/osd: update peering_state in PG::on_activate_complete()
so that the PG can mark itself clean when it is activated and does not
need recovery.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 16:15:53 +0000 (00:15 +0800)]
crimson/osd: use get_osdmap_epoch()
would be better to use the interfaces of the PG class, instead of
relying on its implementation.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 11:28:54 +0000 (19:28 +0800)]
Merge pull request #28634 from tchaikov/wip-22227
common, auth: use boost::spirit to parse ceph.conf, escape quotes in exported auths
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 19 Jun 2019 10:07:07 +0000 (18:07 +0800)]
common/ConfUtils: implement trim helpers using boost
remove unused trim_whitespace() and its tests. as it is not used anymore
Signed-off-by: Kefu Chai <kchai@redhat.com>
Gu Zhongyan [Tue, 6 Mar 2018 07:40:21 +0000 (15:40 +0800)]
qa/workunits: add auth caps allow command case
this case introduces multiple quotes in caps line
it will trigger the bug like http://tracker.ceph.com/issues/22227
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
Kefu Chai [Tue, 18 Jun 2019 14:02:57 +0000 (22:02 +0800)]
auth/KeyRing: escape quotes around commands
so the exported auth can be re-imported.
Fixes: http://tracker.ceph.com/issues/22227
Signed-off-by: Kefu Chai <kchai@redhat.com>