]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Wed, 22 Nov 2017 21:39:46 +0000 (13:39 -0800)]
Merge PR #19007 into master
* refs/pull/19007/head:
src/libcephfs.cc: Cleanup nullptr initializations against deleted objects, etc
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Patrick Donnelly [Wed, 22 Nov 2017 21:39:40 +0000 (13:39 -0800)]
Merge PR #19014 into master
* refs/pull/19014/head:
mds: properly execute scrub finish context
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 22 Nov 2017 21:39:32 +0000 (13:39 -0800)]
Merge PR #19018 into master
* refs/pull/19018/head:
mds: don't delay processing completed requests in replay queue
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 22 Nov 2017 21:39:19 +0000 (13:39 -0800)]
Merge PR #19060 into master
* refs/pull/19060/head:
client: anchor Inode while trimming caps
Reviewed-by: Zheng Yan <zyan@redhat.com>
Sage Weil [Wed, 22 Nov 2017 20:34:34 +0000 (14:34 -0600)]
Merge pull request #19102 from jecluis/wip-qa-find-used-ports
qa: add simple and dirty script to find ports being used
Ilya Dryomov [Wed, 22 Nov 2017 17:43:25 +0000 (18:43 +0100)]
Merge pull request #19044 from idryomov/wip-resurrect-msg-auth
msg: resurrect support for !CEPH_FEATURE_MSG_AUTH
Reviewed-by: Haomai Wang <haomai@xsky.com>
Joao Eduardo Luis [Wed, 22 Nov 2017 16:58:34 +0000 (16:58 +0000)]
qa: add simple and dirty script to find ports being used
Seriously, having this is way better than realizing that one needs to
find an unused port each time a new test is created.
It's far from a perfect script. It's downright not elegant.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Jason Dillaman [Wed, 22 Nov 2017 16:26:38 +0000 (11:26 -0500)]
Merge pull request #19082 from trociny/wip-qa-demote-fixup
qa/workunits/rbd: wait for status propagated only if daemon started
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 07:03:16 +0000 (15:03 +0800)]
Merge pull request #19067 from tchaikov/wip-nvme-mgr-fixes
bluestore/NVMEDevice: do not deference a dangling pointer
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:50:44 +0000 (14:50 +0800)]
Merge pull request #19035 from ifed01/wip-ifed-rep-backend-speedup
osd: make operations on ReplicatedBackend::in_progress_ops more effective
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:44:24 +0000 (14:44 +0800)]
Merge pull request #17799 from amitkumar50/cov-misc-7
osd,messages: Initialize read_length,options,send_reply
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:44:06 +0000 (14:44 +0800)]
Merge pull request #17792 from amitkumar50/cov-misc-5
messages,journal: Initialization of stats_period,m_active_set
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:42:58 +0000 (14:42 +0800)]
Merge pull request #17772 from amitkumar50/cov-misc-3
client,osd,test: Initialize fuse_req_key,snap,who,seq
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:42:32 +0000 (14:42 +0800)]
Merge pull request #17767 from amitkumar50/cov-misc-2
messages,test,msg: initialize h,reply_type,owner
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:42:03 +0000 (14:42 +0800)]
Merge pull request #17766 from amitkumar50/cov-misc-1
common,os: initialize commit_data,cmount,iocb
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 06:40:56 +0000 (14:40 +0800)]
Merge pull request #17443 from JiYou/restapi-default-port
ceph-rest-api: when port=0 use the DEFAULT_PORT instead
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 05:25:41 +0000 (13:25 +0800)]
Merge pull request #17085 from yaozongyou/remove_unused_using
librgw_file: remove unused `using` statement.
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 22 Nov 2017 04:26:34 +0000 (12:26 +0800)]
Merge pull request #19017 from tchaikov/wip-bluestore-without-aio
bluestore,cmake: enable building bluestore without aio
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Kefu Chai [Wed, 22 Nov 2017 04:23:48 +0000 (12:23 +0800)]
Merge pull request #19029 from tchaikov/wip-cmake-sysctl-cleanup
cmake: only create sysctl file on linux
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Wed, 22 Nov 2017 03:12:15 +0000 (11:12 +0800)]
Merge pull request #19072 from smithfarm/wip-22207
tests: ceph-disk: ignore E722 in flake8 test
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 21 Nov 2017 21:49:24 +0000 (13:49 -0800)]
Merge PR #17678 into master
* refs/pull/17678/head:
mon/AuthMonitor: improve error message
mon/OSDMonitor: disallow "all" as a key or value name
cephfs, mon/AuthMonitor, OSD/osdcap: make 'all' a synonym for '*'
vstart.sh: Create an admin user for each CephFS
mon/AuthMonitor: Allow * wildcard for filesystem name
OSD/OSDCap: Allow namespace and pool tag to be combined
OSD/OSDCap: Namespace globbing
mon/AuthMonitor: Use new osd auth caps for ceph fs authorize
OSD/auth caps: Add OSD auth caps based on pool tag
mon/FSCommands: Tag pools used for cephfs by default
mon/OSDMonitor: Add key/value arguments for pool tagging
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Tue, 21 Nov 2017 20:29:16 +0000 (22:29 +0200)]
qa/workunits/rbd: wait for status propagated only if daemon started
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
Mykola Golub [Tue, 21 Nov 2017 19:21:41 +0000 (21:21 +0200)]
Merge pull request #19000 from dillaman/wip-15322
rbd-mirror: removed dedicated thread from image deleter
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Yehuda Sadeh [Tue, 21 Nov 2017 18:23:27 +0000 (13:23 -0500)]
Merge pull request #17072 from rzarzynski/wip-rgw-21015
rgw: incorporate the Transfer-Encoding fix for CivetWeb.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Tue, 21 Nov 2017 17:52:08 +0000 (12:52 -0500)]
Merge pull request #19073 from trociny/wip-qa-demote
qa/workunits/rbd: wait for demote status is propagated
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Andrew Schoen [Tue, 21 Nov 2017 15:42:30 +0000 (09:42 -0600)]
Merge pull request #19075 from tchaikov/wip-22154
qa/workunits: silence py warnings for ceph-disk tests
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Jason Dillaman [Tue, 21 Nov 2017 15:08:13 +0000 (10:08 -0500)]
rbd-mirror: fix possible race condition in error path tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 21 Nov 2017 14:35:09 +0000 (08:35 -0600)]
Merge pull request #19064 from qrGitHub/wip-rgw-typo-refity
rgw: correct typo refity to refit
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Jason Dillaman [Fri, 17 Nov 2017 18:01:56 +0000 (13:01 -0500)]
rbd-mirror: removed dedicated thread from image deleter
Fixes: http://tracker.ceph.com/issues/15322
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 17 Nov 2017 20:51:14 +0000 (15:51 -0500)]
rbd-mirror: image deleter now takes a librados::IoCtx shared pointer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Nov 2017 21:59:33 +0000 (16:59 -0500)]
rbd-mirror: move image deletion to standalone state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Nov 2017 20:34:04 +0000 (15:34 -0500)]
rbd-mirror: move snap purge to standalone state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Nov 2017 20:39:24 +0000 (15:39 -0500)]
librbd: ensure deep-copy can remove an unprotected snapshot
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Nov 2017 21:46:11 +0000 (16:46 -0500)]
cls/rbd: added async version of get_snapcontext
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 21 Nov 2017 13:51:03 +0000 (08:51 -0500)]
Merge pull request #18790 from amitkumar50/cov-rbd-6
rbd: null check before pool_name use
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
amitkuma [Tue, 7 Nov 2017 18:26:02 +0000 (23:56 +0530)]
rbd: null check before pool_name use
Fixes the coverity issue:
CID
1394846 (#1 of 1): Dereference after null check (FORWARD_NULL)
15. var_deref_model: Passing null pointer pool_name to regex_match,
which dereferences it.
Signed-off-by: Amit Kumar <amitkuma@redhat.com>
Kefu Chai [Tue, 21 Nov 2017 13:47:30 +0000 (21:47 +0800)]
qa/workunits: silence py warnings for ceph-disk tests
ceph-disk now prints "depreacted" warning message when it starts. but
the tests parses its stdout and stderr for a json string. so we need to
silence the warnings for the tests.
Fixes: http://tracker.ceph.com/issues/22154
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Tue, 21 Nov 2017 11:16:57 +0000 (13:16 +0200)]
qa/workunits/rbd: wait for demote status is propagated
(before promoting the image on another cluster)
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
Mykola Golub [Tue, 21 Nov 2017 10:48:34 +0000 (12:48 +0200)]
Merge pull request #19045 from dillaman/wip-22200
rbd: disk usage on empty pool no longer returns an error message
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Nathan Cutler [Tue, 21 Nov 2017 10:36:02 +0000 (11:36 +0100)]
tests: ceph-disk: ignore E722 in flake8 test
Very old, and very new, versions of flake8 treat E722 as an error:
flake8 runtests: commands[0] | flake8 --ignore=H105,H405,E127 ceph_disk tests
ceph_disk/main.py:1575:9: E722 do not use bare except'
ceph_disk/main.py:1582:9: E722 do not use bare except'
ceph_disk/main.py:3252:5: E722 do not use bare except'
ceph_disk/main.py:3288:21: E722 do not use bare except'
ceph_disk/main.py:3296:17: E722 do not use bare except'
ceph_disk/main.py:4358:5: E722 do not use bare except'
tests/test_main.py:26:1: E722 do not use bare except'
ERROR: InvocationError: '/opt/j/ws/mkck/src/ceph-disk/.tox/flake8/bin/flake8 --ignore=H105,H405,E127 ceph_disk tests'
Fixes: http://tracker.ceph.com/issues/22207
References: https://gitlab.com/pycqa/flake8/issues/361
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Tue, 21 Nov 2017 09:45:44 +0000 (17:45 +0800)]
cmake: BuildDPDK: use ${CMAKE_MAKE_PROGRAM} when appropriate
DPDK requires GNU Make. see
spdk/dpdk/doc/guides/freebsd_gsg/build_dpdk.rst. so, we should use the
configured make program to do the job.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Nov 2017 02:52:50 +0000 (10:52 +0800)]
cmake: BuildDPDK: use POSIX compliant syntax
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Nov 2017 07:09:22 +0000 (15:09 +0800)]
bluestore/NVMEDevice: do not deference a dangled pointer
* pass coremask_arg to the working thread by value.
after
81249ab9d , get_val<>() returns a temporary variables instead of a
reference to the variant held by config. so calling string::c_str(), and
passing the returned `const char*` to a thread is not advisable. instead
we should pass a string by value. since spdk_env_init() will copy the
settings passed in by opt. it's safe even to destruct the coremask_arg
afterward.
* use ffsll() to find the LSB. it's not a bottleneck, but it's easier
and simpler, and probably improves the readability.
* refactor the NVMEManager::try_get() method: to define the variables
when they are used for the first time.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 21 Nov 2017 05:48:12 +0000 (21:48 -0800)]
Merge PR #18274 into master
* refs/pull/18274/head:
mds: fold mds_revoke_cap_timeout into mds_session_timeout
client: add new delegation testcases
client: add delegation support for cephfs
common: remove data_dir_option from common_preinit and global_pre_init
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Bingyin Zhang [Tue, 21 Nov 2017 03:40:17 +0000 (11:40 +0800)]
rgw: correct typo refity to refit
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
Patrick Donnelly [Sun, 19 Nov 2017 23:08:18 +0000 (15:08 -0800)]
client: anchor Inode while trimming caps
This prevents the Inode from being deleted until after cap trimming is
finished. In particular, this prevents remove_all_caps from being called which
screws up the traversal of caps in trim_caps.
Fixes: http://tracker.ceph.com/issues/22157
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Gregory Farnum [Tue, 21 Nov 2017 00:46:44 +0000 (16:46 -0800)]
Merge pull request #18710 from com6056/wip-doc-fix-cephfs-snap-dir
doc: Fixes the name of the CephFS snapshot directory.
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Yuri Weinstein [Mon, 20 Nov 2017 22:30:13 +0000 (14:30 -0800)]
Merge pull request #10992 from zhangsw/fix-rgw-cache-bug
rgw: fix a bug in rgw cache in delete_system_obj and get_system_obj.
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Douglas Fuller [Mon, 20 Nov 2017 18:12:08 +0000 (13:12 -0500)]
mon/AuthMonitor: improve error message
Improve the error message for 'ceph fs authorize' where the
given entity exists but has different auth caps.
Fixes: http://tracker.ceph.com/issues/21765
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Jason Dillaman [Mon, 20 Nov 2017 18:22:36 +0000 (13:22 -0500)]
Merge pull request #19011 from trociny/wip-mirror-missing-lock
rbd-mirror: missing lock when re-sending update_sync_point
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 20 Nov 2017 18:16:23 +0000 (13:16 -0500)]
Merge pull request #19016 from trociny/wip-valgrind-unittest_rbd_mirror
test/rbd_mirror: fix valgrind warnings in unittest
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Mon, 20 Nov 2017 18:02:23 +0000 (13:02 -0500)]
Merge pull request #18799 from ivancich/wip-remove-StreamObjData
rgw clean-up: remove unreferenced pure virtual class StreamObjData
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Patrick Donnelly [Mon, 20 Nov 2017 17:52:33 +0000 (09:52 -0800)]
Merge PR #19022 into master
* refs/pull/19022/head:
githubmap: Add oritwas
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Mon, 20 Nov 2017 16:03:17 +0000 (11:03 -0500)]
rbd: disk usage on empty pool no longer returns an error message
Fixes: http://tracker.ceph.com/issues/22200
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ilya Dryomov [Mon, 20 Nov 2017 15:27:20 +0000 (16:27 +0100)]
msg/simple/Pipe: resurrect support for !CEPH_FEATURE_MSG_AUTH
Revert CEPH_FEATURE_MSG_AUTH-related hunks of commit
7ba4d5324e2d
("msg/simple/Pipe: remove legacy feature case handle"), which
removed code that handled !CEPH_FEATURE_MSG_AUTH footers. It's needed
for kernels prior to 3.19, where cephx signatures aren't supported.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Casey Bodley [Mon, 20 Nov 2017 15:48:01 +0000 (10:48 -0500)]
Merge pull request #18987 from ivancich/wip-remove-sys-obj-get-state
rgw clean-up: remove unused var & func in RGWRados::SystemObject
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Ilya Dryomov [Mon, 20 Nov 2017 15:23:15 +0000 (16:23 +0100)]
msg/async/AsyncConnection: resurrect support for !CEPH_FEATURE_MSG_AUTH
Revert CEPH_FEATURE_MSG_AUTH-related hunks of commit
83f7e392a163
("msg/async/AsyncConnection: remove legacy feature case handle"), which
removed code that handled !CEPH_FEATURE_MSG_AUTH footers. It's needed
for kernels prior to 3.19, where cephx signatures aren't supported.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
John Spray [Mon, 20 Nov 2017 15:35:09 +0000 (15:35 +0000)]
Merge pull request #18173 from gmayyyha/osd-status-21707
mgr: fix "osd status" command exception if OSD not in pgmap stats
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 14:54:27 +0000 (22:54 +0800)]
Merge pull request #19024 from tchaikov/wip-21474
qa/tasks: prolong revive_osd() timeout to 6 min
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 20 Nov 2017 14:15:04 +0000 (09:15 -0500)]
Merge pull request #18667 from Leeshine/wip-rgw-bug-21615
rgw: radosgw-admin zonegroup get and zone get return defaults when there is no realm
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Mon, 20 Nov 2017 10:36:51 +0000 (12:36 +0200)]
Merge pull request #18302 from joscollin/wip-update-radosgw-admin-usage
rgw: Various cleanups and options update in rgw_admin.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 20 Nov 2017 10:04:39 +0000 (12:04 +0200)]
Merge pull request #18979 from cfanz/dump-header-improve-wip
rgw: clean code with helper function dump_header_if_nonempty
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Mon, 20 Nov 2017 10:01:35 +0000 (12:01 +0200)]
Merge pull request #18985 from theanalyst/wip-keystone-logging
rgw: keystone: bump up logging when error is received
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Igor Fedotov [Fri, 17 Nov 2017 09:08:52 +0000 (01:08 -0800)]
osd: make operations on ReplicatedBackend::in_progress_ops a bit more effective.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Mon, 20 Nov 2017 07:42:09 +0000 (15:42 +0800)]
cmake: only create sysctl file on linux
and check 64bit platform by using the sizeof(void*)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:44:58 +0000 (14:44 +0800)]
Merge pull request #18980 from shinobu-x/os_filestore_filestore_nit_cleanup
os/filestore/FileStore: Initialized by nullptr, NULL or 0 instead
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:44:23 +0000 (14:44 +0800)]
Merge pull request #18982 from neha-ojha/wip-const-cleanup
osd/PG: const cleanup for recoverable/readable predicates
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:43:40 +0000 (14:43 +0800)]
Merge pull request #18934 from tchaikov/wip-option-return-by-ref
Revert "common/config: return const reference instead of a copy"
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:42:25 +0000 (14:42 +0800)]
Merge pull request #18916 from tchaikov/wip-22113
osd: subscribe osdmaps if any pending pgs
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:41:57 +0000 (14:41 +0800)]
Merge pull request #18816 from amitkumar50/cov-common-2
common: Check this->data.op_size before use
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:39:17 +0000 (14:39 +0800)]
Merge pull request #18810 from majianpeng/fix-21982
osdc/Objecter: record correctly value for l_osdc_op_send_bytes.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:38:51 +0000 (14:38 +0800)]
Merge pull request #18777 from majianpeng/bluestore-collection-list
os/bluestore: optimize _collection_list.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:37:08 +0000 (14:37 +0800)]
Merge pull request #18544 from ddiss/pid_max
sysctl.d: set kernel.pid_max=
4194304
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 06:36:38 +0000 (14:36 +0800)]
Merge pull request #18718 from shinobu-x/sk-ceph_osd
ceph_osd.cc: Drop legacy or redundant code
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 05:40:56 +0000 (13:40 +0800)]
qa/tasks: prolong revive_osd() timeout to 6 min
see also #17902
Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 04:55:54 +0000 (12:55 +0800)]
cmake: complain if spdk/pmem is enabled w/o bluestore
and complain if bluestore is enabled w/o any backend found.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 04:33:40 +0000 (12:33 +0800)]
bluestore: assert(!num_running) before releasing running_aios
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 04:21:49 +0000 (12:21 +0800)]
bluestore: extract IOContext logic out of BlueStore
to avoid HAVE_LIBAIO appearing in BlueStore.cc
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jos Collin [Mon, 20 Nov 2017 03:42:43 +0000 (09:12 +0530)]
githubmap: Add oritwas
Added oritwas to .githubmap.
Signed-off-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Sun, 19 Nov 2017 18:09:35 +0000 (02:09 +0800)]
cmake: check libaio on linux before building SPDK
SPDK requires libaio on linux.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 19 Nov 2017 18:04:59 +0000 (02:04 +0800)]
bluestore: enable building bluestore w/o libaio
KernelDevice is tightly coupled with libaio. more work is needed to
decouple aio from it. but by guarding KernelDevice with HAVE_LIBAIO, we
can enable bluestore on platforms w/o libaio.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yan, Zheng [Mon, 20 Nov 2017 00:29:12 +0000 (08:29 +0800)]
mds: don't delay processing completed requests in replay queue
Completed requests can also be in replay queue, they need to be processed
(treated as lookup request) in clientreplay stage. MDS will be stuck at
clientreplay stage if it delays processing requests of this type.
the bug was introduced by commit
0afbc033
(mds: don't rdlock locks in replica object while auth mds is recovering)
Fixes: http://tracker.ceph.com/issues/22163
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Mykola Golub [Sun, 19 Nov 2017 17:26:52 +0000 (19:26 +0200)]
test/rbd_mirror: fix valgrind warnings in unittest
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
Yan, Zheng [Sun, 19 Nov 2017 12:47:58 +0000 (20:47 +0800)]
Merge pull request #18776 from JianyuLi/joa-mul-mds
MDS: make popular counter decay at proper rate
Yan, Zheng [Sun, 19 Nov 2017 12:47:09 +0000 (20:47 +0800)]
Merge pull request #18784 from taodd/client-bugfix
Client:Fix readdir bug
Yan, Zheng [Sun, 19 Nov 2017 12:46:22 +0000 (20:46 +0800)]
Merge pull request #18786 from taodd/master
Client: setattr should drop "Fs" rather than "As" for mtime and size
Yan, Zheng [Sun, 19 Nov 2017 12:44:43 +0000 (20:44 +0800)]
Merge pull request #18836 from taodd/cephfs-hadoop
MDS: correct the error msg when init mon client
Yan, Zheng [Sun, 19 Nov 2017 12:43:39 +0000 (20:43 +0800)]
Merge pull request #18892 from taodd/client-bugfix2
MDS: add null check before we push_back "onfinish"
Yan, Zheng [Sun, 19 Nov 2017 12:43:03 +0000 (20:43 +0800)]
Merge pull request #18893 from taodd/mds-inotable-cleanup
mds: simplify the code logic in replay_alloc_ids
Yan, Zheng [Sun, 19 Nov 2017 12:40:48 +0000 (20:40 +0800)]
Merge pull request #18904 from taodd/mds-sesseionmap-cleanup
mds: get rid of the "if" check which is unnecessary inside a loop
Yan, Zheng [Sun, 19 Nov 2017 12:25:22 +0000 (20:25 +0800)]
mds: properly execute scrub finish context
Bug was introduced by commit
7e52729699 (mds: flush after scrub repairs)
Fixes: http://tracker.ceph.com/issues/22058
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Mykola Golub [Sat, 18 Nov 2017 20:18:37 +0000 (22:18 +0200)]
rbd-mirror: missing lock when re-sending update_sync_point
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
Shinobu Kinjo [Sat, 18 Nov 2017 22:18:53 +0000 (07:18 +0900)]
src/libcephfs.cc: Cleanup nullptr initializations against deleted objects, etc
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
Mykola Golub [Sat, 18 Nov 2017 16:07:48 +0000 (18:07 +0200)]
Merge pull request #19003 from dillaman/wip-22158
librbd: set deleted parent pointer to null
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Jason Dillaman [Sat, 18 Nov 2017 13:30:27 +0000 (08:30 -0500)]
librbd: set deleted parent pointer to null
Fixes: http://tracker.ceph.com/issues/22158
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sat, 18 Nov 2017 13:14:16 +0000 (21:14 +0800)]
Merge pull request #18963 from amitkumar50/test-cov-test-9
test: Incorrect conversion to double
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 18 Nov 2017 13:12:23 +0000 (21:12 +0800)]
Merge pull request #18901 from jan--f/jan-crushtool-decompile-missing-ids
tools/crushtool: skip device id if no name exists
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 18 Nov 2017 13:10:52 +0000 (21:10 +0800)]
Merge pull request #18939 from majianpeng/bluestore-reap-collection
os/bluestore: fix the wrong usage for map_any
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sat, 18 Nov 2017 13:10:16 +0000 (21:10 +0800)]
Merge pull request #18913 from yaozongyou/wip-rados-add-touch-command
tools/rados: add touch command to change object modification time
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 18 Nov 2017 13:08:29 +0000 (21:08 +0800)]
Merge pull request #18848 from jcsp/wip-22098
mgr/dashboard: fix audit log loading
Reviewed-by: Kefu Chai <kchai@redhat.com>