]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph_test_objectstore: disable filestore_fiemap for tests 18452/head
Sage Weil [Fri, 20 Oct 2017 21:32:59 +0000 (16:32 -0500)]
ceph_test_objectstore: disable filestore_fiemap for tests

This option was enabled in 87f33376d977962ab7438c46873ea9b6292390d1 but
causes ObjectStore/StoreTest.Synthetic/1 (filestore) to fail.  Revert that
bit for now until we fix fiemap properly.

See http://tracker.ceph.com/issues/21880

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18414 from majianpeng/pmem-work
Kefu Chai [Fri, 20 Oct 2017 18:58:01 +0000 (02:58 +0800)]
Merge pull request #18414 from majianpeng/pmem-work

libmpem: Revert "submodule: make libmpem as a submodule."

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18335 from linuxbox2/wip-rgw-readdir2
Casey Bodley [Fri, 20 Oct 2017 15:55:17 +0000 (11:55 -0400)]
Merge pull request #18335 from linuxbox2/wip-rgw-readdir2

rgw_file: implement variant offset readdir processing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18392 from tchaikov/wip-21842
Kefu Chai [Fri, 20 Oct 2017 13:37:44 +0000 (21:37 +0800)]
Merge pull request #18392 from tchaikov/wip-21842

os/bluestore: implement BlueRocksEnv::AreFilesSame()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18251 from jan--f/mgr-py-module-constants
John Spray [Fri, 20 Oct 2017 11:58:22 +0000 (12:58 +0100)]
Merge pull request #18251 from jan--f/mgr-py-module-constants

pybind/mgr_module: move PRIO_* and PERFCOUNTER_* to MgrModule class

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18021 from jcsp/wip-prometheus-disk-occupation
John Spray [Fri, 20 Oct 2017 11:28:12 +0000 (12:28 +0100)]
Merge pull request #18021 from jcsp/wip-prometheus-disk-occupation

mgr/prometheus: add ceph_disk_occupation series

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoRevert "submodule: make libmpem as a submodule." 18414/head
Jianpeng Ma [Thu, 19 Oct 2017 10:28:48 +0000 (18:28 +0800)]
Revert "submodule: make libmpem as a submodule."

This reverts commit 6a14159ee4b910bf83b38316f98ef07edf5f9a01.
Using ExternalProject_Add::GIT to download nvml source .

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge pull request #18250 from dillaman/wip-21763
Mykola Golub [Fri, 20 Oct 2017 08:55:44 +0000 (11:55 +0300)]
Merge pull request #18250 from dillaman/wip-21763

doc/rbd: tweaks for the LIO iSCSI gateway

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoos/bluestore: implement BlueRocksEnv::AreFilesSame() 18392/head
Kefu Chai [Thu, 19 Oct 2017 07:22:49 +0000 (15:22 +0800)]
os/bluestore: implement BlueRocksEnv::AreFilesSame()

it is used by the "repair" feature to dedup the files to be searched for
MANIFEST-* files. the default implementation is the POSIX one, which
tries to look at the local fs, but we should be looking for the files in
the bluefs. in this very use case, wal and db do not share the same device,
so we can just compare the paths. actually, it should aways return
"false". as the files being compared are always "db" and "db.wal".

Fixes: http://tracker.ceph.com/issues/21842
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18387 from tchaikov/wip-dmclock-client-info-ptr
Kefu Chai [Fri, 20 Oct 2017 03:47:59 +0000 (11:47 +0800)]
Merge pull request #18387 from tchaikov/wip-dmclock-client-info-ptr

osd,dmclock: use pointer to ClientInfo instead of a copy of it

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #18350 from ovh/bp-ceph-conf-dump-all
Kefu Chai [Fri, 20 Oct 2017 03:46:26 +0000 (11:46 +0800)]
Merge pull request #18350 from ovh/bp-ceph-conf-dump-all

tools/ceph-conf: dump parsed config in plain text or as json

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18367 from zealoussnow/wip-10180
Kefu Chai [Fri, 20 Oct 2017 03:45:38 +0000 (11:45 +0800)]
Merge pull request #18367 from zealoussnow/wip-10180

ceph-bluestore-tool: create out_dir before create full path  of kvdb

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #17441 from yanyixing/update-umcloud-affiliation
Kefu Chai [Fri, 20 Oct 2017 01:58:49 +0000 (09:58 +0800)]
Merge pull request #17441 from yanyixing/update-umcloud-affiliation

