]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoos/bluestore: fix narrow osr->flush() race 14489/head
Sage Weil [Wed, 12 Apr 2017 18:19:46 +0000 (14:19 -0400)]
os/bluestore: fix narrow osr->flush() race

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13803 from trociny/wip-18785
Jason Dillaman [Sun, 9 Apr 2017 13:59:57 +0000 (09:59 -0400)]
Merge pull request #13803 from trociny/wip-18785

rbd-mirror: separate ImageReplayer handling from Replayer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14406 from wjwithagen/wip-wjw-freebsd.readme
Kefu Chai [Sun, 9 Apr 2017 12:34:56 +0000 (20:34 +0800)]
Merge pull request #14406 from wjwithagen/wip-wjw-freebsd.readme

README.FreeBSD: Update the status

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoREADME.FreeBSD: Update the status 14406/head
Willem Jan Withagen [Sat, 8 Apr 2017 16:31:13 +0000 (18:31 +0200)]
README.FreeBSD: Update the status

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #14397 from liewegas/wip-19541
Kefu Chai [Sun, 9 Apr 2017 07:59:59 +0000 (15:59 +0800)]
Merge pull request #14397 from liewegas/wip-19541

osd/PG: only correct filestore collection bits on load

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14382 from zealoussnow/wip-0407
Sage Weil [Sat, 8 Apr 2017 18:28:23 +0000 (13:28 -0500)]
Merge pull request #14382 from zealoussnow/wip-0407

messages: fix return type name of MOSDMap

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14405 from wjwithagen/wip-wjw-gitignore
Sage Weil [Sat, 8 Apr 2017 18:25:43 +0000 (13:25 -0500)]
Merge pull request #14405 from wjwithagen/wip-wjw-gitignore

gitignore: Ignore rejects by patch

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14261 from liewegas/wip-15386
Sage Weil [Sat, 8 Apr 2017 18:24:22 +0000 (13:24 -0500)]
Merge pull request #14261 from liewegas/wip-15386

ceph_test_librados_api_misc: fix stupid LibRadosMiscConnectFailure.ConnectFailure test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #14130 from liewegas/wip-json-slash
Sage Weil [Sat, 8 Apr 2017 18:21:44 +0000 (13:21 -0500)]
Merge pull request #14130 from liewegas/wip-json-slash

common/escape: do not escape / in json

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #14198 from liewegas/wip-fs
Sage Weil [Sat, 8 Apr 2017 18:21:03 +0000 (13:21 -0500)]
Merge pull request #14198 from liewegas/wip-fs

qa/suites: drop 'fs' facet, and add 'objectstore' facet where missing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14255 from liewegas/wip-19430
Sage Weil [Sat, 8 Apr 2017 18:19:50 +0000 (13:19 -0500)]
Merge pull request #14255 from liewegas/wip-19430

osd/PrimaryLogPG: do not expect FULL_TRY ops to get resent

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/workunits/cephtool/test.sh: handle non-escaped-/ json 14130/head
Sage Weil [Sat, 8 Apr 2017 18:19:00 +0000 (14:19 -0400)]
qa/workunits/cephtool/test.sh: handle non-escaped-/ json

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agogitignore: Ignore rejects by patch 14405/head
Willem Jan Withagen [Sat, 8 Apr 2017 14:53:25 +0000 (16:53 +0200)]
gitignore: Ignore rejects by patch

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #14386 from tchaikov/wip-19515
Sage Weil [Sat, 8 Apr 2017 14:33:07 +0000 (09:33 -0500)]
Merge pull request #14386 from tchaikov/wip-19515

mon/OSDMonitor: update creating epoch if target osd changed

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14227 from ivancich/wip-perf-counter-race
Sage Weil [Sat, 8 Apr 2017 14:22:53 +0000 (09:22 -0500)]
Merge pull request #14227 from ivancich/wip-perf-counter-race

common/perf_counters: fix race condition with atomic variables

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #14365 from tchaikov/wip-another-mgr-command
Sage Weil [Sat, 8 Apr 2017 14:22:13 +0000 (09:22 -0500)]
Merge pull request #14365 from tchaikov/wip-another-mgr-command

