Kefu Chai
fdc1a39c7d
denc: should check element's type not 'size_t'
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-17 21:30:38 +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
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
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
Victor Denisov
838cae45af
rbd: Add group snapshot rename commands
...
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-13 14:00:31 -05:00
Victor Denisov
c4f2eb4adb
librbd: Add group snap rename method
...
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-13 14:00:30 -05:00
Sage Weil
ea2c99ec87
qa/workunits/rados/test_rados_tool.sh: -x
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-13 10:26:24 -06:00
Sage Weil
7907bc00a9
Merge pull request #19913 from adamemerson/wip-minimax-rados
...
rados: Prefer templates to macros
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-13 09:56:28 -06:00
Sage Weil
755ea1c054
Merge pull request #19914 from tchaikov/wip-cmake-check-boost-in-src
...
cmake: check version of boost in src/boost
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-13 09:56:08 -06:00
Sage Weil
f199490bbd
Merge pull request #19926 from batrick/i22527
...
mon: revert mds metadata argument name change
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-13 09:55:12 -06:00
Mykola Golub
79fbe60d5e
Merge pull request #19903 from dillaman/wip-librbd-op-features
...
librbd: add preliminary support for new operation feature bit
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-13 04:13:49 +02:00
Shinobu Kinjo
97731e3ab0
common: Add min/max of ms_async_op_threads
...
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-13 10:02:39 +09:00
Yuri Weinstein
a7b97806fc
Merge pull request #19793 from badone/wip-blocking-deep-scrub
...
ceph.in: Add blocking mode for scrub and deep-scrub
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-12 14:47:30 -08:00
Yuri Weinstein
2b99d31d5e
Merge pull request #19910 from jdurgin/wip-21897
...
config: lower default omap entries recovered at once
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-12 14:46:26 -08:00
Patrick Donnelly
1f530c0fa8
Merge PR #19894 into master
...
* refs/pull/19894/head:
cmake: link against ceph-common instead of common
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-12 14:37:39 -08:00
Patrick Donnelly
653bfcc567
Merge PR #19920 into master
...
* refs/pull/19920/head:
client: fix cap revoke race
client: release revoking Fc after invalidate cache
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-12 14:37:32 -08:00
Patrick Donnelly
e592c0210f
Merge PR #19885 into master
...
* refs/pull/19885/head:
qa: increase osd count for ec testing
qa: add missing openstack configs
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-12 14:37:25 -08:00