Commit Graph

82296 Commits

Author SHA1 Message Date
Casey Bodley
ba85740955 cmake: remove cryptopp option
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-19 10:25:41 -05:00
John Wilkins
ee7d2dd092
Merge pull request #19931 from mikechristie/wip-doc-mnc-iscsi-updates
Misc iSCSI doc updates

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2018-01-17 11:00:08 -08:00
Casey Bodley
1789a0ee46
Merge pull request #17520 from joscollin/wip-cleanup-drop-return
rgw: Drop unnecessary return

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-17 10:18:07 -05:00
Patrick Donnelly
9478c064d7
Merge PR #19803 into master
* refs/pull/19803/head:
	mds: get rid of unnecessary if condition

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-16 20:06:37 -08:00
Patrick Donnelly
cc710979e3
Merge PR #19837 into master
* refs/pull/19837/head:
	client: avoid recursive lock in ll_get_vino

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-01-16 20:06:31 -08:00
Patrick Donnelly
bbd23ca4d5
Merge PR #19860 into master
* refs/pull/19860/head:
	cephfs-journal-tool: add usage help info for header set <field>
	mds: add error log info
	cephfs-journal-tool: add "set pool_id" option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-16 20:06:26 -08:00
Patrick Donnelly
7a8bd1c994
Merge PR #19891 into master
* refs/pull/19891/head:
	mds: handle 'inode gets queued for recovery multiple times'
	mds: use elist to track recover queue items

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-16 20:06:21 -08:00
Patrick Donnelly
4412c6b541
Merge PR #19911 into master
* refs/pull/19911/head:
	cephfs: Switch MIN/MAX for std::min/max and use intarith templates

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-16 20:06:12 -08:00
Kefu Chai
67e5a2f35f
Merge pull request #19876 from theanalyst/build/do-cmake-args
build: do_cmake: allow ARGS to be overridden

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-17 09:50:26 +08:00
Sage Weil
d079916a95
Merge pull request #19433 from liewegas/wip-pg-removal
osd: put pg removal in op_wq

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-01-16 15:44:27 -06:00
Sage Weil
d37d966891 osd/PrimaryLogPG: do on_shutdown on removal
This cleans up our reservations and misc other state in OSDService that
needs to be cleaned up.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-16 14:31:28 -06:00
Sage Weil
617a82c45e osd: track deleted pools' pg_nums for calculating split
This is needed to determine (quickly) whether PGs have split.  Calling
get_pg_num() on the latest map does not work when the pool has been
deleted from that map.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-16 14:31:28 -06:00
David Zafman
7ccb7b7023
Merge pull request #19850 from dzafman/wip-calc-stats
osd/PG: re-write of _update_calc_stats and improve pg degraded state

Fixes: http://tracker.ceph.com/issues/20059

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-16 11:58:49 -08:00
David Zafman
9f103f013c tests: recovery-unfound-found test needs to account for correct misplaced calculations
The test expected HEALTH_OK when in a state with misplaced objects therefore HEALTH_WARN

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-16 10:52:21 -08:00
Mike Christie
b56d994f3a doc: add rbd pool requirement for gwcli
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-16 12:48:55 -06:00
Mike Christie
4ca0d508bb doc: add daemon-reload for rbd-target-api setup
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-16 12:48:51 -06:00
Mike Christie
f45aafed1c doc: add gwcli manual install instructions
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-16 12:48:41 -06:00
Yuri Weinstein
9c2278bbbc
Merge pull request #19613 from qrGitHub/wip-rgw-optimize-bucketLCPrepare
rgw: optimize function bucket_lc_prepare

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-16 09:06:21 -08:00
Yuri Weinstein
afb35bafec
Merge pull request #19878 from cbodley/wip-rgw-get-omap-keys-cr
rgw: fix handling of ENOENT in RGWRadosGetOmapKeysCR

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2018-01-16 09:05:28 -08:00
Yuri Weinstein
36f1dc0f04
Merge pull request #19897 from cbodley/wip-rgw-put-system-obj
rgw: rgw_put_system_obj takes bufferlist

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-01-16 09:04:36 -08:00
Kefu Chai
31f9af83b3
Merge pull request #19945 from tchaikov/wip-deprecated-in-cxx17
librbd,librados: do not include stdbool.h in C++ headers

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-16 22:16:43 +08:00
Kefu Chai
cff35427ef
Merge pull request #19261 from dillaman/wip-22286
mgr: disconnect unregistered service daemon when report received