mgr: move "osd pool stats" to mgr

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14370 from chardan/jfw-wip-simple_spinlock_atomic
Sage Weil [Sat, 8 Apr 2017 14:21:38 +0000 (09:21 -0500)]
Merge pull request #14370 from chardan/jfw-wip-simple_spinlock_atomic

common: Implements simple_spin_t in terms of std::atomic_flag.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14379 from tchaikov/wip-cmake-ctags
Kefu Chai [Sat, 8 Apr 2017 03:44:27 +0000 (11:44 +0800)]
Merge pull request #14379 from tchaikov/wip-cmake-ctags

cmake: support optional argument for overriding default ctag excludes

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agotests: ceph_objectstore_tool.py: run vstart with MGR=1 14365/head
Kefu Chai [Sat, 8 Apr 2017 02:20:16 +0000 (10:20 +0800)]
tests: ceph_objectstore_tool.py: run vstart with MGR=1

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14374 from liewegas/wip-mgr-init
Sage Weil [Fri, 7 Apr 2017 18:47:48 +0000 (13:47 -0500)]
Merge pull request #14374 from liewegas/wip-mgr-init

mgr: fix bugs in init, beacons

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14306 from liewegas/wip-bluestore-throttle-model
Sage Weil [Fri, 7 Apr 2017 15:49:32 +0000 (10:49 -0500)]
Merge pull request #14306 from liewegas/wip-bluestore-throttle-model

os/bluestore: unify throttling model

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
8 years agoos/bluestore: make deferred_aggressive a counter 14306/head
Sage Weil [Fri, 7 Apr 2017 15:31:21 +0000 (11:31 -0400)]
os/bluestore: make deferred_aggressive a counter

Multiple threads may run _osr_drain_preceding; use a count to
prevent the first finisher from prematurely disabling
aggressive mode.

Fixes: http://tracker.ceph.com/issues/19542
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14387 from wjwithagen/wip-wjw-test-osd-dup
Kefu Chai [Fri, 7 Apr 2017 15:16:13 +0000 (23:16 +0800)]
Merge pull request #14387 from wjwithagen/wip-wjw-test-osd-dup

test/osd/CMakeLists.txt: osd-dup.sh require BlueStore/AIO

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14348 from rzarzynski/wip-bs-bitmap-no-virts-in-hotspot
Sage Weil [Fri, 7 Apr 2017 14:39:18 +0000 (09:39 -0500)]
Merge pull request #14348 from rzarzynski/wip-bs-bitmap-no-virts-in-hotspot

os/bluestore: avoid the VTABLE-related burden in BitMapAllocator's hotspot

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomon/MgrMonitor: send mgr beacons to leader 14374/head
Sage Weil [Fri, 7 Apr 2017 14:21:46 +0000 (10:21 -0400)]
mon/MgrMonitor: send mgr beacons to leader

The leader has the last_beacon map that matters; make sure all
beacons go there.

At the same time drop the somewhat redundant checks in
preprocess_beaon and just send *everything* to prepare_beacon,
which is smart enough to do no update if there is none.

Fixes: http://tracker.ceph.com/issues/19502
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorbd-mirror A/A: separate ImageReplayer handling from Replayer 13803/head
Mykola Golub [Sat, 18 Mar 2017 17:09:44 +0000 (18:09 +0100)]
rbd-mirror A/A: separate ImageReplayer handling from Replayer

Fixes: http://tracker.ceph.com/issues/18785
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agorbd-mirror A/A: InstanceReplayer class to acquire and release images
Mykola Golub [Fri, 7 Apr 2017 12:14:29 +0000 (14:14 +0200)]
rbd-mirror A/A: InstanceReplayer class to acquire and release images

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoosd/PG: only correct filestore collection bits on load 14397/head
Sage Weil [Fri, 7 Apr 2017 13:50:12 +0000 (09:50 -0400)]
osd/PG: only correct filestore collection bits on load

PG::update_store_with_options() is called on load *and* when the pool
properties change, but if we only need to fix bits right at load time.
More importantly, but doing a second check on pool change, we may race
with a previously queued collection create that is not yet readable via
filestore, try to (synchronously) set the property again, and deadlock.