mailmap: Update umcloud affiliation

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18374 from tchaikov/wip-ceph-C-d
Josh Durgin [Thu, 19 Oct 2017 18:52:13 +0000 (11:52 -0700)]
Merge pull request #18374 from tchaikov/wip-ceph-C-d

ceph.in: do not panic at control+d in interactive mode

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #17462 from majianpeng/pmem-work
Kefu Chai [Thu, 19 Oct 2017 15:38:10 +0000 (23:38 +0800)]
Merge pull request #17462 from majianpeng/pmem-work

cmake: compile nvml as an external project

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: Build libpmem from source code. 17462/head
Jianpeng Ma [Thu, 19 Oct 2017 16:44:09 +0000 (00:44 +0800)]
cmake: Build libpmem from source code.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agodoc/rbd: tweaks for the LIO iSCSI gateway 18250/head
Jason Dillaman [Wed, 11 Oct 2017 16:02:55 +0000 (12:02 -0400)]
doc/rbd: tweaks for the LIO iSCSI gateway

Fixes: http://tracker.ceph.com/issues/21763
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18389 from yaozongyou/fix-type-in-bluestore-migration
Xie Xingguo [Thu, 19 Oct 2017 10:36:25 +0000 (18:36 +0800)]
Merge pull request #18389 from yaozongyou/fix-type-in-bluestore-migration

doc: fix typo in bluestore-migration.rst

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18395 from gaosibei/mailmap
Jos Collin [Thu, 19 Oct 2017 10:21:40 +0000 (10:21 +0000)]
Merge pull request #18395 from gaosibei/mailmap

mailmap: Add Sibei, XueYu Affiliation

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomailmap, organizationmap: add Sibei, XueYu 18395/head
gaosibei [Thu, 19 Oct 2017 08:47:55 +0000 (16:47 +0800)]
mailmap, organizationmap: add Sibei, XueYu

Signed-off-by: Sibei Gao <gaosb@inspur.com>
7 years agoosd: update mClock.*Queue to incorporate the changes on dmclock 18387/head
Kefu Chai [Thu, 19 Oct 2017 05:22:07 +0000 (13:22 +0800)]
osd: update mClock.*Queue to incorporate the changes on dmclock

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: fix typo in bluestore-migration.rst 18389/head
Yao Zongyou [Thu, 19 Oct 2017 06:38:40 +0000 (14:38 +0800)]
doc: fix typo in bluestore-migration.rst

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoMerge pull request #18232 from jdurgin/wip-filestore-rocksdb
Kefu Chai [Thu, 19 Oct 2017 05:55:14 +0000 (13:55 +0800)]
Merge pull request #18232 from jdurgin/wip-filestore-rocksdb

common/options: enable multiple rocksdb compaction threads for filestore

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18311 from shinobu-x/sk-osd_20171015
Kefu Chai [Thu, 19 Oct 2017 05:54:31 +0000 (13:54 +0800)]
Merge pull request #18311 from shinobu-x/sk-osd_20171015

osd: Don't initialze pointers by NULL or 0

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #14213 from xiaoxichen/fix_wbthrottle_assert
Kefu Chai [Thu, 19 Oct 2017 05:53:15 +0000 (13:53 +0800)]
Merge pull request #14213 from xiaoxichen/fix_wbthrottle_assert

os/Filestore: fix wbthrottle assert.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18256 from liewegas/wip-bluestore-superblock
Kefu Chai [Thu, 19 Oct 2017 05:51:18 +0000 (13:51 +0800)]
Merge pull request #18256 from liewegas/wip-bluestore-superblock

os/bluestore: allow reconstruction of osd data dir from bluestore bdev label

Reviewed-By: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18346 from tchaikov/wip-log-if-do_read_entry-fails
Kefu Chai [Thu, 19 Oct 2017 05:41:18 +0000 (13:41 +0800)]
Merge pull request #18346 from tchaikov/wip-log-if-do_read_entry-fails

os/filestore: print out the error if do_read_entry() fails

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agodmclock: pickup latest dmclock subtree
Kefu Chai [Thu, 19 Oct 2017 05:19:17 +0000 (13:19 +0800)]
dmclock: pickup latest dmclock subtree

