]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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>
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>
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>
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>
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>
Kefu Chai [Tue, 18 Jun 2019 12:59:17 +0000 (20:59 +0800)]
src/: parser returns up to one error
since config parser bails out at seeing the first error, there is no
need to offer the interfaces to report multiple errors.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 16 Jun 2019 10:08:50 +0000 (18:08 +0800)]
src: use spirit based ceph.conf parser
before this change, the ceph.conf parser was implemented using a
hand-written state machine. which works fine. but it's hard to
understand and hence difficult to maintain.
in this change, it's rewritten using boost::spirit. which well, is also
a state machine under the hood, but the declarative pattern matching
rules help the human readers to understand the machinary.
before this change, the state machine is able to skip the lines with
invalid syntax and spit a warning message for each of them. after this
change, the parser will just bail out when it fails to match the rules.
and the line continuation marker, i.e., "\" is simply skipped, so it's
allowed to have nothing after the backslash in the value of key-value
pair.
changes are listed as following:
* invalid UTF-8 key/value is now treated as an error
* backslash at the very end is now allowed
* repeated settings are tolerated, and no warnings will be printed.
the last one wins. before this change, we will print out warning
messages at seeing lines with duplicated keys.
* malformed section header is now an error
* a setting line which does not parse is now an error
* unmatched quotes in setting value is now an error
* "\" following an empty line is allowed now.
* the format of error message is changed, so the cli test is updated
accordingly.
* [global] section is not added by default. unless there is a single
line in the conf file. this is only for the convenience of testing.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 05:19:41 +0000 (13:19 +0800)]
Merge pull request #28695 from kamoltat/wip-mgr-progress-fix-bug-osd-in-out
mgr/progress: Bug fix complete event when OSD marked in
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 05:18:56 +0000 (13:18 +0800)]
Merge pull request #28689 from tchaikov/wip-crimson-add-me-to-crush
crimson/osd: add osd to crush when it boots
Reviewed-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 05:16:47 +0000 (13:16 +0800)]
Merge pull request #28688 from ifed01/wip-ifed-fix-no-compress
os/bluestore: load OSD all compression settings unconditionally.
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Tue, 25 Jun 2019 05:15:33 +0000 (13:15 +0800)]
Merge pull request #28660 from liewegas/wip-40451
osd/PG: do not queue scrub if PG is not active when unblock
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Tue, 25 Jun 2019 05:13:43 +0000 (13:13 +0800)]
Merge pull request #28601 from rzarzynski/wip-crimson-os-omit-block-write
os/memstore, crimson/os: introduce memstore_debug_omit_block_device_write
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 05:12:51 +0000 (13:12 +0800)]
Merge pull request #28510 from liuchang0812/fix-arg-parser
common: sort best-matched commond by req argument count
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 05:11:51 +0000 (13:11 +0800)]
Merge pull request #28018 from hjwsm1989/wip-39625
mon: take the mon lock in handle_conf_change
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 05:10:01 +0000 (13:10 +0800)]
Merge pull request #27627 from cxytt/fix-add-omap-tail
os/bluestore: create the tail when first set FLAG_OMAP
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Jos Collin [Tue, 25 Jun 2019 04:40:45 +0000 (10:10 +0530)]
Merge pull request #28718 from varshar16/wip-cephfs-shell-typo-mounting
cephfs-shell: Fix typo for mounting
Reviewed-by: Jos Collin <jcollin@redhat.com>
Mykola Golub [Tue, 25 Jun 2019 04:38:37 +0000 (05:38 +0100)]
rbd-mirror: handle duplicates in image sync throttler queue
Fixes: http://tracker.ceph.com/issues/40519
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Tue, 25 Jun 2019 03:19:35 +0000 (11:19 +0800)]
Merge pull request #28703 from tchaikov/wip-ceph.in-asan
ceph.in: do not preload asan even if not needed
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 03:19:02 +0000 (11:19 +0800)]
Merge pull request #28725 from cbodley/wip-cmake-ubsan
cmake: fix WITH_UBSAN
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 25 Jun 2019 02:46:20 +0000 (10:46 +0800)]
Merge pull request #28395 from athanatos/sjust/wip-crimson-op
Add structures for tracking in progress operations
Reviewed-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Sat, 22 Jun 2019 00:46:01 +0000 (17:46 -0700)]
crimson: fix state machine operations in advance_pg_to and pg creation
Both pg creation and advance_pg_to process statemachine events and
therefore need to be under the pg process pipeline stage.
Signed-off-by: Samuel Just <sjust@redhat.com>
Jason Dillaman [Mon, 24 Jun 2019 22:46:04 +0000 (18:46 -0400)]
Merge pull request #27285 from shangdehao1/wip-librbd-shared-read-only-cache-hook
librbd: shared read-only cache hook
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
shangdehao1 [Fri, 14 Jun 2019 01:15:46 +0000 (09:15 +0800)]
librbd: refine re-connect implement and init method
- add new status to OpenImageRequest, including
send_parent_cache and handle_parent_cache.
- refine re-connect to remove race condition.
- fixed read error bug
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Yuan Zhou [Fri, 14 Jun 2019 01:55:02 +0000 (09:55 +0800)]
doc: fix example command on creating ceph user
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
shangdehao1 [Thu, 13 Jun 2019 01:08:18 +0000 (09:08 +0800)]
librbd: change init method of Parent cache to asynchronous
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 12 Jun 2019 22:32:33 +0000 (06:32 +0800)]
librbd: add read_object method to ParentCache
Also remove SharedPersistentObjectCacher class
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 12 Jun 2019 22:04:30 +0000 (06:04 +0800)]
librbd: refine hard code and remove dead code
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 12 Jun 2019 21:36:35 +0000 (05:36 +0800)]
librbd: add lock to resovle race condition
possible race condition w/ multiple concurrent attempts to
re-create the cache session
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Yuan Zhou [Wed, 12 Jun 2019 04:14:47 +0000 (12:14 +0800)]
doc: better format for rbd persistent cache
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
shangdehao1 [Mon, 10 Jun 2019 01:19:36 +0000 (09:19 +0800)]
librbd: remove parent cache config from ImageCtx
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Sun, 9 Jun 2019 23:30:43 +0000 (07:30 +0800)]
librbd: cleanup parent cache
- remove compiler warning.
- add error log level.
- modify tool/immutable_obj_cache unit testing.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Sun, 9 Jun 2019 19:47:24 +0000 (03:47 +0800)]
librbd: modify Parent cache interface
follow the recent ObjectDispatchInterface to adjust parent cache hook
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Yuan Zhou [Thu, 6 Jun 2019 09:36:39 +0000 (17:36 +0800)]
doc: updating doc for rbd shared parent cache
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
shangdehao1 [Wed, 5 Jun 2019 00:30:04 +0000 (08:30 +0800)]
librbd: move SharedPersistentObjectCacher to ParentCacheObjectDispatch
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Fri, 31 May 2019 01:47:31 +0000 (09:47 +0800)]
librbd: add re-connect and infligh enable feature
- reconnect : when session don't work or RO daemon crash,
parent cache will try to re-connect daemon.
- in-fligh enable RO daemon.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Sun, 26 May 2019 22:22:21 +0000 (06:22 +0800)]
tools: modify connect implement of RO cache
- In order to support re-connect, add async connect at CacheClient.
- sync connect is based on C_SaferCond + async_connect.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Sun, 26 May 2019 18:53:34 +0000 (02:53 +0800)]
librbd: fix double free issue for CacheGenContextURef
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Thu, 23 May 2019 21:46:24 +0000 (05:46 +0800)]
librbd: add TypeTrait class to librbd/cache
- add TypeTraits to librbd/cache
- remove the second template parameter of parent image dispatch
- remove m_cache_client and m_image_ctx to private selection,
and add two public method to get these two data member.
- modify parent image cache uite testing
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 22 May 2019 23:01:12 +0000 (07:01 +0800)]
librbd: cleanup RO cache
- cleanup invalid comments
- cleanup useless method and data member
- fix spelling mistake
- change naming from SharedReadOnlyCache to ParentCache
- change file name from SharedReadOnlyObjectDispatch
to ParentCacheObjectDispath
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 8 May 2019 05:10:23 +0000 (13:10 +0800)]
librbd: change RO hook naming.
change SharedReadOnlyCache to ParentCache
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Yuan Zhou [Sun, 28 Apr 2019 03:12:01 +0000 (11:12 +0800)]
doc: adding docs for rbd shared read-only parent image cache
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
shangdehao1 [Fri, 19 Apr 2019 00:24:41 +0000 (08:24 +0800)]
librbd: modify RO hook implements
modify read and handle_read_cache method, and cleanup.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Fri, 19 Apr 2019 00:19:13 +0000 (08:19 +0800)]
librbd: don't append zeros for RO caching reading
Just return actual contents.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Thu, 18 Apr 2019 23:18:48 +0000 (07:18 +0800)]
librbd: keep gen lambda context small
move all codes of lambda context to handle_read_cache.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Thu, 18 Apr 2019 22:29:58 +0000 (06:29 +0800)]
librbd: introduce new context type at RO
- CacheGenContextURef is wrapper GenContextURef
- use make_gen_lambda_context to create context.
- smart pointer unique_ptr to auto release object.
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 17 Apr 2019 18:09:18 +0000 (02:09 +0800)]
librbd: modify flush interface of RO
Add to journal_tid parameter to flush interface
Delete LibrbdWriteback head file
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Sun, 9 Jun 2019 17:40:18 +0000 (01:40 +0800)]
test: add librbd/cache/ParentImageCache UT
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 17 Apr 2019 05:32:24 +0000 (13:32 +0800)]
test: add domain socket mock
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 17 Apr 2019 05:28:07 +0000 (13:28 +0800)]
librbd: template CacheClient at RO hook
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
shangdehao1 [Wed, 17 Apr 2019 07:58:16 +0000 (15:58 +0800)]
librbd: enable librbd hook for shared RO cache
Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Jason Dillaman [Mon, 24 Jun 2019 21:33:45 +0000 (17:33 -0400)]
Merge pull request #28665 from mikechristie/wip-doc-mikechristie-update-igw-ansible
doc: update ceph ansible iscsi info
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Mon, 24 Jun 2019 18:57:27 +0000 (11:57 -0700)]
Merge pull request #28721 from yuriw/wip-yuriw-crontab-master
qa/tests: changed the TO email to 'ceph-qa@ceph.io'
Mike Christie [Thu, 20 Jun 2019 02:39:48 +0000 (21:39 -0500)]
doc: Add rbd-target-api ceph iscsi ansible vars
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Thu, 20 Jun 2019 02:13:51 +0000 (21:13 -0500)]
doc: Update rbd-target-gw behavior info
The lio setup and teardown functionality was moved from rbd-target-gw to
rbd-target-api in ceph-iscsi.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Fri, 21 Jun 2019 00:37:20 +0000 (19:37 -0500)]
doc: Update ceph-ansible iscsigws settings
The ceph-ansible ceph-iscsi support does not allow setting up iscsi
objects. It must be done through gwcli like is done in the container
case. This drops the iscsi object related settings and admin info for
it.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Thu, 20 Jun 2019 01:29:20 +0000 (20:29 -0500)]
doc: Fix ceph-ansible iscsigws command
Use the more standard --limit iscsigws argument instead of running the
playbook command on the iscsigws.yml file directly.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Thu, 20 Jun 2019 01:27:28 +0000 (20:27 -0500)]
doc: Fix igw ceph ansible host group name
The ceph-ansible iscsi group name is iscsigws and not
ceph-iscsi-gws.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Sage Weil [Mon, 24 Jun 2019 18:15:16 +0000 (13:15 -0500)]
Merge PR #28624 into master
* refs/pull/28624/head:
mgr/zabbix: encode string for Python 3 compatibility
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 24 Jun 2019 18:14:42 +0000 (13:14 -0500)]
Merge PR #28658 into master
* refs/pull/28658/head:
qa/suites/rados/thrash: force normal pg log length with cache tiering
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Mon, 24 Jun 2019 18:13:48 +0000 (13:13 -0500)]
Merge PR #28662 into master
* refs/pull/28662/head:
osd: share curmap in handle_osd_ping
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Mon, 24 Jun 2019 15:46:45 +0000 (11:46 -0400)]
Merge pull request #28430 from cbodley/wip-40187
cls/rgw: keep issuing bilog trim ops after reset
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Casey Bodley [Mon, 24 Jun 2019 15:35:25 +0000 (11:35 -0400)]
cmake: fix WITH_UBSAN
CMake Error at cmake/modules/FindSanitizers.cmake:28 (message):
Unsupported sanitizer: undefined-behavior
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Mon, 24 Jun 2019 15:34:36 +0000 (11:34 -0400)]
Merge pull request #28667 from majianpeng/msg-async-comments
msg/async: add comments for commit
294c41f18adada6ab .
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Mon, 24 Jun 2019 14:25:15 +0000 (07:25 -0700)]
qa/tests: changed the TO email to 'ceph-qa@ceph.io'
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Casey Bodley [Mon, 24 Jun 2019 14:03:21 +0000 (10:03 -0400)]
Merge pull request #28704 from joke-lee/sts_assume_policy
rgw: Policy should be url_decode when assume_role
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Jianpeng Ma [Mon, 24 Jun 2019 12:24:36 +0000 (20:24 +0800)]
msg/async: add comments for commit
294c41f18adada6ab .
Consider this case:
send-thread msg-work
write_event()
r = write_message()
connection->write_lock.lock()
if (.. && !write_in_progress) {
write_in_progress = true;
add external_event
}
connection->write_lock.unlock()
connection->write_lock.lock()
if (r > 0)
break;
} while ();
write_in_progress = false;
For this case, we don't add external_event and in write_event we don't
check out_q whether empty rather than break.
This make msg-work never wake up again.
Fortunately, if write_message() > 0, in AsyncConnection::_try_send will
add an EVENT_WRITEABLE to wake up msg-work. So bug can't occur.
I add comment to descript this and hope get the better method to fix
this.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Nathan Cutler [Mon, 5 Feb 2018 08:34:20 +0000 (09:34 +0100)]
cmake: empty INSTALL_RPATH for libceph_crypto_openssl.so
See also
235448879e5e05808e10c2ad8e09f87a05d76179
Fixes: http://tracker.ceph.com/issues/40398
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 5 Feb 2018 08:34:20 +0000 (09:34 +0100)]
cmake: empty INSTALL_RPATH for libceph_crypto_isal.so.1.0.0
Fixes: http://tracker.ceph.com/issues/40398
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Varsha Rao [Mon, 24 Jun 2019 10:57:21 +0000 (16:27 +0530)]
cephfs-shell: Fix typo for mounting
Signed-off-by: Varsha Rao <varao@redhat.com>
Kefu Chai [Mon, 24 Jun 2019 08:11:46 +0000 (16:11 +0800)]
Merge pull request #28709 from tchaikov/wip-seastar
seasetar: pick up the latest seastar
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Mon, 24 Jun 2019 04:56:35 +0000 (12:56 +0800)]
seasetar: pick up the latest seastar
couple noticeable changes
* use dpdk v19.05, please note the older version of dpdk might not
work, for instance dpdk v18.11 does not compile with the latest
seastar master HEAD
* future cleanups
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 24 Jun 2019 02:58:34 +0000 (10:58 +0800)]
Merge pull request #28707 from majianpeng/perf-async-msgr-remove-unsued-header
test/crimson/perf_async_msgr: remove unsued header file.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jianpeng Ma [Thu, 20 Jun 2019 02:26:59 +0000 (10:26 +0800)]
test/crimson/perf_async_msgr: remove unsued header file.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Mykola Golub [Thu, 13 Jun 2019 16:29:10 +0000 (17:29 +0100)]
qa/suites/rbd: allow to test with require-min-compat-client octopus
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 31 May 2019 12:41:22 +0000 (13:41 +0100)]
journal: add support for aligned appends
Fixes: https://tracker.ceph.com/issues/39968
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 28 May 2019 12:22:31 +0000 (13:22 +0100)]
cls/journal: new append method
which supports padding
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 31 May 2019 07:13:52 +0000 (08:13 +0100)]
objclass: add cls_get_osd_min_alloc_size helper
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 31 May 2019 07:12:10 +0000 (08:12 +0100)]
objclass: add cls_get_min_compatible_client helper
Signed-off-by: Mykola Golub <mgolub@suse.com>