Fixes: http://tracker.ceph.com/issues/19541
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorbd-mirror: add set_remote_images method to ImageReplayer
Mykola Golub [Fri, 10 Mar 2017 16:03:52 +0000 (17:03 +0100)]
rbd-mirror: add set_remote_images method to ImageReplayer

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14366 from wjin/clean_mgr
Kefu Chai [Fri, 7 Apr 2017 08:16:37 +0000 (16:16 +0800)]
Merge pull request #14366 from wjin/clean_mgr

mgr: remove unused function declarations

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest/osd/CMakeLists.txt: osd-dup.sh require BlueStore/AIO 14387/head
Willem Jan Withagen [Fri, 7 Apr 2017 08:05:25 +0000 (10:05 +0200)]
test/osd/CMakeLists.txt: osd-dup.sh require BlueStore/AIO

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agocommon: Implements simple_spin_t in terms of std::atomic_flag 14370/head
Jesse Williamson [Thu, 6 Apr 2017 11:59:37 +0000 (04:59 -0700)]
common: Implements simple_spin_t in terms of std::atomic_flag

Removes the requirement of machine-specific code in favor of the standard
library. See also PR #14337.

Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
8 years agomon/OSDMonitor: update creating epoch if target osd changed 14386/head
Kefu Chai [Fri, 7 Apr 2017 07:28:37 +0000 (15:28 +0800)]
mon/OSDMonitor: update creating epoch if target osd changed

there is chance that the acting_primary of a PG being created changes
across osdmap updates, in that case we should update the new creating_pgs
with the mapping's epoch, not the stale one when the PG was originally
created. otherwise the new target OSD won't get the pg-create message.

Fixes: http://tracker.ceph.com/issues/19515
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomessages: fix return type name of MOSDMap 14382/head
Leo Zhang [Fri, 7 Apr 2017 06:32:42 +0000 (14:32 +0800)]
messages: fix return type name of MOSDMap

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agoMerge pull request #14029 from dachary/wip-osd-crushmap
Kefu Chai [Fri, 7 Apr 2017 04:42:20 +0000 (12:42 +0800)]
Merge pull request #14029 from dachary/wip-osd-crushmap

mon: osd crush set crushmap need sanity check

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agocmake: support optional argument for overriding default ctag excludes 14379/head
Kefu Chai [Fri, 7 Apr 2017 03:55:10 +0000 (11:55 +0800)]
cmake: support optional argument for overriding default ctag excludes

so instead of excluding all submodules, one can just exclude boost and
rocksdb using:

  cmake -DCTAG_EXCLUDES="boost;rocksdb" ..

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14334 from tchaikov/wip-cmake-ctags
Dan Mick [Fri, 7 Apr 2017 02:34:05 +0000 (19:34 -0700)]
Merge pull request #14334 from tchaikov/wip-cmake-ctags

cmake: Add simple recursive ctags target for Ceph source only

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #14320 from Adirl/poll_blocking
Haomai Wang [Fri, 7 Apr 2017 00:23:27 +0000 (08:23 +0800)]
Merge pull request #14320 from Adirl/poll_blocking

msg/async/rdma: Make poll_blocking() poll for async events in additio…

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #14340 from oritwas/wip-rgw-fix-zone-create
Casey Bodley [Thu, 6 Apr 2017 18:21:16 +0000 (14:21 -0400)]
Merge pull request #14340 from oritwas/wip-rgw-fix-zone-create

radosgw-admin: use zone id when creating a zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14262 from guihecheng/rgw_file-fix-rmdir
Matt Benjamin [Thu, 6 Apr 2017 18:00:51 +0000 (14:00 -0400)]
Merge pull request #14262 from guihecheng/rgw_file-fix-rmdir

rgw_file: fix missing unlock in unlink

8 years agoMerge pull request #14216 from dongbula/add-multi-zonegroup-for-test
Casey Bodley [Thu, 6 Apr 2017 17:22:36 +0000 (13:22 -0400)]
Merge pull request #14216 from dongbula/add-multi-zonegroup-for-test

rgw: add --num-zonegroups option for multi test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14354 from mogeb/cmake-lttng
Casey Bodley [Thu, 6 Apr 2017 17:09:40 +0000 (13:09 -0400)]
Merge pull request #14354 from mogeb/cmake-lttng