to include the change of https://github.com/ceph/dmclock/pull/41
Merge commit '060a7777cb6fe3f052259e1324490cdbf7b49980'

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoSquashed 'src/dmclock/' changes from 93f760c57c..1bbd42b8fe
Kefu Chai [Thu, 19 Oct 2017 05:19:16 +0000 (13:19 +0800)]
Squashed 'src/dmclock/' changes from 93f760c57c..1bbd42b8fe

1bbd42b8fe Merge pull request #41 from tchaikov/wip-client-info-ptr
cb7901e99a ClientRec: instead of a copy of ClientInfo, keep a pointer of it

git-subtree-dir: src/dmclock
git-subtree-split: 1bbd42b8fe212dbff68c2b470813e936859705d6

7 years agoceph-bluestore-tool: create out_dir before create full path of kvdb 18367/head
Leo Zhang [Wed, 18 Oct 2017 02:10:54 +0000 (10:10 +0800)]
ceph-bluestore-tool: create out_dir before create full path  of kvdb

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
7 years agoMerge pull request #18145 from dzafman/wip-18162
Josh Durgin [Thu, 19 Oct 2017 00:33:12 +0000 (17:33 -0700)]
Merge pull request #18145 from dzafman/wip-18162

osd: object added to missing set for backfill, but is not in recovering, error!

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #18377 from joscollin/wip-cleanup-rgw-function-names
Matt Benjamin [Wed, 18 Oct 2017 20:52:37 +0000 (16:52 -0400)]
Merge pull request #18377 from joscollin/wip-cleanup-rgw-function-names

rgw: Fix getter function names in RGWEnv

7 years agorgw_file: disable FLAG_EXACT_MATCH enforcement 18335/head
Matt Benjamin [Thu, 12 Oct 2017 15:44:45 +0000 (11:44 -0400)]
rgw_file: disable FLAG_EXACT_MATCH enforcement

a. upstream motivating behavior no longer reproduces
b. incorrect stat behavior observed, traced to exact match enforcement

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agorgw_file: implement variant offset readdir processing
Matt Benjamin [Mon, 16 Oct 2017 01:48:19 +0000 (21:48 -0400)]
rgw_file: implement variant offset readdir processing

Introduce new rgw_readdir2(...), which in which continues
from an arbitrary dirent name, which presumably has been
seen in a prior partial enumeration.

Add single-file unit test for READDIR cases, librgw_file_marker.cc.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #18380 from zmc/wip-master-init
vasukulkarni [Wed, 18 Oct 2017 20:00:07 +0000 (13:00 -0700)]
Merge pull request #18380 from zmc/wip-master-init

Changes required for teuthology's systemd support

7 years agoMerge pull request #18365 from linuxbox2/wip-rgw-v3open-write
Matt Benjamin [Wed, 18 Oct 2017 19:31:13 +0000 (15:31 -0400)]
Merge pull request #18365 from linuxbox2/wip-rgw-v3open-write

rgw_file: explicit NFSv3 open() emulation

7 years agoqa/tasks/ceph: Set owner on mds mount point 18380/head
Zack Cerza [Mon, 1 May 2017 23:07:33 +0000 (17:07 -0600)]
qa/tasks/ceph: Set owner on mds mount point

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoqa/tasks/cephfs/filesystem: Check for mds failure
Zack Cerza [Mon, 1 May 2017 22:41:00 +0000 (16:41 -0600)]
qa/tasks/cephfs/filesystem: Check for mds failure

... inside Filesystem.are_daemons_healthy()

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoqa/tasks/ceph: Remove /var/lib/ceph copypasta
Zack Cerza [Wed, 26 Apr 2017 21:10:57 +0000 (15:10 -0600)]
qa/tasks/ceph: Remove /var/lib/ceph copypasta

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoqa/tasks/ceph: Set owner on osd mount point
Zack Cerza [Wed, 26 Apr 2017 18:22:00 +0000 (12:22 -0600)]
qa/tasks/ceph: Set owner on osd mount point

This is needed when running with systemd

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoqa/tasks/ceph: Set owner on mon mount point
Zack Cerza [Wed, 26 Apr 2017 18:17:28 +0000 (12:17 -0600)]
qa/tasks/ceph: Set owner on mon mount point

