]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Peter Maloney [Sat, 17 Sep 2016 20:29:49 +0000 (22:29 +0200)]
doc: manual instructions to set up mds daemon
Signed-off-by: Peter Maloney <peter.maloney@brockmann-consult.de>
Yuri Weinstein [Sat, 17 Sep 2016 15:48:11 +0000 (08:48 -0700)]
Merge pull request #8558 from branch-predictor/bp-mark-down-on-perm-rst
msg: mark daemons down on RST + ECONNREFUSED
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yuri Weinstein [Sat, 17 Sep 2016 15:45:45 +0000 (08:45 -0700)]
Merge pull request #11050 from xiexingguo/xxg-wip-os-0912
os/ObjectStore: fix return code of collection_empty() method
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Sat, 17 Sep 2016 14:21:26 +0000 (17:21 +0300)]
Merge pull request #11112 from dillaman/wip-17289
librbd: corrected use-after-free in ImageWatcher
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Sat, 17 Sep 2016 13:29:52 +0000 (21:29 +0800)]
Merge pull request #10933 from tchaikov/wip-rebuild-monstore
tools: rebuild monstore
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Jason Dillaman [Sat, 17 Sep 2016 12:29:15 +0000 (08:29 -0400)]
librbd: corrected use-after-free in ImageWatcher
Fixes: http://tracker.ceph.com/issues/17289
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 16 Sep 2016 21:27:19 +0000 (16:27 -0500)]
Merge pull request #11107 from stiopaa1/msg_stack_deletecopyAssign
msg/Stack.h: delete copy constr and assign op
Michal Jarzabek [Fri, 16 Sep 2016 17:43:14 +0000 (18:43 +0100)]
msg/Stack.h: delete copy constr and assign op
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Sage Weil [Fri, 16 Sep 2016 16:18:56 +0000 (11:18 -0500)]
Merge pull request #11106 from liewegas/wip-bluestore-clone-range
os/bluestore: make clone_range copy-on-write
Ilya Dryomov [Fri, 16 Sep 2016 15:56:38 +0000 (17:56 +0200)]
Merge pull request #11101 from andihit/master
doc: fix description for rsize and rasize
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Fri, 16 Sep 2016 15:26:36 +0000 (10:26 -0500)]
Merge pull request #10267 from cbodley/wip-fio-objectstore
fio engine for objectstore
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Fri, 16 Sep 2016 15:05:52 +0000 (11:05 -0400)]
os/bluestore: do not dup Blob::id in dup()
This field is local to a particular onode!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Sep 2016 14:15:33 +0000 (10:15 -0400)]
os/bluestore: add cow clone_range via _do_clone_range
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Sep 2016 14:15:12 +0000 (10:15 -0400)]
os/bluestore: factor _do_clone_range out of _clone
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Sep 2016 19:39:54 +0000 (15:39 -0400)]
os/bluestore: CLONE implicitly creates the target
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Sep 2016 21:41:49 +0000 (17:41 -0400)]
os/bluestore: EINVAL bad clone_range args
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Fri, 16 Sep 2016 14:22:28 +0000 (16:22 +0200)]
Merge pull request #10841 from fiskn/master
udev: add krbd readahead placeholder
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Fri, 16 Sep 2016 13:56:20 +0000 (08:56 -0500)]
Merge pull request #11075 from badone/wip-run-cmake-check-ctest
run-cmake-check.sh: Actually run the tests
fiskn [Wed, 24 Aug 2016 13:45:22 +0000 (14:45 +0100)]
udev: add krbd readahead placeholder
Signed-off-by: Nick Fisk <nick@fisk.me.uk>
Orit Wasserman [Fri, 16 Sep 2016 13:32:40 +0000 (15:32 +0200)]
Merge pull request #10687 from rzarzynski/wip-rgw-is_admin-fix
rgw: fix is_admin handling in RGWLDAPAuthEngine and introduce acct_privilege_t
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 16 Sep 2016 07:24:23 +0000 (09:24 +0200)]
Merge pull request #11102 from ceph/wip-17279
rgw: revert a commit that broke s3 signature validation
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Brad Hubbard [Wed, 14 Sep 2016 08:28:41 +0000 (18:28 +1000)]
run-cmake-check.sh: Actually run the tests
Actually run the tests from run-cmake-check.sh
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Casey Bodley [Thu, 15 Sep 2016 20:25:29 +0000 (16:25 -0400)]
Merge pull request #11098 from ktdreyer/wip-17280-help-orphan-stale-secs
radosgw-admin: add "--orphan-stale-secs" to --help
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Andreas Gerstmayr [Thu, 15 Sep 2016 20:02:23 +0000 (22:02 +0200)]
doc: fix description for rsize and rasize
Signed-off-by: Andreas Gerstmayr <andreas.gerstmayr@gmail.com>
Casey Bodley [Thu, 15 Sep 2016 19:49:34 +0000 (15:49 -0400)]
Revert "rgw: Fix Host->bucket fallback logic inversion"
This reverts commit
0e0a4bc3dcb61c2e8dfe65daefe207c62b36306c .
this commit, while logically correct, causes us to add a / to the end of
the request_uri. this breaks signature verification, because the initial
signature was generated without the /
Fixes: http://tracker.ceph.com/issues/17279
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ken Dreyer [Thu, 15 Sep 2016 18:56:39 +0000 (12:56 -0600)]
radosgw-admin: add "--orphan-stale-secs" to --help
The radosgw-admin --help did not include the description of the
`--orphan-stale-secs` option of the `orphans find` command. The option
sets the number of seconds to wait before declaring an object to be an
orphan.
Fixes: http://tracker.ceph.com/issues/17280
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Casey Bodley [Thu, 15 Sep 2016 18:40:04 +0000 (14:40 -0400)]
Merge pull request #11097 from ktdreyer/wip-17280-doc-orphan-stale-secs
doc: add "--orphan-stale-secs" to radosgw-admin(8)
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 15 Sep 2016 18:19:11 +0000 (13:19 -0500)]
Merge pull request #10415 from jcsp/wip-16255
ceph-create-keys: fix existing-but-different case
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Thu, 15 Sep 2016 17:40:14 +0000 (11:40 -0600)]
doc: add "--orphan-stale-secs" to radosgw-admin(8)
The radosgw-admin(8) manual page did not include the description of the
`--orphan-stale-secs` option of the `orphans find` command. The option sets
the number of seconds to wait before declaring an object to be an
orphan.
Fixes: http://tracker.ceph.com/issues/17280
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Sage Weil [Thu, 15 Sep 2016 16:54:32 +0000 (11:54 -0500)]
Merge pull request #11095 from liewegas/wip-bluefs
os/bluestore/BlueFS: prevent concurrent async compaction
Sage Weil [Thu, 15 Sep 2016 16:20:01 +0000 (12:20 -0400)]
os/bluestore/BlueFS: add assert for sanity/clarity
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Sep 2016 15:40:17 +0000 (10:40 -0500)]
Merge pull request #11096 from ifed01/wip-bluestore-compression-test-fix
test/store_test: fix statfs results check to consider SSD min_alloc_size
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Sep 2016 15:37:11 +0000 (11:37 -0400)]
os/bluestore/BlueFS: prevent concurrent async compaction
Tried to fix this in
dbe23c94c0074358380a40d47a417f7999920696
but got the condition wrong (log_flushing is for
normal fsync).
Signed-off-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Thu, 15 Sep 2016 15:33:23 +0000 (15:33 +0000)]
test/store_test: fix statfs results check to consider SSD min_alloc_size
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Thu, 15 Sep 2016 14:35:31 +0000 (09:35 -0500)]
Merge pull request #11081 from ifed01/wip-plugin-registry-fix
common/PluginRegistry: improve error output for shared library load fa…
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Sep 2016 14:07:59 +0000 (09:07 -0500)]
Merge pull request #11092 from badone/wip-dry-run-run-make-check
run-make-check.sh: Make DRY_RUN actually do a dry run
Sage Weil [Thu, 15 Sep 2016 14:07:35 +0000 (09:07 -0500)]
Merge pull request #11091 from badone/wip-submodule-init-run-cmake-check
run-cmake-check.sh: Init submodules
Sage Weil [Thu, 15 Sep 2016 13:32:20 +0000 (08:32 -0500)]
Merge pull request #11087 from liewegas/wip-bluefs-allocator
os/bluestore/BlueFS: use StupidAllocator; fix async compaction bug
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Kefu Chai [Thu, 15 Sep 2016 11:25:07 +0000 (19:25 +0800)]
Merge pull request #11088 from tchaikov/do-freebsd-without-autotools
do_freebsd*.sh: rename do_freebsd-cmake.sh to do_freebsd.sh
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Brad Hubbard [Thu, 15 Sep 2016 10:04:39 +0000 (20:04 +1000)]
run-make-check.sh: Make DRY_RUN actually do a dry run
The "cd build" command will cause an error during a dry run if the directory
does not exist.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Tue, 30 Aug 2016 16:59:58 +0000 (00:59 +0800)]
doc: add rados/operations/disaster-recovery.rst
document the process to recover from leveldb corruption.
Fixes: http://tracker.ceph.com/issues/17179
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Aug 2016 11:53:11 +0000 (19:53 +0800)]
tools/ceph_monstore_tool: add "rebuild" command
Fixes: http://tracker.ceph.com/issues/17179
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Aug 2016 11:52:19 +0000 (19:52 +0800)]
tools/ceph-objectstore-tool: add "update-mon-db" command
Fixes: http://tracker.ceph.com/issues/17179
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 31 Aug 2016 05:11:24 +0000 (13:11 +0800)]
mon/AuthMonitor: make AuthMonitor::IncType public
so ceph-objectstore-tool is able to use it when rebuilding monitor
db.
Fixes: http://tracker.ceph.com/issues/17179
Signed-off-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Thu, 15 Sep 2016 09:39:25 +0000 (19:39 +1000)]
run-cmake-check.sh: Init submodules
If submodules are not initialised run-cmake-check.sh can fail.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Thu, 15 Sep 2016 06:16:57 +0000 (14:16 +0800)]
do_freebsd*.sh: rename do_freebsd-cmake.sh to do_freebsd.sh
as autotools is dropped. and remove trailing spaces.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Alfredo Deza [Thu, 15 Sep 2016 04:43:08 +0000 (10:13 +0530)]
Merge pull request #11072 from dmick/wip-17268
ceph-disk tests: Let missing python interpreters be non-fatal
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Josh Durgin [Thu, 15 Sep 2016 04:29:18 +0000 (09:59 +0530)]
Merge pull request #11076 from badone/wip-gitignore-pyc
.gitignore: Add .pyc files globally
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 15 Sep 2016 00:42:48 +0000 (19:42 -0500)]
Merge pull request #11042 from somnathr/wip-verbose-log
kv/rocksdb: dump transactions on error
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 23:02:04 +0000 (19:02 -0400)]
os/bluestore/BlueFS: add safety checks on ino 0|1 op_file_update
We only want to log updates on ino 1 in very specific
cases, and never on ino 0.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 23:00:51 +0000 (19:00 -0400)]
os/bluestore/BlueFS: do not dirty compacting log ino 0
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 22:50:58 +0000 (18:50 -0400)]
os/bluestore/StupidAllocator: use hex for debug
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 22:38:05 +0000 (18:38 -0400)]
os/bluestore/BlueFS: config option for allocator (default stupid)
StupidAllocator is probably a more appropriate choice for bluefs.
Either way, it needn't be tied to what BlueStore is using.
Signed-off-by: Sage Weil <sage@redhat.com>
Somnath Roy [Sat, 10 Sep 2016 20:28:32 +0000 (16:28 -0400)]
Logging proper message during read error from disk
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
Somnath Roy [Thu, 8 Sep 2016 18:25:45 +0000 (14:25 -0400)]
Logging rocksdb transaction in ceph log
The rocksdb transaction is now been logged into ceph log based
on debug level. If transaction is failed, the error code,
error string and the entire transaction is dumped in the log.
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
Sage Weil [Wed, 14 Sep 2016 19:48:57 +0000 (14:48 -0500)]
Merge pull request #11085 from stiopaa1/osd_osd_moveUnderPrivate
osd/OSD.h: make some members private
Michal Jarzabek [Wed, 14 Sep 2016 17:39:22 +0000 (18:39 +0100)]
osd/OSD.h: make some members private
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Sage Weil [Wed, 14 Sep 2016 17:38:08 +0000 (12:38 -0500)]
Merge pull request #11067 from stiopaa1/common_timer_replaceLongTypeswithauto
common/Timer.cc: replace long types with auto
Sage Weil [Wed, 14 Sep 2016 15:35:18 +0000 (10:35 -0500)]
Merge pull request #11068 from liewegas/wip-bluestore-leaks
os/bluestore: fix a few leaks
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Wed, 14 Sep 2016 13:55:08 +0000 (09:55 -0400)]
os/bluestore: clear SharedBlob cache in dtor
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 14:07:36 +0000 (10:07 -0400)]
os/bluestore: make Cache::lock a recursive_mutex
We need to remove items from the cache LRUs in their
destructors, and it is very awkward to ensure that all
releasing paths either hold the cache lock or have
already cleared the cache items out.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 13 Sep 2016 18:43:29 +0000 (14:43 -0400)]
os/bluestore: fix SharedBlob leaks
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 13 Sep 2016 18:28:24 +0000 (14:28 -0400)]
os/bluestore: fix Extent leak from ~ExtentMap
Signed-off-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Wed, 14 Sep 2016 15:27:05 +0000 (15:27 +0000)]
common/PluginRegistry: improve error output forshared library load failure.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Wed, 14 Sep 2016 14:57:12 +0000 (09:57 -0500)]
Merge pull request #11080 from ifed01/wip-compression-store-improvement
test/store_test: extend Bluestore compression test to verify compress…
Kefu Chai [Wed, 14 Sep 2016 14:42:25 +0000 (22:42 +0800)]
Merge pull request #11074 from badone/wip-dry-run
run-*make-check.sh: Make DRY_RUN actually mean a dry run
Reviewed-by: Kefu Chai <kchai@redhat.com>
Igor Fedotov [Wed, 14 Sep 2016 14:00:54 +0000 (14:00 +0000)]
test/store_test: extend Bluestore compression test to verify compression statistics and hence compression workability
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Orit Wasserman [Wed, 14 Sep 2016 14:12:35 +0000 (16:12 +0200)]
Merge pull request #10965 from ceph/wip-crypto-init
common: only call crypto::init once per CephContext
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Tue, 13 Sep 2016 17:42:23 +0000 (13:42 -0400)]
os/bluestore: add ExtentMap::add() helper
Matches rm().
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 13 Sep 2016 17:41:43 +0000 (13:41 -0400)]
os/bluestore: fix Extent leak from _wctx_finish
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 13 Sep 2016 17:39:35 +0000 (13:39 -0400)]
os/bluestore: fix Extent leak on ExtentMap removal
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Wed, 14 Sep 2016 13:53:57 +0000 (09:53 -0400)]
Merge pull request #10998 from ceph/wip-16695
rgw: work around curl_multi_wait bug with non-blocking reads
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Wed, 14 Sep 2016 13:42:09 +0000 (08:42 -0500)]
Merge pull request #11069 from liewegas/wip-rocksdb
rocksdb: pull up to master (4.12 + a few patches)
Sage Weil [Wed, 14 Sep 2016 13:41:40 +0000 (08:41 -0500)]
Merge pull request #11079 from ifed01/wip-fix-zlib
compressor/zlib: zlib wrapper fix
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 13:40:56 +0000 (08:40 -0500)]
Merge pull request #11077 from xiexingguo/xxg-wip-bluestore-0914
os/bluestore: add checks and kill unreachable code
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Sep 2016 13:39:21 +0000 (08:39 -0500)]
Merge pull request #11014 from chhabaramesh/extent_alloc
os/bluestore: make assert conditional with macro for allocator
Reviewed-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Wed, 14 Sep 2016 12:48:36 +0000 (12:48 +0000)]
compressor/zlis: improve buffer allocation to avoid space waste
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Wed, 14 Sep 2016 12:21:02 +0000 (12:21 +0000)]
common/compressor: fix improper length value passed to zlib compressor
Signed-off-by: Igor Fedotov <ifedotovo@miranitis.com>
Igor Fedotov [Wed, 14 Sep 2016 12:19:49 +0000 (12:19 +0000)]
test/objectstore: extend compression test case to use both snappy & zlib
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Brad Hubbard [Wed, 14 Sep 2016 09:35:57 +0000 (19:35 +1000)]
.gitignore: Add .pyc files globally
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Alfredo Deza [Wed, 14 Sep 2016 08:32:42 +0000 (14:02 +0530)]
Merge pull request #11071 from dmick/wip-17267
Stop hiding errors from run-tox.sh
Reviewed-by: Alfredo Deza <adeza@redhat.com>
xie xingguo [Wed, 14 Sep 2016 07:19:01 +0000 (15:19 +0800)]
os/bluestore: drop result check of OP_TRY_RENAME
Because _rename() never returns -ENOENT, it only
returns -EEXIST on failure.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Brad Hubbard [Wed, 14 Sep 2016 07:13:47 +0000 (17:13 +1000)]
run-*make-check.sh: Make DRY_RUN actually mean a dry run
DRY_RUN does not currently do an actual dry run as it actually runs an install
command.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
xie xingguo [Wed, 14 Sep 2016 06:56:24 +0000 (14:56 +0800)]
os/bluestore: add sanity check for compress()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Dan Mick [Wed, 14 Sep 2016 03:29:52 +0000 (20:29 -0700)]
Stop hiding errors from run-tox.sh
The grep -v should have been grep, but, why even bother?
Tox doesn't output that much; just dump it, and exit with
tox's error code.
Fixes: http://tracker.ceph.com/issues/17267
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 14 Sep 2016 03:34:24 +0000 (20:34 -0700)]
ceph-disk tests: Let missing python interpreters be non-fatal
Let tox ignore missing interpreters, and add py35 and py36 as well.
This lets tests work on Xenial, for example, which only has py35.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Yuri Weinstein [Tue, 13 Sep 2016 22:54:57 +0000 (15:54 -0700)]
Merge pull request #10826 from xiexingguo/xxg-wip-fix-objecter-0823
osdc/objecter: misc fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Tue, 13 Sep 2016 22:52:20 +0000 (15:52 -0700)]
Merge pull request #10859 from xiexingguo/xxg-wip-fix-osd-08-25
osd/osd_type: check if pool is gone during check_new_interval()
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Tue, 13 Sep 2016 22:01:55 +0000 (17:01 -0500)]
Merge pull request #11059 from markhpc/wip-bluefs-wal-buffered
bluestore/BlueFS: revert direct IO for WRITER_WAL
Sage Weil [Tue, 13 Sep 2016 18:13:20 +0000 (13:13 -0500)]
Merge pull request #11030 from amoxic/amoxic-wip-fix-do-write-small
os/bluestore: fix offset bug in _do_write_small.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 13 Sep 2016 18:11:56 +0000 (14:11 -0400)]
rocksdb: pull up to master (4.12 + a few patches)
This includes Somnath's fix for log recycling.
Signed-off-by: Sage Weil <sage@redhat.com>
Piotr Dałek [Tue, 12 Jul 2016 16:54:52 +0000 (18:54 +0200)]
osdc: remove MOSDFailure include
Doesn't seem to be necessary anymore.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
Piotr Dałek [Sun, 10 Jul 2016 00:41:34 +0000 (02:41 +0200)]
test/osd: add test for fast mark down functionality
Test checks both async and simple messenger and also checks whether
disabling "osd fast fail on connection refused" option restores old
behavior.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
Piotr Dałek [Sun, 22 May 2016 13:30:49 +0000 (15:30 +0200)]
msg/async: implement ECONNREFUSED detection
This commit adds code that detects ECONNREFUSED and dispatches appropriate
event further in Async messenger.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
Piotr Dałek [Thu, 5 May 2016 19:48:31 +0000 (21:48 +0200)]
messages/MOSDFailure.h: distinguish between timeout and immediate failure
Change "is_failed" field to "flags" and use it to distinguish between timeout
and immediate, known OSD failure. Then use that in OSD and MON, and make sure
"min_reporters" don't affect known failures by actually going around failure
heuristic code.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
Piotr Dałek [Sun, 22 May 2016 11:08:48 +0000 (13:08 +0200)]
OSD: Implement ms_handle_refused
Added implementation of ms_handle_refused in OSD code, so it sends
MOSDFailure message in case the peer connection fails with ECONNREFUSED
*and* it is known to be up and new option "osd fast fail on connection
refused" which enables or disables new behavior.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
Piotr Dałek [Thu, 5 May 2016 19:03:37 +0000 (21:03 +0200)]
msg/simple: add ms_handle_refused callback
Added new callback (ms_handle_refused) to dispatchers. It is called
once connection attempt fails with ECONNREFUSED.
Also added dummy ms_handle_refused handlers across codebase.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
Michal Jarzabek [Tue, 13 Sep 2016 17:35:54 +0000 (18:35 +0100)]
common/Timer.cc: replace long types with auto
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Igor Fedotov [Mon, 5 Sep 2016 16:14:52 +0000 (16:14 +0000)]
fio: use ref counting for Engine instance
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Kefu Chai [Tue, 13 Sep 2016 15:04:50 +0000 (23:04 +0800)]
Merge pull request #11046 from stiopaa1/common_timer_deleteCopyConstrAndAssign
common/Timer.h: delete copy constr and assign op
Reviewed-by: Kefu Chai <kchai@redhat.com>