cmake: build tracepoint libraries for vstart target

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomgr/Mgr: unlock lock while blocking for metadata load
Sage Weil [Thu, 6 Apr 2017 15:40:27 +0000 (11:40 -0400)]
mgr/Mgr: unlock lock while blocking for metadata load

Fixes: http://tracker.ceph.com/issues/19516
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14115 from liewegas/wip-bluestore-metadata
Sage Weil [Thu, 6 Apr 2017 15:16:17 +0000 (10:16 -0500)]
Merge pull request #14115 from liewegas/wip-bluestore-metadata

os/bluestore: implement collect_metadata

8 years agoMerge pull request #14304 from rchagam/18576_bug_fix
Sage Weil [Thu, 6 Apr 2017 15:15:17 +0000 (10:15 -0500)]
Merge pull request #14304 from rchagam/18576_bug_fix

tracing: fix segv

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14328 from liewegas/wip-mgrmap-features
Sage Weil [Thu, 6 Apr 2017 15:14:09 +0000 (10:14 -0500)]
Merge pull request #14328 from liewegas/wip-mgrmap-features

mgr: fix several init/re-init bugs

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14333 from liewegas/wip-bluestore-misc
Sage Weil [Thu, 6 Apr 2017 15:13:43 +0000 (10:13 -0500)]
Merge pull request #14333 from liewegas/wip-bluestore-misc

os/bluestore: misc fixes

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agomsg/async/rdma: Make poll_blocking() poll for async events in addition to tx/rx 14320/head
Amir Vadai [Tue, 28 Mar 2017 14:52:58 +0000 (17:52 +0300)]
msg/async/rdma: Make poll_blocking() poll for async events in addition to tx/rx

Issue: 995322
Change-Id: I62e75f4c4e574ba97e24b20a4d7b94c56c605bb5
Signed-off-by: Amir Vadai <amir@vadai.me>
8 years agoMerge pull request #14210 from liewegas/wip-osd-dup
Sage Weil [Thu, 6 Apr 2017 14:51:18 +0000 (09:51 -0500)]
Merge pull request #14210 from liewegas/wip-osd-dup

os: allow offline conversion of filestore -> bluestore (or anything else)

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #12175 from dongbula/fix-slavezonegroup-cannot-enable-bucket-versi...
Casey Bodley [Thu, 6 Apr 2017 14:41:18 +0000 (10:41 -0400)]
Merge pull request #12175 from dongbula/fix-slavezonegroup-cannot-enable-bucket-versioning

rgw: fix slave zonegroup cannot enable the bucket versioning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #14342 from theanalyst/cleanup/rgw/rgw-lc-inc
Daniel Gryniewicz [Thu, 6 Apr 2017 14:22:00 +0000 (10:22 -0400)]
Merge pull request #14342 from theanalyst/cleanup/rgw/rgw-lc-inc

rgw_lc: drop a bunch of unused headers

8 years agoMerge pull request #13622 from zhangsw/feature-lifecycle-multipart
Casey Bodley [Thu, 6 Apr 2017 14:02:29 +0000 (10:02 -0400)]
Merge pull request #13622 from zhangsw/feature-lifecycle-multipart

rgw: add support for multipart upload expiration.

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoMerge pull request #14337 from smithfarm/wip-19492
Nathan Cutler [Thu, 6 Apr 2017 13:25:53 +0000 (15:25 +0200)]
Merge pull request #14337 from smithfarm/wip-19492

common: support s390 and unknown architectures in spin-wait loop

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #14339 from haklein/master
Matt Benjamin [Thu, 6 Apr 2017 13:14:22 +0000 (09:14 -0400)]
Merge pull request #14339 from haklein/master

add RGW ldap auth documentation

8 years agocmake: build tracepoint libraries for vstart target 14354/head
Mohamad Gebai [Wed, 5 Apr 2017 14:34:56 +0000 (10:34 -0400)]
cmake: build tracepoint libraries for vstart target

