]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Josh Durgin [Thu, 16 Apr 2020 02:25:55 +0000 (22:25 -0400)]
doc: add object corpus to release checklist
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 16 Apr 2020 01:29:39 +0000 (21:29 -0400)]
ceph-object-corpus: pick up octopus
15.2.1-40-ga838bb1aae
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 16 Apr 2020 01:26:40 +0000 (21:26 -0400)]
include/denc: replace bufferlist::copy with iterator version
This version was only compiled as part of ceph-object-corpus
generation, when ENCODE_DUMP_PATH is defined, so it was missed
when bufferlist::copy() was removed.
Fixes: https://tracker.ceph.com/issues/45023
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Wed, 15 Apr 2020 22:03:28 +0000 (15:03 -0700)]
Merge pull request #34541 from neha-ojha/wip-balancer-on
mgr: turn on balancer in upmap mode by default
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Lenz Grimmer [Wed, 15 Apr 2020 15:33:50 +0000 (17:33 +0200)]
Merge pull request #32747 from Exotelis/wip-40702-collapse
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Casey Bodley [Wed, 15 Apr 2020 15:00:29 +0000 (11:00 -0400)]
Merge pull request #34094 from cbodley/wip-rgw-data-sync-cache
rgw multisite: data sync optimizations
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Mykola Golub [Wed, 15 Apr 2020 13:08:08 +0000 (16:08 +0300)]
Merge pull request #34549 from dillaman/wip-qa-rbd-read-balance
qa/suites/rbd: tweak 'require_osd_release' to 'pacific'
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Wed, 15 Apr 2020 12:30:48 +0000 (15:30 +0300)]
Merge pull request #34496 from dillaman/wip-44105
rbd-mirror: clean-up unnecessary non-primary snapshots
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sebastian Krah [Tue, 7 Jan 2020 15:56:40 +0000 (16:56 +0100)]
mgr/dashboard: Add expand/collapse datatable feature
Adds expand/collapse feature to every datatable with details.
Fixes: https://tracker.ceph.com/issues/40702
Signed-off-by: Sebastian Krah <skrah@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 10:56:03 +0000 (12:56 +0200)]
Merge pull request #34529 from maran/master
cephadm: warn when no valid version arguments are supplied to add-repo
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 10:54:41 +0000 (12:54 +0200)]
Merge pull request #34490 from sebastian-philipp/cephadm-command_add_repo-no-podman
cephadm: add-repo: Don't test for podman
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 10:54:17 +0000 (12:54 +0200)]
Merge pull request #34443 from sebastian-philipp/cephadm-revert-33974
cephadm: Update images used
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:44:31 +0000 (11:44 +0200)]
Merge pull request #34556 from ahaase-c4u/patch-1
mgr/cephadm: corrected documentation for starting an upgrade
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:41:26 +0000 (11:41 +0200)]
Merge pull request #34555 from ahaase-c4u/45065
mgr/cephadm: Fixed warn_on_stray_hosts setting
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:34:50 +0000 (11:34 +0200)]
Merge pull request #34415 from sebastian-philipp/orch-fix-rgw-daemon-description-id
mgr/orch: Fix DaemonDescription().daemon_id() for RGWs
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:33:21 +0000 (11:33 +0200)]
Merge pull request #34216 from jschmid1/preview_drivegroups
mgr/cephadm: preview osd creation for osdspecs
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:29:36 +0000 (11:29 +0200)]
Merge pull request #34558 from mgfritch/cephadm-enter-container
cephadm: use CephContainer during command `enter`
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Joshua Schmid [Wed, 1 Apr 2020 08:12:28 +0000 (10:12 +0200)]
mgr/cephadm: enable osd previews
Signed-off-by: Joshua Schmid <jschmid@suse.de>
ahaase-c4u [Tue, 14 Apr 2020 18:44:22 +0000 (20:44 +0200)]
mgr/cephadm: corrected documentation for starting an upgrade
Signed-off-by: Andreas Haase <andreas.haase@community4you.de>
Neha Ojha [Tue, 14 Apr 2020 21:17:15 +0000 (21:17 +0000)]
doc/rados/operations: update docs to reflect balancer being on by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 15 Apr 2020 02:36:34 +0000 (10:36 +0800)]
Merge pull request #34562 from tchaikov/wip-jenkins-trigger
github: add "jenkins test classic perf" to jenkins commands list
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 15 Apr 2020 01:57:36 +0000 (09:57 +0800)]
github: add "jenkins test classic perf" to jenkins commands list
it's used for triggering perf test with classic OSD
Signed-off-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Tue, 14 Apr 2020 20:46:41 +0000 (20:46 +0000)]
PendingReleaseNotes: add note about balancer being on by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 15 Apr 2020 00:02:51 +0000 (08:02 +0800)]
Merge pull request #19076 from jecluis/wip-mon-fix-osdmap-lec-trim
mon/OSDMonitor: allow trimming maps even if osds are down
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 23:58:55 +0000 (07:58 +0800)]
Merge pull request #34510 from aclamk/wip-rocksdb-open-close
kv/KeyValueDB: Making open/close operations complementary.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 23:51:34 +0000 (07:51 +0800)]
Merge pull request #34228 from shonpaz123/add_notifications_documentation
doc/rgw: add documentation for bucket notifications filters and supported push endpoints
Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
Kefu Chai [Tue, 14 Apr 2020 23:51:05 +0000 (07:51 +0800)]
Merge pull request #33975 from jbwyatt4/jbwyatt4-need-disk-space-info
doc: added space requirement to "Build Prerequisites"
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 23:49:52 +0000 (07:49 +0800)]
Merge pull request #33901 from rs-fabrica/rados_man_page_options
doc/man/8/rados.rst: including all available options
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 23:48:07 +0000 (07:48 +0800)]
Merge pull request #34197 from varshar16/wip-doc-SubmittingPatches-url
doc/SubmittingPatches: Fix 'Fixes line' hyperlink
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Tue, 14 Apr 2020 23:46:55 +0000 (07:46 +0800)]
Merge pull request #34265 from shonpaz123/add_sc_doc
doc/rgw: add documentation for allowed storage classes for client SDKs
Reviewed-by: Or Friedmann <ofriedma@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 23:43:54 +0000 (07:43 +0800)]
Merge pull request #34360 from gouthampacha/doc-fix
doc: fix broken link for cephfs kernel recommendations
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Michael Fritch [Tue, 14 Apr 2020 21:42:44 +0000 (15:42 -0600)]
cephadm: use CephContainer during command `enter`
instead of the `get_container` helper func
Signed-off-by: Michael Fritch <mfritch@suse.com>
Jason Dillaman [Tue, 14 Apr 2020 22:05:59 +0000 (18:05 -0400)]
rbd-mirror: utilize structured binding in 'for' loop
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Neha Ojha [Tue, 14 Apr 2020 18:53:45 +0000 (18:53 +0000)]
qa/standalone/mon/osd-pool-df.sh: flush_pg_stats explicitly
Signed-off-by: Neha Ojha <nojha@redhat.com>
Jason Dillaman [Tue, 14 Apr 2020 17:40:29 +0000 (13:40 -0400)]
Merge pull request #33806 from trociny/wip-mirror_snapshot_schedule-watcher
mgr/rbd_support: make mirror_snapshot_schedule rescan only updated pools
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 14 Apr 2020 17:39:54 +0000 (13:39 -0400)]
Merge pull request #34262 from zhengchengyao/wip-deprecated-order
tools: remove all deprecated options from the help output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Andreas Haase [Tue, 14 Apr 2020 15:09:04 +0000 (17:09 +0200)]
mgr/cephadm: Fixed warn_on_stray_hosts setting
Fixes: https://tracker.ceph.com/issues/45065
Signed-off-by: Andreas Haase <andreas.haase@community4you.de>
Kefu Chai [Tue, 14 Apr 2020 14:44:50 +0000 (22:44 +0800)]
Merge pull request #33365 from ifed01/wip-ifed-hybrid-alloc2
os/bluestore: introduce hybird allocator
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 14:42:17 +0000 (22:42 +0800)]
Merge pull request #32704 from petrutlucian94/windows.2
common: Add dlfcn_compat.h for win32
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Tue, 7 Apr 2020 12:08:51 +0000 (14:08 +0200)]
cephadm: Update images used
Print warning when using cephadm from master
See also "use quay octopus tip until 15.2 tag is available"
*
a9b15c7e1a0c14376cd66f166370694294398494 .
See also "update default container images"
*
1f05f7578794380f969a7e93db07345626b3e4df .
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Tue, 14 Apr 2020 12:46:11 +0000 (14:46 +0200)]
Merge pull request #34336 from nSedrickm/nsedrickm-ceph-dev
mgr/dashboard: Proposed About Modal box
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Tue, 14 Apr 2020 12:43:51 +0000 (14:43 +0200)]
Merge pull request #34469 from votdev/issue_44991_pool_promql
monitoring: alert for pool fill up broken
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Jason Dillaman [Tue, 14 Apr 2020 12:43:29 +0000 (08:43 -0400)]
qa/suites/rbd: tweak 'require_osd_release' to 'pacific'
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Tue, 14 Apr 2020 11:31:37 +0000 (13:31 +0200)]
Merge pull request #34065 from tspmelo/wip-iscsi-advanced
mgr/dashboard: Prevent iSCSI target recreation when editing controls
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lucian Petrut [Fri, 4 Oct 2019 14:56:43 +0000 (17:56 +0300)]
common: Add dlfcn_compat.h for win32
We'll emulate the dlfcn.h interface using Windows functions, which
will allow loading Windows DLLs.
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Lenz Grimmer [Tue, 14 Apr 2020 10:53:14 +0000 (12:53 +0200)]
Merge pull request #34009 from tspmelo/wip-iscsi-auth
mgr/dashboard: Fix iSCSI's username and password validation
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Kefu Chai [Tue, 14 Apr 2020 09:52:46 +0000 (17:52 +0800)]
Merge pull request #33816 from rzarzynski/wip-msg-no-extra-alloc-in-secure
msg/async: fix unnecessary 4 kB allocation in secure mode.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Thu, 9 Apr 2020 01:06:57 +0000 (01:06 +0000)]
qa/standalone/mon/osd-pool-df.sh: fix test to check for the right values
Though the test passed, we weren't checking for the correct values:
.../qa/standalone/mon/osd-pool-df.sh:62: TEST_ceph_df: ceph df -f json
.../qa/standalone/mon/osd-pool-df.sh:62: TEST_ceph_df: jq .stats.total_avail_bytes
../qa/standalone/mon/osd-pool-df.sh:62: TEST_ceph_df: local global_avail=0
.../qa/standalone/mon/osd-pool-df.sh:63: TEST_ceph_df: ceph df -f json
.../qa/standalone/mon/osd-pool-df.sh:63: TEST_ceph_df: jq '.pools | map(select(.name == "$rep_poolname"))[0].stats.max_avail'
../qa/standalone/mon/osd-pool-df.sh:63: TEST_ceph_df: local rep_avail=null
.../qa/standalone/mon/osd-pool-df.sh:64: TEST_ceph_df: ceph df -f json
.../qa/standalone/mon/osd-pool-df.sh:64: TEST_ceph_df: jq '.pools | map(select(.name == "$ec_poolname"))[0].stats.max_avail'
../qa/standalone/mon/osd-pool-df.sh:64: TEST_ceph_df: local ec_avail=null
../qa/standalone/mon/osd-pool-df.sh:66: TEST_ceph_df: echo '0 >= null*3'
../qa/standalone/mon/osd-pool-df.sh:66: TEST_ceph_df: bc
1
../qa/standalone/mon/osd-pool-df.sh:67: TEST_ceph_df: echo '0 >= null*1.5'
../qa/standalone/mon/osd-pool-df.sh:67: TEST_ceph_df: bc
1
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 8 Apr 2020 23:21:04 +0000 (23:21 +0000)]
qa/standalone/mgr/balancer.sh: adapt test
Now that the balancer is on by default the test needs these changes.
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 7 Apr 2020 18:42:12 +0000 (18:42 +0000)]
pybind/mgr/balancer/module.py: turn on balancer in upmap mode by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 7 Apr 2020 17:05:57 +0000 (17:05 +0000)]
qa/workunits/cephtool/test.sh: don't set-require-min-compat-client luminous
This should not be required since mon_osd_initial_require_min_compat_client
is now luminous.
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sebastian Wagner [Mon, 13 Apr 2020 19:15:43 +0000 (21:15 +0200)]
Merge pull request #34344 from jmolmo/rook_inventory
mgr/rook: Fix wrong data output when listing devices
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:29 +0000 (09:23 -0400)]
rgw: dont use RGWOmapAppend for error_repo
the error_repo writes need to be synchronous
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:27 +0000 (09:23 -0400)]
rgw: remove per-bucket-shard sync leases
bucket sync now gets a const pointer to the DataSyncShard's lease to
check whether the lease has expired
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:26 +0000 (09:23 -0400)]
rgw: ContinuousLeaseCR::is_locked() is const
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:25 +0000 (09:23 -0400)]
rgw: ContinuousLeaseCR doesn't need locks/atomics
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:23 +0000 (09:23 -0400)]
rgw: use objv_tracker to read/write bucket sync status
use cls_version on bucket sync status to detect racing writes - whether
from other gateways, or from radosgw-admin commands like 'bucket sync'
or 'bucket sync init'
classes that require a non-null version tracker take it by reference
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:22 +0000 (09:23 -0400)]
rgw: RadosRemoveCR takes objv_tracker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:20 +0000 (09:23 -0400)]
rgw: SimpleRadosReadAttrsCR takes objv_tracker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:19 +0000 (09:23 -0400)]
rgw: SysObj service applies objv on set_attrs
like write(), we need to apply the writev back to readv
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:17 +0000 (09:23 -0400)]
rgw: data sync no longer needs index_key_to_marker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:16 +0000 (09:23 -0400)]
rgw: DataSyncSingleEntry loops based on progress
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:14 +0000 (09:23 -0400)]
rgw: DataSyncSingleEntry does not duplicate bucket sync
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:12 +0000 (09:23 -0400)]
rgw: DataSyncSingleEntry takes cached state
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:11 +0000 (09:23 -0400)]
test/rgw: add unittest_rgw_bucket_sync_cache
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:09 +0000 (09:23 -0400)]
rgw: add data sync cache for bucket shards
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:07 +0000 (09:23 -0400)]
rgw: track last timestamp written for bucket sync
bucket sync remembers the latest timestamp that it successfully wrote to
the bucket sync status. data sync can use this to make future decisions
without having to reread its sync status
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Wed, 11 Mar 2020 15:03:12 +0000 (15:03 +0000)]
mgr/rbd_support: attempt to unregister watcher on mgr exit
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Sat, 7 Mar 2020 10:15:44 +0000 (10:15 +0000)]
mgr/rbd_support: make mirror_snapshot_schedule rescan only updated pools
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Mon, 13 Apr 2020 16:28:22 +0000 (00:28 +0800)]
Merge pull request #33989 from ifed01/wip-ifed-better-bluefs-expand
os/bluestore: open DB in read-only when expanding DB/WAL.
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Kefu Chai [Mon, 13 Apr 2020 16:25:43 +0000 (00:25 +0800)]
Merge pull request #33782 from aclamk/wip-alloc-aging-logging-simpler
os/bluestore: Simplified logic of sliding window.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Mon, 13 Apr 2020 16:25:24 +0000 (00:25 +0800)]
Merge pull request #33434 from ifed01/wip-ifed-big-writes-deferred
os/bluestore: go deferred for 'big' writes.
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Kefu Chai [Mon, 13 Apr 2020 16:23:21 +0000 (00:23 +0800)]
Merge pull request #33715 from trociny/wip-pybind-rados-watch
pybind/rados: add watch object bindings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:05 +0000 (09:23 -0400)]
rgw: store timestamp in InitBucketShardSyncStatus
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:03 +0000 (09:23 -0400)]
rgw: add struct data_sync_obligation
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:01 +0000 (09:23 -0400)]
rgw: add sync_single_entry() helper function
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:59 +0000 (09:22 -0400)]
rgw: use optional for DataSyncShardMarkerTrack
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:58 +0000 (09:22 -0400)]
rgw: parse bucket-shard before DataSyncSingleEntry
it's easier for DataSyncShard to handle parsing failures before calling
MarkerTrack::start() and DataSyncSingleEntry
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:56 +0000 (09:22 -0400)]
rgw: data sync tracks timestamps for error repo
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:54 +0000 (09:22 -0400)]
rgw: add error repo primitives with timestamp comparisons
the sync error repo stores omap keys for each datalog entry that needs a
retry. this adds a new primitive for that, that also stores a timestamp
with each omap key, and will only allow overwrites/removals when a newer
timestamp is provided
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:53 +0000 (09:22 -0400)]
rgw: DataSyncShardCR uses GetOmapVals
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:51 +0000 (09:22 -0400)]
rgw: add CR for omap_get_vals()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:48 +0000 (09:22 -0400)]
rgw: incremental bucket sync status stores timestamp
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:46 +0000 (09:22 -0400)]
common: add [coarse_]real_time support to ceph_json.h
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:43 +0000 (09:22 -0400)]
rgw: don't write to error repo for async notification failures
async notifications are just hints, and don't imply an obligation to
sync the bucket shard. if we fail to sync, don't write it to the error
repo for retry. we'll see the change later when processing the datalog
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:22:11 +0000 (09:22 -0400)]
rgw: remove unused RGWWaitCR
coroutines that want to sleep should just call RGWCoroutine::wait()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 13 Apr 2020 15:03:28 +0000 (11:03 -0400)]
Merge pull request #33982 from cbodley/wip-cls-cmpomap
cls/cmpomap: add cls module for CMPXATTR-like functionality in omap
Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
Varsha Rao [Thu, 26 Mar 2020 07:05:27 +0000 (12:35 +0530)]
doc/SubmittingPatches: Fix 'Fixes line' hyperlink
Signed-off-by: Varsha Rao <varao@redhat.com>
Casey Bodley [Wed, 1 Apr 2020 17:51:47 +0000 (13:51 -0400)]
options: add cmpomap to osd_class_load_list
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 15 Mar 2020 21:50:59 +0000 (17:50 -0400)]
test: add ceph_test_cls_cmpomap
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 13 Mar 2020 20:09:50 +0000 (16:09 -0400)]
cls/cmpomap: add cls module for CMPXATTR-like functionality in omap
provides a cmp_vals() op similar to librados' omap_cmp(), but with full
support for the comparison modes and operations from cmpxattr(). if any
of the requested key/value comparisons are unsuccessful, the op fails
with -ECANCELED
cmp_vals() can be composed with other ops like set_omap_vals() to make
make them conditional on the successful comparison of all existing values
also provides cmp_set_vals() and cmp_rm_keys(), which apply a mutation
to only the keys that compare successfully. these enable batch
operations where, unlike cmp_vals() + set_omap_vals(), you don't want
one failed comparison to prevent operations on unrelated keys
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 13 Mar 2020 18:42:28 +0000 (14:42 -0400)]
objclass: add cls_cxx_map_get_vals_by_keys
add an objclass api for CEPH_OSD_OP_OMAPGETVALSBYKEYS
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 15 Mar 2020 23:02:06 +0000 (19:02 -0400)]
objclass: expose cls_cxx_map_get_val in header
this was defined in osd/objclass.cc but not declared in objclass/objclass.h
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 16 Mar 2020 15:58:51 +0000 (11:58 -0400)]
buffer: add missing != operator for bufferlist
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 16 Mar 2020 15:58:00 +0000 (11:58 -0400)]
buffer: comparison operators take const bufferlist&
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Igor Fedotov [Mon, 13 Apr 2020 13:17:40 +0000 (16:17 +0300)]
crimson: add HybridAllocator to alienstore build.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Wed, 25 Mar 2020 14:19:12 +0000 (17:19 +0300)]
os/bluestore: improve adjustent extents merge in hybrid allocatoc
Bitmap counterpart is inspected for adjustent free extents when
releasing extent and trying to add it to AVL tree.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Mon, 23 Mar 2020 12:43:09 +0000 (15:43 +0300)]
os/bluestore: remove HybridAllocator::init_add_free method.
It's a 100% replica of AvlAllocator one which is inherited.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Fri, 14 Feb 2020 14:26:17 +0000 (17:26 +0300)]
os/bluestore: configure hybrid allocator threshold to fallback.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Thu, 13 Feb 2020 22:04:39 +0000 (01:04 +0300)]
os/bluestore: add hybrid (avl+bitmap) allocator
Signed-off-by: Igor Fedotov <ifedotov@suse.com>