]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yao Zongyou [Sat, 16 Sep 2017 05:54:03 +0000 (13:54 +0800)]
doc: fix typo in php.rst
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
Xie Xingguo [Thu, 14 Sep 2017 10:27:02 +0000 (18:27 +0800)]
Merge pull request #17627 from majianpeng/bluefs-exce-debug-code
os/bluestore/BlueFS: Don't call debug related code under any condition.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Xie Xingguo [Thu, 14 Sep 2017 10:26:12 +0000 (18:26 +0800)]
Merge pull request #17371 from xiexingguo/wip-per-pool-full-control
mon, osd: per pool space-full flag support
Reviewed-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Thu, 14 Sep 2017 10:25:24 +0000 (18:25 +0800)]
Merge pull request #17368 from xiexingguo/wip-nice-data
mon/PGMap: nice numbers for 'data' section of 'ceph df' command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Thu, 14 Sep 2017 03:08:51 +0000 (20:08 -0700)]
Merge PR #17657 into master
* refs/remotes/upstream/pull/17657/head:
mds: optimize MDCache::rejoin_scour_survivor_replicas()
mds: fix MDSCacheObject::clear_replica_map
mds: support limiting cache by memory
common: refactor of lru
mds: resolve unsigned coercion compiler warning
common: use safer uint64_t for list size
common: add bytes2str pretty print function
mds: check if waiting is allocated before use
mds: go back to compact_map for replicas
mds: use mempool for cache objects
mds: cleanup replica_map access
common: add alloc_ptr smart pointer
common: add warning on base class use of mempool
common: use atomic uin64_t for counter
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Thu, 14 Sep 2017 01:29:20 +0000 (18:29 -0700)]
Merge PR #17689 into master
* refs/remotes/upstream/pull/17689/head:
ceph: fix "stopping mds can't export subtree"
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 14 Sep 2017 01:29:18 +0000 (18:29 -0700)]
Merge PR #17545 into master
* refs/remotes/upstream/pull/17545/head:
client: fix request reference leak
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
vasukulkarni [Thu, 14 Sep 2017 00:44:24 +0000 (17:44 -0700)]
Merge pull request #17700 from cbodley/wip-qa-smoke-s3tests
qa/smoke: add rgw crypto config for s3tests
Patrick Donnelly [Wed, 13 Sep 2017 20:37:57 +0000 (13:37 -0700)]
Merge PR #17608 into master
* refs/remotes/upstream/pull/17608/head:
doc/cephfs/posix: put posix notes in perspective
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Wed, 13 Sep 2017 19:57:45 +0000 (12:57 -0700)]
Merge pull request #17641 from amitkumar50/cov-messages-12
messages: Initialization of variable beat
Reviewed-by: Jos Collin <jcollin@redhat.com>
Yuri Weinstein [Wed, 13 Sep 2017 15:30:03 +0000 (08:30 -0700)]
Merge pull request #10460 from weiqiaomiao/wqm-wip-rgw-dellc
rgw: add tenant to shard_id in RGWDeleteLC::execute()
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Yuri Weinstein [Wed, 13 Sep 2017 15:28:24 +0000 (08:28 -0700)]
Merge pull request #17061 from shashalu/fix-rgw-lc
rgw: fix lc process only schdule the first item of lc objects
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: fang.yuxiang <fang.yuxiang@eisoo.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Casey Bodley [Wed, 13 Sep 2017 15:20:51 +0000 (11:20 -0400)]
qa/smoke: add rgw crypto config for s3tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 13 Sep 2017 15:20:38 +0000 (08:20 -0700)]
Merge pull request #17631 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER
rgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning through XMLHttpRequest
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 13 Sep 2017 15:20:17 +0000 (08:20 -0700)]
Merge pull request #17632 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER-WEBSITE
rgw: return 'Access-Control-Allow-Origin' header when the set and delete bucket website through XMLHttpRequest
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 13 Sep 2017 15:19:33 +0000 (08:19 -0700)]
Merge pull request #17663 from shashalu/fix-rgw-LCFilter
rgw: Fix closing tag for Prefix
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Wed, 13 Sep 2017 14:38:19 +0000 (09:38 -0500)]
Merge pull request #17543 from iliul/fix-dup-global-section
vstart.sh: Remove duplicate global section
Reviewed-by: Sage Weil <sage@redhat.com>
iliul [Thu, 7 Sep 2017 07:31:17 +0000 (07:31 +0000)]
vstart.sh: Remove duplicate global section
Signed-off-by: iliul <liul124@chinaunicom.cn>
Sage Weil [Wed, 13 Sep 2017 13:19:26 +0000 (08:19 -0500)]
Merge pull request #17544 from joelin/wip-delete-forgot-mark
msg: remove the ),it's redundant.
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Xie Xingguo [Wed, 13 Sep 2017 10:31:10 +0000 (18:31 +0800)]
Merge pull request #17515 from xiexingguo/wip-data-digest
osd/PrimaryLogPG: do not set data digest for bluestore
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yan, Zheng [Wed, 13 Sep 2017 07:55:46 +0000 (15:55 +0800)]
mds: optimize MDCache::rejoin_scour_survivor_replicas()
avoid iterating dentries if dirfrag is non-auth
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Yan, Zheng [Wed, 13 Sep 2017 07:54:45 +0000 (15:54 +0800)]
mds: fix MDSCacheObject::clear_replica_map
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Nathan Cutler [Wed, 13 Sep 2017 07:05:01 +0000 (09:05 +0200)]
Merge pull request #17366 from smithfarm/wip-21176
build/ops: python-numpy-devel build dependency for SUSE
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Ewaznazari <Nazari@keyinternational.academy>
Jos Collin [Wed, 13 Sep 2017 05:29:35 +0000 (05:29 +0000)]
Merge pull request #17685 from ygtzf/HashIndex-clerical-error
os/filestore/HashIndex.h: fixed a typo in comment
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Haomai Wang [Wed, 13 Sep 2017 05:25:26 +0000 (22:25 -0700)]
Merge pull request #17688 from TsaiJin/wip-fix-assert-bug
msg/asyc/rmda: fix the bug of assert when Infiniband::recv_msg receives disconnect message
Reviewed-by: Haomai Wang <haomai@xsky.com>
xie xingguo [Wed, 6 Sep 2017 02:25:02 +0000 (10:25 +0800)]
osd/osd_types.h: default to no data/omap digest for new object
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 5 Sep 2017 12:56:32 +0000 (20:56 +0800)]
osd/PrimaryLogPG: do not generate data digest for BlueStore by default
BlueStore enables CRC by default, so this is a dup and gains
no more benefits.
Turn this off by default, which is good for performance.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Yan, Zheng [Wed, 13 Sep 2017 03:27:18 +0000 (11:27 +0800)]
ceph: fix "stopping mds can't export subtree"
caused by commit
790c34138f "Make standby-replay mds avoid initiating subtree export"
Fixes: http://tracker.ceph.com/issues/21378
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Jos Collin [Wed, 13 Sep 2017 03:39:23 +0000 (03:39 +0000)]
Merge pull request #17687 from yonghengdexin735/wip-zzz-error
common: fix typo deamon in comments
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Mon, 11 Sep 2017 22:21:52 +0000 (15:21 -0700)]
mds: support limiting cache by memory
This introduces two config parameters:
mds_cache_memory_limit: Sets the soft maximum of the cache to the given
byte count. (Like mds_cache_size, this doesn't actually limit the maximum
size of the cache. It just dictates the steady-state size.)
mds_cache_reservation: This replaces mds_health_cache_threshold everywhere
except the Beacon heartbeat sent to the mons. The idea here is to specify a
reservation of memory (5% by default) for operations and the MDS tries to
always maintain that reservation. So, the MDS will recall caps from clients
when it begins dipping into its reservation of memory.
mds_cache_size still limits the cache by Inode count but is now by-default 0
(i.e. unlimited). The new preferred way of specifying cache limits is by memory
size. The default is 1GB.
Fixes: http://tracker.ceph.com/issues/20594
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1464976
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Jin Cai [Wed, 13 Sep 2017 02:32:08 +0000 (10:32 +0800)]
msg/asyc/rmda: fix the bug of assert when Infiniband::recv_msg receives
disconnect message
Signed-off-by: Jin Cai <caijin.caij@alibaba-inc.com>
yonghengdexin735 [Wed, 13 Sep 2017 02:22:08 +0000 (10:22 +0800)]
common:fix error word
Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
Sage Weil [Wed, 13 Sep 2017 02:12:50 +0000 (21:12 -0500)]
Merge pull request #17613 from smithfarm/wip-12056
doc: document include/ipaddr.h
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 13 Sep 2017 02:03:42 +0000 (21:03 -0500)]
Merge pull request #17644 from Vogtinator/readme-vstart
README: Improve vstart.sh usage
yaoguotao [Wed, 13 Sep 2017 01:59:53 +0000 (21:59 -0400)]
os/filestore/HashIndex.h: fixed a clerical error
Signed-off-by: yaoguotao <yaoguot@gmail.com>
Sage Weil [Tue, 12 Sep 2017 23:56:25 +0000 (18:56 -0500)]
Merge pull request #17654 from yuyuyu101/wip-spdk-doc
doc/bluestore: add SPDK usage for bluestore
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Sep 2017 23:54:29 +0000 (18:54 -0500)]
Merge pull request #17658 from ukernel/wip-cephfs-seekdir
doc/cephfs/posix: remove stale information for seekdir
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Sep 2017 23:39:14 +0000 (18:39 -0500)]
Merge pull request #17669 from ygtzf/parameter-default-value-error
doc: update default value of parameter mon_subscribe_interval
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Sep 2017 23:36:59 +0000 (18:36 -0500)]
Merge pull request #17672 from FrankYu/master
doc: the client inputs the pool name instead of pool ID
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Patrick Donnelly [Tue, 12 Sep 2017 22:56:32 +0000 (15:56 -0700)]
Merge PR #17679 into master
* refs/remotes/upstream/pull/17679/head:
qa: get asok path from ceph.conf
qa: use config_path property instead of literal
Reviewed-by: John Spray <john.spray@redhat.com>
Patrick Donnelly [Tue, 12 Sep 2017 22:51:30 +0000 (15:51 -0700)]
qa: get asok path from ceph.conf
The asok path was recently moved to /tmp to resolve unix path too long errors.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 12 Sep 2017 22:50:33 +0000 (15:50 -0700)]
qa: use config_path property instead of literal
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Sep 2017 04:01:31 +0000 (21:01 -0700)]
common: refactor of lru
Avoids an unnecessary "max" size of the LRU which was used to calculate the
midpoint. Instead, just dynamically move the LRUObjects between top and bottom
on-the-fly.
This change is necessary for a cache which which does not limit by the number
of objects but by some other metric. (In this case, memory.)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 12 Sep 2017 20:40:17 +0000 (13:40 -0700)]
mds: resolve unsigned coercion compiler warning
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Sep 2017 03:51:56 +0000 (20:51 -0700)]
common: use safer uint64_t for list size
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sun, 30 Jul 2017 23:09:32 +0000 (16:09 -0700)]
common: add bytes2str pretty print function
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 12 Sep 2017 21:31:18 +0000 (14:31 -0700)]
mds: check if waiting is allocated before use
This prevents accidental allocation of the map.
Also, privatize the variable to protect from this in child classes.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 12 Sep 2017 21:29:49 +0000 (14:29 -0700)]
mds: go back to compact_map for replicas
Zheng observed that an alloc_ptr doesn't really work in this case since any
call to get_replicas() will cause the map to be allocated, nullifying the
benefit. Use a compact_map until a better solution can be written. (This means
that the map will be allocated outside the mempool.)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 28 Jul 2017 00:21:54 +0000 (17:21 -0700)]
mds: use mempool for cache objects
The purpose of this is to allow us to track memory usage by cached objects so
we can limit cache size based on memory available/allocated to the MDS.
This commit is a first step: it adds CInode, CDir, and CDentry to the mempool
but not all of the containers in these classes (e.g. std::map). However,
MDSCacheObject has been changed to allocate its containers through the mempool
by converting compact_* containers to the std versions offered through mempool
via the new alloc_ptr.
(A compact_* class simply wraps a pointer to the std:: version to reduce memory
usage of an object when the container is only occasionally used. The alloc_ptr
allows us to achieve the same thing explicitly with only a little handholding:
when all entries in the wrapped container are deleted, the caller must call
alloc_ptr.release().)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 27 Jul 2017 19:06:23 +0000 (12:06 -0700)]
mds: cleanup replica_map access
The gymnastics protecting the map failed as the code evolved. Just expose it
normally with a getter.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 27 Jul 2017 19:10:14 +0000 (12:10 -0700)]
common: add alloc_ptr smart pointer
This ptr is like a unique_ptr except it allocates the underlying object on
access. The idea being that we can save memory if the object is only needed
sometimes.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Tamilarasi Muthamizhan [Tue, 12 Sep 2017 22:07:24 +0000 (15:07 -0700)]
Merge pull request #17650 from ceph/wip-ceph-deploy-fix
qa/tests: Fix get_system_type failure due to invalid remote name
Mykola Golub [Tue, 12 Sep 2017 18:17:19 +0000 (21:17 +0300)]
Merge pull request #17636 from dillaman/wip-21319
rbd: clean up warnings when mirror commands used on non-setup pool
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Frank Yu [Tue, 12 Sep 2017 15:04:14 +0000 (23:04 +0800)]
doc: the client inputs the pool name instead of pool ID
Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
Kefu Chai [Tue, 12 Sep 2017 14:51:33 +0000 (22:51 +0800)]
Merge pull request #13383 from wonzhq/wip-update-calc-stats
osd: change the conditional in _update_calc_stats
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 12 Sep 2017 13:35:13 +0000 (21:35 +0800)]
Merge pull request #17640 from tchaikov/wip-diagram-py3
doc/scripts: py3 compatible
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
yaoguotao [Tue, 12 Sep 2017 09:09:10 +0000 (05:09 -0400)]
doc: update default value of parameter mon_subscribe_interval
Signed-off-by: yaoguotao <yaoguot@gmail.com>
Kefu Chai [Tue, 12 Sep 2017 04:42:14 +0000 (12:42 +0800)]
Merge pull request #17639 from tchaikov/wip-doc-ceph-disk
doc: update ceph-disk with a state-transition diagram
Reviewed-by: Alfredo Deza <adeza@redhat.com>
lu.shasha [Tue, 12 Sep 2017 03:19:44 +0000 (11:19 +0800)]
rgw: LCFilter_S3::to_xml the second "prefix" missed "/"
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
David Zafman [Tue, 12 Sep 2017 03:12:27 +0000 (20:12 -0700)]
Merge pull request #17538 from dzafman/wip-21272
Add export and remove ceph-objectstore-tool command option
Reviewed-by: Sage Weil <sage@redhat.com>
Haomai Wang [Mon, 11 Sep 2017 21:57:34 +0000 (14:57 -0700)]
doc/bluestore: add SPDK usage for bluestore
Signed-off-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Tue, 12 Sep 2017 02:05:25 +0000 (21:05 -0500)]
Merge pull request #17537 from mychoxin/yuanxin_remove_submit
os/bluestore: remove useless function submit
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Yan, Zheng [Tue, 12 Sep 2017 01:46:10 +0000 (09:46 +0800)]
doc/cephfs/posix: remove stale information for seekdir
Current cephfs can support seekdir efficiently. The diverge was
fixed by https://github.com/ceph/ceph/pull/14317
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Alfredo Deza [Mon, 11 Sep 2017 19:44:42 +0000 (15:44 -0400)]
Merge pull request #17606 from ceph/wip-bz1478598
ceph-volume allow filtering by `uuid`, do not require osd id
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
amitkuma [Mon, 11 Sep 2017 18:39:00 +0000 (00:09 +0530)]
messages: Initialization of variable beat
Fixes the coverity issue:
** 717278 Uninitialized scalar field
CID 717278 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member beat is not
initialized in this constructor nor in any functions that it calls.
Signed-off-by: Amit Kumar <amitkuma@redhat.com>
Alfredo Deza [Mon, 11 Sep 2017 16:32:08 +0000 (12:32 -0400)]
ceph-volume lvm.trigger just split the osd_id once
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 11 Sep 2017 16:30:34 +0000 (12:30 -0400)]
ceph-volume tests catch improper parsing of osd uuid
When the osd ID existed in the UUID in the same format (e.g. '1-') the
parsing would break returning a bogus UUID that is impossible to find
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Fri, 8 Sep 2017 20:32:15 +0000 (15:32 -0500)]
tests: remove 'ceph-' prefix from test node hostnames
This updates our Vagrantfile to match the changes in ceph-ansible
introduced by https://github.com/ceph/ceph-ansible/commit/
298a63c43
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Fri, 8 Sep 2017 16:25:57 +0000 (12:25 -0400)]
ceph-volume lvm.api PVolumes should filter by all matching tags, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 8 Sep 2017 16:25:31 +0000 (12:25 -0400)]
ceph-volume tests pv API should also match all pv_tags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 8 Sep 2017 15:47:09 +0000 (11:47 -0400)]
ceph-volume tests prove all volume tags have to match in vgs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Casey Bodley [Mon, 11 Sep 2017 17:42:00 +0000 (13:42 -0400)]
Merge pull request #17377 from cbodley/wip-rgw-test-multi-encryption
test/rgw: fix test_encrypted_object_sync for 3+ zones
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Mon, 11 Sep 2017 16:42:44 +0000 (11:42 -0500)]
Merge pull request #17102 from mychoxin/yuanxin_print_log_if_add_event_fail
msg/async: print error log if add_event fail
Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Yuri Weinstein [Mon, 11 Sep 2017 15:31:04 +0000 (08:31 -0700)]
Merge pull request #16492 from yehudasa/wip-rgw-multi-log
rgw: multisite log tracing
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Mon, 11 Sep 2017 15:28:46 +0000 (08:28 -0700)]
Merge pull request #17400 from theanalyst/fix/rgw-set-attrs-mtime
rgw: rgw_rados: set_attrs now sets the same time for BI & object
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Kefu Chai [Mon, 11 Sep 2017 13:53:57 +0000 (21:53 +0800)]
admon/build-doc: be compatible with py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 11 Sep 2017 12:46:53 +0000 (20:46 +0800)]
doc/rados: fix the method names
otherwise, sphinx fails to run with py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 11 Sep 2017 13:54:33 +0000 (21:54 +0800)]
doc: switch to upstream sphinx-ditaa
it works with setuptools and is now compatible with py3
the py3 branch is created to track the upstream's master branch
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Mon, 11 Sep 2017 14:58:06 +0000 (10:58 -0400)]
Merge pull request #17638 from idryomov/wip-rbd-already-mapped-fixes
krbd: rewrite "already mapped" code
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Fabian Vogt [Mon, 11 Sep 2017 14:39:18 +0000 (16:39 +0200)]
README: Improve vstart.sh usage
Using long options where possible to make it easier to understand directly
and adding bluestore by default as it is the default storage backend.
Signed-off-by: Fabian Vogt <fvogt@suse.com>
Jianpeng Ma [Mon, 11 Sep 2017 13:34:57 +0000 (21:34 +0800)]
os/bluestore/BlueFS: Don't call debug related code under any condition.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Alfredo Deza [Fri, 8 Sep 2017 15:46:34 +0000 (11:46 -0400)]
ceph-volume lvm.api all vg tags should match, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 7 Sep 2017 21:00:22 +0000 (17:00 -0400)]
ceph-volume tests prove all tags have to match in lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 7 Sep 2017 20:59:53 +0000 (16:59 -0400)]
ceph-volume lvm.api all lv tags should match, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 7 Sep 2017 20:56:55 +0000 (16:56 -0400)]
ceph-volume lvm.activate allow not using osd_id
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 7 Sep 2017 20:54:19 +0000 (16:54 -0400)]
ceph-volume tests prove missing args.osd_id is fine
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 7 Sep 2017 20:51:43 +0000 (16:51 -0400)]
ceph-volume tests add is_root and lv fixtures to conftest
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Mon, 11 Sep 2017 12:50:35 +0000 (20:50 +0800)]
doc/scripts/gen_state_diagram.py: port to py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 11 Sep 2017 12:44:28 +0000 (20:44 +0800)]
doc: update ceph-disk with a state transition diagram
also, quote the variabls in source code with double quote.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ilya Dryomov [Thu, 7 Sep 2017 14:05:20 +0000 (16:05 +0200)]
tests: update unmap.t for "already mapped" warning
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Mykola Golub [Mon, 11 Sep 2017 11:09:32 +0000 (14:09 +0300)]
Merge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev
qa/suites/krbd: enable xfstests blockdev tests
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Ilya Dryomov [Thu, 7 Sep 2017 14:05:20 +0000 (16:05 +0200)]
krbd: rewrite "already mapped" code
The "already mapped" code, introduced in commit
d6a66fc8f49b ("rbd:
before rbd map, warn if the image is already mapped") is broken:
because of a use-after-free on attribute strings, the warning isn't
even printed half the time.
Rewrite making use of udev enumeration filters and fix the interface
while at it.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
yuliyang [Mon, 11 Sep 2017 08:22:55 +0000 (16:22 +0800)]
rgw: return 'Access-Control-Allow-Origin' header when the set and delete bucket website through XMLHttpRequest
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
yuliyang [Mon, 11 Sep 2017 07:28:30 +0000 (15:28 +0800)]
rgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning through XMLHttpRequest
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
Vasu Kulkarni [Sun, 10 Sep 2017 19:42:16 +0000 (12:42 -0700)]
Fix get_system_type failure due to invalid remote name
recent changes caused the remote name to be invalid, fix the
arg passed to get_system_type
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Sage Weil [Sun, 10 Sep 2017 19:21:39 +0000 (14:21 -0500)]
Merge pull request #17453 from kungf/eversion_t_opt_max
osd_types: define max in eversion_t::max() to static
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 10 Sep 2017 19:20:30 +0000 (14:20 -0500)]
Merge pull request #17571 from jcsp/wip-21260
mon: fix dropping mgr metadata for active mgr (#21260)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 10 Sep 2017 19:18:37 +0000 (14:18 -0500)]
Merge pull request #17572 from xiexingguo/wip-os-tool
tools/ceph_objectstore_tool: fix 'dup' unable to duplicate meta PG
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 10 Sep 2017 19:18:13 +0000 (14:18 -0500)]
Merge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master
MOSDPGRecoveryDelete[Reply]: bump header version
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 10 Sep 2017 19:17:48 +0000 (14:17 -0500)]
Merge pull request #17588 from kungf/aio_submit_size_change
os/bluestore: shrink aio submit size to pending value
Reviewed-by: Sage Weil <sage@redhat.com>