Avoid a segfault in TracepointProvider::verify_config() when building
for the 'vstart' target. TracepointProvider tries to load the tracepoint
providers libraries at runtime, but these aren't built as part of the
'vstart' target.

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
8 years agomgr: clean nonused function declaration 14366/head
Wei Jin [Thu, 6 Apr 2017 11:10:39 +0000 (19:10 +0800)]
mgr: clean nonused function declaration

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
8 years agomgr: move "osd pool stats" to mgr
Kefu Chai [Thu, 6 Apr 2017 09:26:45 +0000 (17:26 +0800)]
mgr: move "osd pool stats" to mgr

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocommon: support s390 and unknown architectures in spin-wait loop 14337/head
Nathan Cutler [Wed, 5 Apr 2017 08:33:02 +0000 (10:33 +0200)]
common: support s390 and unknown architectures in spin-wait loop

This fixes the s390 build which was broken by 34481768cbce0991bfba1d511dad81893a9004a9

It also reinstates the previous architecture-independent for-loop
implementation as a catch-all for "unknown" (not-explicitly-supported)
architectures.

Fixes: http://tracker.ceph.com/issues/19492
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #14240 from dillaman/wip-rbd-mirror-peer-uuids
Mykola Golub [Thu, 6 Apr 2017 08:02:26 +0000 (11:02 +0300)]
Merge pull request #14240 from dillaman/wip-rbd-mirror-peer-uuids

rbd-mirror: pool watcher should track mirror uuid

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14293 from badone/wip-ceph-disk-list-selinux
Loic Dachary [Thu, 6 Apr 2017 06:28:20 +0000 (08:28 +0200)]
Merge pull request #14293 from badone/wip-ceph-disk-list-selinux

ceph-disk: Populate mount options when running "list"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agocmake: Add simple recursive ctags target for Ceph source only 14334/head
Dan Mick [Tue, 4 Apr 2017 02:28:10 +0000 (19:28 -0700)]
cmake: Add simple recursive ctags target for Ceph source only

Excludes submodules and random JavaScript.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14032 from joscollin/wip-18511-returntype
Jason Dillaman [Thu, 6 Apr 2017 00:12:42 +0000 (20:12 -0400)]
Merge pull request #14032 from joscollin/wip-18511-returntype

librbd: changed the return type of ImageRequestWQ::discard()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13957 from wangzhengyong/import
Jason Dillaman [Thu, 6 Apr 2017 00:11:33 +0000 (20:11 -0400)]
Merge pull request #13957 from wangzhengyong/import

rbd: error out if import image format failed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13836 from gaurav36/bug-14535-rbd-snap-pool-name-validatation
Jason Dillaman [Thu, 6 Apr 2017 00:10:20 +0000 (20:10 -0400)]
Merge pull request #13836 from gaurav36/bug-14535-rbd-snap-pool-name-validatation

rbd: validate pool and snap name optionals

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14282 from wjwithagen/wip-wjw-freebsd-ceph-fuse
Yuri Weinstein [Wed, 5 Apr 2017 22:02:41 +0000 (15:02 -0700)]
Merge pull request #14282 from wjwithagen/wip-wjw-freebsd-ceph-fuse

build: let FreeBSD build ceph-fuse

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14308 from badone/SyntheticClient_random_walk_warning
Yuri Weinstein [Wed, 5 Apr 2017 22:00:13 +0000 (15:00 -0700)]
Merge pull request #14308 from badone/SyntheticClient_random_walk_warning

client/SyntheticClient.cc: Fix warning in random_walk

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10146 from yonghengdexin735/wip-zzz-filestore-write
Yuri Weinstein [Wed, 5 Apr 2017 21:58:28 +0000 (14:58 -0700)]
Merge pull request #10146 from yonghengdexin735/wip-zzz-filestore-write

os/filestore: handle error returned from write_fd()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13815 from theanalyst/cleanup/rgw/rest-read-input
Casey Bodley [Wed, 5 Apr 2017 18:30:14 +0000 (14:30 -0400)]
Merge pull request #13815 from theanalyst/cleanup/rgw/rest-read-input