This is needed when running with systemd

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge pull request #15554 from cbodley/wip-rgw-parse-cr-dump
Casey Bodley [Wed, 18 Oct 2017 18:32:22 +0000 (14:32 -0400)]
Merge pull request #15554 from cbodley/wip-rgw-parse-cr-dump

tools/rgw: add script to inspect admin socket "cr dump"

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agotest: Cleanup test-erasure-eio.sh code 18145/head
David Zafman [Thu, 12 Oct 2017 03:16:44 +0000 (20:16 -0700)]
test: Cleanup test-erasure-eio.sh code

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Add replicated recovery/backfill test
David Zafman [Mon, 9 Oct 2017 21:15:51 +0000 (14:15 -0700)]
test: Add replicated recovery/backfill test

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Better recovery/backfill restart for mark_unfound_lost delete/revert
David Zafman [Mon, 9 Oct 2017 21:03:23 +0000 (14:03 -0700)]
osd: Better recovery/backfill restart for mark_unfound_lost delete/revert

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd, mon: Add new pg states recovery_unfound and backfill_unfound
David Zafman [Mon, 9 Oct 2017 15:19:21 +0000 (08:19 -0700)]
osd, mon: Add new pg states recovery_unfound and backfill_unfound

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Add new UnfoundBackfill and UnfoundRecovery pg transitions
David Zafman [Mon, 9 Oct 2017 15:17:29 +0000 (08:17 -0700)]
osd: Add new UnfoundBackfill and UnfoundRecovery pg transitions

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Test case that reproduces tracker 18162
David Zafman [Mon, 2 Oct 2017 20:51:17 +0000 (13:51 -0700)]
test: Test case that reproduces tracker 18162

recover_replicas: object added to missing set for backfill, but is not in recovering, error!

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #18378 from ceph/wip-yuriw-21822-master
Yuri Weinstein [Wed, 18 Oct 2017 17:19:35 +0000 (10:19 -0700)]
Merge pull request #18378 from ceph/wip-yuriw-21822-master

tests - ceph-ansible vars additions

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
7 years agotests - ceph-ansible vars additions 18378/head
Yuri Weinstein [Tue, 17 Oct 2017 20:14:36 +0000 (13:14 -0700)]
tests - ceph-ansible vars additions
added symlinks for distros

Fixes http://tracker.ceph.com/issues/21822
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit f30e9a5e6bd47129f8a35c1f9067216cfe8a6a70)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agorgw: Fix getter function names in RGWEnv 18377/head
Jos Collin [Wed, 18 Oct 2017 14:49:36 +0000 (20:19 +0530)]
rgw: Fix getter function names in RGWEnv

Fixed the getter function names as per the review comment in
https://github.com/ceph/ceph/pull/17432

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18376 from tchaikov/wip-authors
Sage Weil [Wed, 18 Oct 2017 13:51:39 +0000 (08:51 -0500)]
Merge pull request #18376 from tchaikov/wip-authors

doc: update Component Technical Leads and maintainers to canonical location

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18355 from gaosibei/wip-rgw-refrence
Casey Bodley [Wed, 18 Oct 2017 12:18:12 +0000 (08:18 -0400)]
Merge pull request #18355 from gaosibei/wip-rgw-refrence

RGW: change function parameters from value to refrence

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17432 from joscollin/wip-cleanup-fix-rgwconf
Matt Benjamin [Wed, 18 Oct 2017 11:57:20 +0000 (07:57 -0400)]
Merge pull request #17432 from joscollin/wip-cleanup-fix-rgwconf

rgw: Access RGWConf through RGWEnv

7 years agoMerge pull request #17440 from mikulely/cleanup-iterate
Matt Benjamin [Wed, 18 Oct 2017 11:52:57 +0000 (07:52 -0400)]
Merge pull request #17440 from mikulely/cleanup-iterate

rgw: update outdated debug func name

7 years agoMerge pull request #17956 from zhangsw/fix-rgw-encry-torrent-bug
Matt Benjamin [Wed, 18 Oct 2017 11:52:39 +0000 (07:52 -0400)]
Merge pull request #17956 from zhangsw/fix-rgw-encry-torrent-bug

rgw: Torrents are not supported for objects encrypted using SSE-C

7 years agoMerge pull request #18057 from baixueyu/branch1
Matt Benjamin [Wed, 18 Oct 2017 11:52:19 +0000 (07:52 -0400)]
Merge pull request #18057 from baixueyu/branch1