Reviewed-By: Kefu Chai <kchai@redhat.com>
2018-01-16 22:15:47 +08:00
Sage Weil
5f9911bc4a
Merge pull request #19942 from shinobu-x/wip-sk-minmax-ms_async_op_threads
common: Add min/max of ms_async_op_threads

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-16 07:33:22 -06:00
Sage Weil
fdc3f5c24c
Merge pull request #19397 from xxhdx1985126/master
mon: update PaxosService::cached_first_committed in PaxosService::maybe_trim()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-16 07:33:09 -06:00
Mike Christie
f80f083d0a doc: separate gwcli install from post install setup steps
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-15 13:02:24 -06:00
Mike Christie
3cc367dc6e doc: add note to clarify trusted_ip_list use
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-15 13:02:20 -06:00
Mike Christie
3806f9750d doc: update esx instructions
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-15 13:02:13 -06:00
Jason Dillaman
aab2defaca
Merge pull request #19822 from trociny/wip-ggate-ceph-globals
rbd-ggate: fix parsing ceph global options

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-01-15 08:51:34 -05:00
Kefu Chai
0c38eb87e2
Merge pull request #19673 from zouaiguo/wip_erase_code
mon/OSDMonitor.cc : set erasure-code-profile to "" when create replicated pools.

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 18:34:34 +08:00
Kefu Chai
9a9a00cb3d
Merge pull request #19896 from tchaikov/wip-vive-cxx-17
msg/simple: s/ceph::size/std::size/

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-15 11:27:28 +08:00
Kefu Chai
1f21f2f3a3
Merge pull request #19870 from liewegas/wip-strip-ceph-base
debian/rules: strip ceph-base libraries

Reviewed-By: Kefu Chai <kchai@redhat.com>
2018-01-15 11:24:08 +08:00
Kefu Chai
17dcd13ee5
Merge pull request #18755 from aclamk/wip-reverted-approx-size
osd/PG: revert approx size

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 11:14:45 +08:00
Kefu Chai
7aba57b9b4
Merge pull request #18191 from hjwsm1989/osd-mark-down
qa/standalone/osd/osd-mark-down: create pool to get updated osdmap faster

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 11:09:02 +08:00
Kefu Chai
35a57fab84
Merge pull request #19877 from adamemerson/wip-dencish
denc cleanups and other fixes

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 11:06:12 +08:00
David Zafman
88ce0c1a91 test: Verify stat calculations during backfill
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
David Zafman
f5af1af6d3 test: Verify stat calculations during recovery
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
David Zafman
aeba36a660 ceph-helpers.sh: Add flush_pg_stats() to wait_for_clean() to make it reliable
osd-scrub-repair.sh: Fixes for omap keys landing on different OSDs due to flush

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
David Zafman
64047e1bac osd: Don't start recovery for missing until active pg state set
I was seeing recovery hang when it is started before _activate_committed()
The state machine passes into "Active" but this transitions to activating
pg state and after commmitted into "active" pg state.

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
David Zafman
c77941f593 qa: Ignore degraded PGs when injecting random eio errors
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
David Zafman
91d1487ecf osd: Improve the way insufficient targets is handled to be compatible with EC
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
David Zafman
74f9e70903 osd: Improve pg degraded state setting based on _update_calc_stats() degraded count
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:16:20 -08:00
Sage Weil
df5a37091a
Merge pull request #19946 from liewegas/wip-22677
qa/workunits/rados/test_rados_tool: fix stray |, race
2018-01-14 13:40:54 -06:00
David Zafman
b769b98686 osd: Handling when recovery sources have missing
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 10:38:17 -08:00
David Zafman
5ffde0002f osd: Base pg degraded state on num_degraded_objects
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 10:38:17 -08:00
David Zafman
e1075f1073 osd: Rewrite _update_calc_stats() to make it cleaner and more accurate
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 10:38:17 -08:00
David Zafman
9a66a6f517 osd: cleanup: Remove unused const vars
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 10:37:22 -08:00
David Zafman
01ac714aa3 osd: cleanup: Fix log message
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 10:37:22 -08:00
Sage Weil
ff9fa835da qa/workunits/rados/test_rados_tool: remove stray |, fix race
Fixes: http://tracker.ceph.com/issues/22676
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-14 10:35:14 -06:00
Kefu Chai
cfd4712e0a librbd,librados: do not include stdbool.h in C++ headers
stdbool.h is offered to provide C++ keywords for C source file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-14 18:03:38 +08:00
Jason Dillaman
070b87aa58 Merge pull request #12431 from VictorDenisov/snapshot_rename
rbd: group snapshot rename

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-13 20:48:39 -05:00