rgw: don't read all user input for a few param requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomon/MgrMonitor: make debug prefix useful 14328/head
Sage Weil [Wed, 5 Apr 2017 15:58:57 +0000 (11:58 -0400)]
mon/MgrMonitor: make debug prefix useful

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: don't use virtual for accessing BitMapZone::is_exhausted. 14348/head
Radoslaw Zarzynski [Wed, 5 Apr 2017 00:31:53 +0000 (02:31 +0200)]
os/bluestore: don't use virtual for accessing BitMapZone::is_exhausted.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoos/bluestore: do not wake kv thread if only deferred events pending
Sage Weil [Mon, 3 Apr 2017 20:54:23 +0000 (16:54 -0400)]
os/bluestore: do not wake kv thread if only deferred events pending

No need to wake up if there is only deferred work; we can do
it lazily.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: bluestore_deferred_batch_ops = 32 (not 8)
Sage Weil [Mon, 3 Apr 2017 20:53:33 +0000 (16:53 -0400)]
os/bluestore: bluestore_deferred_batch_ops = 32 (not 8)

A bit more batching.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: unify throttling model
Sage Weil [Mon, 3 Apr 2017 20:44:42 +0000 (16:44 -0400)]
os/bluestore: unify throttling model

Implement a super simple model for the cost of a transaction
for the purposes of throttling.  This replaces two independent
throttles (one for transaction ops, one for bytes) and puts
them both under the 'bytes' throttle.  The txc model cost is
expressed in terms of bytes as this is probably the simplest
thing for users to reason about.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: release throttle before commit
Sage Weil [Mon, 3 Apr 2017 19:46:45 +0000 (15:46 -0400)]
os/bluestore: release throttle before commit

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: error via derr too 14333/head
Sage Weil [Wed, 5 Apr 2017 02:49:27 +0000 (22:49 -0400)]
ceph_test_objectstore: error via derr too

This helps establish timing relative to the log.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: increase aio queue depth
Sage Weil [Thu, 30 Mar 2017 21:27:21 +0000 (17:27 -0400)]
os/bluestore: increase aio queue depth

We've seen some reports of the aio EAGAIN backoff in logs; use a larger
aio ring buffer to reduce the risk of this.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: reduce some debug level
Sage Weil [Thu, 30 Mar 2017 20:39:42 +0000 (16:39 -0400)]
os/bluestore: reduce some debug level

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: put fsck structures in mempools
Sage Weil [Thu, 30 Mar 2017 18:01:42 +0000 (14:01 -0400)]
os/bluestore: put fsck structures in mempools

This lets us track them individually in debug mode.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomempool: do not skip first 2 mempools
Sage Weil [Thu, 30 Mar 2017 18:01:05 +0000 (14:01 -0400)]
mempool: do not skip first 2 mempools

This broke when we sorted the pool definitions in the header.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: flush osr even on failure in _deferred_replay
Sage Weil [Wed, 29 Mar 2017 22:33:12 +0000 (18:33 -0400)]
os/bluestore: flush osr even on failure in _deferred_replay