rgw: fix radosgw-admin quota enable return value bug

7 years agoMerge pull request #18375 from tchaikov/wip-ceph-disk-check-log
Alfredo Deza [Wed, 18 Oct 2017 10:51:27 +0000 (06:51 -0400)]
Merge pull request #18375 from tchaikov/wip-ceph-disk-check-log

ceph-disk: write log to /var/log/ceph not to /var/run/ceph

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoAUTHORS: Update Component Technical Leads and maintainers to canonical location of... 18376/head
scuttlemonkey [Fri, 10 Mar 2017 19:41:20 +0000 (14:41 -0500)]
AUTHORS: Update Component Technical Leads and maintainers to canonical location of ceph.com.

Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
7 years agoMerge pull request #18315 from dillaman/wip-21797
Mykola Golub [Wed, 18 Oct 2017 10:36:47 +0000 (13:36 +0300)]
Merge pull request #18315 from dillaman/wip-21797

librbd: object map batch update might cause OSD suicide timeout

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #18345 from wido/doc-osd-replace
Kefu Chai [Wed, 18 Oct 2017 10:34:57 +0000 (18:34 +0800)]
Merge pull request #18345 from wido/doc-osd-replace

doc: Remove additional arguments when replacing OSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotools/ceph-conf: dump parsed config in plain text or as json 18350/head
Piotr Dałek [Tue, 17 Oct 2017 07:48:15 +0000 (09:48 +0200)]
tools/ceph-conf: dump parsed config in plain text or as json

This is useful for finding differences between ceph.conf on disk
and in osd/mon memory.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agoceph-disk: write log to /var/log/ceph not to /var/run/ceph 18375/head
Kefu Chai [Wed, 18 Oct 2017 10:03:31 +0000 (18:03 +0800)]
ceph-disk: write log to /var/log/ceph not to /var/run/ceph

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph.in: do not panic at control+d in interactive mode 18374/head
Kefu Chai [Wed, 18 Oct 2017 09:41:45 +0000 (17:41 +0800)]
ceph.in: do not panic at control+d in interactive mode

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18373 from tchaikov/wip-opt-desc
Xie Xingguo [Wed, 18 Oct 2017 08:15:35 +0000 (16:15 +0800)]
Merge pull request #18373 from tchaikov/wip-opt-desc

doc: fix the desc of "osd max pg per osd hard ratio"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc: fix the desc of "osd max pg per osd hard ratio" 18373/head
Kefu Chai [Wed, 18 Oct 2017 08:07:50 +0000 (16:07 +0800)]
doc: fix the desc of "osd max pg per osd hard ratio"

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18370 from mikulely/cleanup-rgw-write-meta
Jos Collin [Wed, 18 Oct 2017 05:34:45 +0000 (05:34 +0000)]
Merge pull request #18370 from mikulely/cleanup-rgw-write-meta

rgw: drop outdated function doc

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agorgw: drop misplaced&outdated func doc 18370/head
Jiaying Ren [Wed, 18 Oct 2017 04:32:24 +0000 (12:32 +0800)]
rgw: drop misplaced&outdated func doc

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
7 years agoMerge pull request #18352 from rzarzynski/wip-testfio-fix-pgps
Kefu Chai [Wed, 18 Oct 2017 02:52:13 +0000 (10:52 +0800)]
Merge pull request #18352 from rzarzynski/wip-testfio-fix-pgps

Revert "bluestore/fio: Fixed problem with all objects having the same hash

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
7 years agoMerge pull request #18338 from xiexingguo/wip-pg
Kefu Chai [Wed, 18 Oct 2017 02:48:32 +0000 (10:48 +0800)]
Merge pull request #18338 from xiexingguo/wip-pg

osd/PrimaryLogPG: do not use approx_size() for log trimming

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18340 from Yan-waller/wip-walle-1014osdprimarypg
Kefu Chai [Wed, 18 Oct 2017 02:47:37 +0000 (10:47 +0800)]
Merge pull request #18340 from Yan-waller/wip-walle-1014osdprimarypg

osd/PG: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18351 from tchaikov/wip-osx
Kefu Chai [Wed, 18 Oct 2017 02:46:50 +0000 (10:46 +0800)]
Merge pull request #18351 from tchaikov/wip-osx