This is one less thing for fsck to worry about.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: trim cache during fsck
Sage Weil [Wed, 29 Mar 2017 22:32:45 +0000 (18:32 -0400)]
os/bluestore: trim cache during fsck

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: be noisy about bitmap init (it's slow!)
Sage Weil [Wed, 29 Mar 2017 22:24:38 +0000 (18:24 -0400)]
os/bluestore: be noisy about bitmap init (it's slow!)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14316 from liewegas/wip-bluestore-fsck-unused
Sage Weil [Wed, 5 Apr 2017 14:22:51 +0000 (09:22 -0500)]
Merge pull request #14316 from liewegas/wip-bluestore-fsck-unused

os/bluestore: fsck: verify blob.unused field

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: use typedef for blob unused (uint16_t) 14316/head
Sage Weil [Wed, 5 Apr 2017 14:13:46 +0000 (10:13 -0400)]
os/bluestore: use typedef for blob unused (uint16_t)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fsck: verify blob.unused field
Sage Weil [Tue, 4 Apr 2017 17:33:04 +0000 (13:33 -0400)]
os/bluestore: fsck: verify blob.unused field

Two checks:

- verify that no logical extents reference the portion of the
  blob marked unused, and
- verify that the csum (if present) is zero for any unused
  region.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14157 from liewegas/wip-19379
Sage Weil [Wed, 5 Apr 2017 13:56:16 +0000 (08:56 -0500)]
Merge pull request #14157 from liewegas/wip-19379

os/bluestore: fix deferred writes vs collection split race

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #14258 from liewegas/wip-bluestore-tool
Sage Weil [Wed, 5 Apr 2017 13:55:36 +0000 (08:55 -0500)]
Merge pull request #14258 from liewegas/wip-bluestore-tool

ceph-bluestore-tool: rename from bluefs-tool; improve usage

8 years agoMerge pull request #14294 from tchaikov/wip-check-last-osd-report-if-luminous
Sage Weil [Wed, 5 Apr 2017 13:55:23 +0000 (08:55 -0500)]
Merge pull request #14294 from tchaikov/wip-check-last-osd-report-if-luminous

mon/OSDMonitor: check last_osd_report only when the whole cluster is lu…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14303 from liewegas/wip-more-mgr-commands
Sage Weil [Wed, 5 Apr 2017 13:55:03 +0000 (08:55 -0500)]
Merge pull request #14303 from liewegas/wip-more-mgr-commands

mgr: move 'osd perf' and 'osd blocked-by' to mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14010 from zhangsw/fix-rgw-fetchremote-bug
Casey Bodley [Wed, 5 Apr 2017 13:38:41 +0000 (09:38 -0400)]
Merge pull request #14010 from zhangsw/fix-rgw-fetchremote-bug

rgw: version id doesn't work in fetch_remote_obj

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13310 from ceph/wip-ceph-disk-fix
Loic Dachary [Wed, 5 Apr 2017 11:43:02 +0000 (13:43 +0200)]
Merge pull request #13310 from ceph/wip-ceph-disk-fix

ceph-disk: Add fix subcommand

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agorgw_lc: drop a bunch of unused headers 14342/head
Abhishek Lekshmanan [Wed, 5 Apr 2017 11:20:41 +0000 (13:20 +0200)]
rgw_lc: drop a bunch of unused headers

Dropping headers that are already included as a part of rgw_common

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agorgw: add support for multipart upload expiration. 13622/head
Zhang Shaowen [Thu, 23 Feb 2017 01:36:27 +0000 (09:36 +0800)]
rgw: add support for multipart upload expiration.

Fixes: http://tracker.ceph.com/issues/19088
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
8 years agoradosgw-admin: use zone id when creating a zone 14340/head
Orit Wasserman [Wed, 5 Apr 2017 10:31:08 +0000 (13:31 +0300)]
radosgw-admin: use zone id when creating a zone

Fixes: http://tracker.ceph.com/issues/19498
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoadd RGW ldap auth documentation 14339/head
Harald Klein [Wed, 5 Apr 2017 09:28:37 +0000 (11:28 +0200)]
add RGW ldap auth documentation

Signed-off-by: Harald Klein <hari@vt100.at>
8 years agoMerge pull request #14314 from rzarzynski/wip-rgw-bulkupload-freebsd
Orit Wasserman [Wed, 5 Apr 2017 09:06:05 +0000 (12:06 +0300)]
Merge pull request #14314 from rzarzynski/wip-rgw-bulkupload-freebsd

rgw: switch to std::array in RGWBulkUploadOp due to C++11 and FreeBSD.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #14252 from cbodley/wip-19409
Orit Wasserman [Wed, 5 Apr 2017 09:02:58 +0000 (12:02 +0300)]
Merge pull request #14252 from cbodley/wip-19409

radosgw-admin: new 'global quota' commands update period config
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #14109 from cbodley/wip-rgw-stat-manifest
Orit Wasserman [Wed, 5 Apr 2017 09:02:10 +0000 (12:02 +0300)]
Merge pull request #14109 from cbodley/wip-rgw-stat-manifest

rgw: stat requests skip compression, manifest handling, etc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoos/bluestore/KernelDevice: assume rotational if we can't get devname 14115/head
Sage Weil [Wed, 5 Apr 2017 03:39:42 +0000 (23:39 -0400)]
os/bluestore/KernelDevice: assume rotational if we can't get devname

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14281 from tchaikov/wip-19429
Kefu Chai [Wed, 5 Apr 2017 02:01:27 +0000 (10:01 +0800)]
Merge pull request #14281 from tchaikov/wip-19429

qa/tasks/workunit.py: use "overrides" as the default settings of workunit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>