common/event_socket.h: include <errno.h> to use errno

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #18353 from xiexingguo/wip-do-read
Kefu Chai [Wed, 18 Oct 2017 02:46:18 +0000 (10:46 +0800)]
Merge pull request #18353 from xiexingguo/wip-do-read

osd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18321 from majianpeng/msg-async-cleanup
Kefu Chai [Wed, 18 Oct 2017 02:45:48 +0000 (10:45 +0800)]
Merge pull request #18321 from majianpeng/msg-async-cleanup

msg/async: batch handle numevents.

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #18358 from tchaikov/wip-max-pg-per-osd
Kefu Chai [Wed, 18 Oct 2017 02:44:16 +0000 (10:44 +0800)]
Merge pull request #18358 from tchaikov/wip-max-pg-per-osd

osd,mon: add max-pg-per-osd limit

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18289 from smithfarm/wip-21762
Kefu Chai [Wed, 18 Oct 2017 02:43:22 +0000 (10:43 +0800)]
Merge pull request #18289 from smithfarm/wip-21762

build/ops: rpm: move ceph-*-tool binaries out of ceph-test subpackage

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoRGW: change function parameters from value to refrence 18355/head
gaosibei [Tue, 17 Oct 2017 13:22:40 +0000 (21:22 +0800)]
RGW: change function parameters from value to refrence

Signed-off-by: Sibei Gao <gaosb@inspur.com>
7 years agorgw_file: explicit NFSv3 open() emulation 18365/head
Matt Benjamin [Tue, 17 Oct 2017 21:45:37 +0000 (17:45 -0400)]
rgw_file: explicit NFSv3 open() emulation

Expect RGW_OPEN_FLAG_V3 in rgw_write(), and if present, attempt
a stateless open inline.

Required by Ganesha v2.5 and later

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #18184 from oritwas/wip-rgw-21725
Matt Benjamin [Tue, 17 Oct 2017 16:42:10 +0000 (12:42 -0400)]
Merge pull request #18184 from oritwas/wip-rgw-21725

rgw: disable dynamic resharding in multisite environment

7 years agoMerge pull request #16745 from Liuchang0812/object-store-repair
Kefu Chai [Tue, 17 Oct 2017 16:24:39 +0000 (00:24 +0800)]
Merge pull request #16745 from Liuchang0812/object-store-repair

common, tool: update kvstore-tool to repair key/value database

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #18281 into master
Patrick Donnelly [Tue, 17 Oct 2017 15:12:46 +0000 (08:12 -0700)]
Merge PR #18281 into master

* refs/pull/18281/head:
Fixed the readme examples
ptl-tool: Drop Default Labelling of PRs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomon: change "mon_pg_warn_min_per_osd" to uint64_t 18358/head
Kefu Chai [Tue, 17 Oct 2017 04:17:09 +0000 (12:17 +0800)]
mon: change "mon_pg_warn_min_per_osd" to uint64_t

* this silences a warning from -Wsign-compare.
* also switch all its user to the new-style option

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd,mon: change "mon_max_pg_per_osd" to uint64_t
Kefu Chai [Tue, 17 Oct 2017 04:10:55 +0000 (12:10 +0800)]
osd,mon: change "mon_max_pg_per_osd" to uint64_t

as it should never be a negative number. if this option is disabled,
it's 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: add max-pg-per-osd limit
Kefu Chai [Tue, 26 Sep 2017 07:54:14 +0000 (15:54 +0800)]
osd: add max-pg-per-osd limit

osd will refused to create new pgs, until its pg number is lower
than the max-pg-per-osd upper bound setting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18331 from Yan-waller/wip-walle-1008vstartrgw
Casey Bodley [Tue, 17 Oct 2017 15:06:53 +0000 (11:06 -0400)]
Merge pull request #18331 from Yan-waller/wip-walle-1008vstartrgw

vstart.sh: move rgw configuration to client.rgw section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoFixed the readme examples 18281/head
Jos Collin [Tue, 17 Oct 2017 06:08:49 +0000 (11:38 +0530)]
Fixed the readme examples

Fixed the readme examples, according to the new --label definition.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoptl-tool: Drop Default Labelling of PRs
Jos Collin [Fri, 13 Oct 2017 02:46:08 +0000 (08:16 +0530)]
ptl-tool: Drop Default Labelling of PRs

Dropped default labelling of PRs. Allowed --label '', which won't label the PR. The user can omit --label too, if the PR should not be labelled.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18231 from batrick/ptl-tool-labeled-prs
Jos Collin [Tue, 17 Oct 2017 14:09:14 +0000 (14:09 +0000)]
Merge pull request #18231 from batrick/ptl-tool-labeled-prs

ptl-tool: load labeled PRs

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoosd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error 18353/head
xie xingguo [Tue, 17 Oct 2017 12:23:05 +0000 (20:23 +0800)]
osd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error

There are still FileStore users and the full-object CRC might be able
to catch silently returned data errors. Since we support auto-repair now,
let's trigger an auto-repair process instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocommon/lockdep: do not set std::string using braces 18351/head
Kefu Chai [Tue, 17 Oct 2017 12:11:38 +0000 (20:11 +0800)]
common/lockdep: do not set std::string using braces

this silences follow warning from clang:

ceph/src/common/lockdep.cc:219:12: warning: braces around scalar initializer [-Wbraced-scalar-init]
    name = { "unknown" };
           ^~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoRevert "bluestore/fio: Fixed problem with all objects having the same hash" 18352/head
Radoslaw Zarzynski [Tue, 17 Oct 2017 11:09:02 +0000 (13:09 +0200)]
Revert "bluestore/fio: Fixed problem with all objects having the same hash"

This reverts commit 0eb5359273df2c92fa525683f88586878f57bb4b.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocommon/event_socket.h: include <errno.h> to use errno
Kefu Chai [Tue, 17 Oct 2017 11:57:36 +0000 (19:57 +0800)]
common/event_socket.h: include <errno.h> to use errno

OSX needs this also.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18348 from Yan-waller/wip-walle-1017readmecmake
Kefu Chai [Tue, 17 Oct 2017 11:51:51 +0000 (19:51 +0800)]
Merge pull request #18348 from Yan-waller/wip-walle-1017readmecmake

README.md: bump up cmake to 2.8.12

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoREADME.md: bump up cmake to 2.8.12 18348/head
Yan Jun [Tue, 17 Oct 2017 08:35:44 +0000 (16:35 +0800)]
README.md: bump up cmake to 2.8.12

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
7 years agorgw: Access RGWConf through RGWEnv 17432/head
Jos Collin [Sat, 2 Sep 2017 05:59:01 +0000 (11:29 +0530)]
rgw: Access RGWConf through RGWEnv

Created functions rgw_conf_get_enable_ops_log(), rgw_conf_get_enable_usage_log() and
rgw_conf_get_defer_to_bucket_acls() and the necessary changes to provide the access of RGWConf through RGWEnv.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoos/filestore: print out the error if do_read_entry() fails 18346/head
Kefu Chai [Tue, 17 Oct 2017 09:08:59 +0000 (17:08 +0800)]
os/filestore: print out the error if do_read_entry() fails

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: Remove additional arguments when replacing OSD 18345/head
Wido den Hollander [Tue, 17 Oct 2017 09:01:27 +0000 (11:01 +0200)]
doc: Remove additional arguments when replacing OSD

It's not required to provide the --bluestore nor --osd-uuid option
to ceph-disk.

Using BlueStore is the default on master (e.g. Luminous) and thus
this option is not required.

When no OSD UUID is supplied ceph-disk will generate one, so we do
not need to supply one generated by uuidgen.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoosd/PrimaryLogPG: do not use approx_size() for log trimming 18338/head
xie xingguo [Tue, 17 Oct 2017 01:55:57 +0000 (09:55 +0800)]
osd/PrimaryLogPG: do not use approx_size() for log trimming

There might be holes on log versions, thus the approx_size()
should (almost) always overestimate the actual number of log entries.
As a result, we might be at the risk of accessing violation
while searching for the oldest log entry to keep in the log list later.

Fix the above problem by counting the precise number of current
log entries instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocommon/config: drop unused configuration item 'osd_backoff_on_down' 18340/head
Yan Jun [Tue, 17 Oct 2017 06:47:47 +0000 (14:47 +0800)]
common/config: drop unused configuration item 'osd_backoff_on_down'

drop it for no more use.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
7 years agorgw: update outdated debug func name 17440/head
Jiaying Ren [Mon, 4 Sep 2017 07:17:42 +0000 (15:17 +0800)]
rgw: update outdated debug func name

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>