]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Brad Hubbard [Thu, 15 Dec 2016 05:06:11 +0000 (15:06 +1000)]
doc/dev/osd_internals: add pgpool.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Fri, 9 Dec 2016 02:33:45 +0000 (10:33 +0800)]
Merge pull request #12400 from gregsfortytwo/wip-fix-pg-unsigned-warning
osd: fix signed/unsigned comparison warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Fri, 9 Dec 2016 02:15:28 +0000 (21:15 -0500)]
Merge pull request #12211 from leseb/doc-openstack
doc: update cinder key permissions for mitaka
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Greg Farnum [Thu, 8 Dec 2016 23:50:24 +0000 (15:50 -0800)]
osd: fix signed/unsigned comparison warning
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Thu, 8 Dec 2016 21:07:01 +0000 (15:07 -0600)]
Merge pull request #12367 from liewegas/wip-bluestore-sync-submit
os/bluestore: bluestore_sync_submit_transaction = false
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Thu, 8 Dec 2016 21:04:45 +0000 (15:04 -0600)]
Merge pull request #12356 from xiexingguo/xxg-wip-bluestore-commit-latency
os/bluestore: fix global commit latency
Reviewed-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 8 Dec 2016 20:34:51 +0000 (15:34 -0500)]
Merge pull request #12381 from ly798/fix-rgw-crush-due-to-bad-cors
rgw: do not abort when accept a CORS request with short origin
Kefu Chai [Thu, 8 Dec 2016 17:16:20 +0000 (01:16 +0800)]
Merge pull request #12369 from tchaikov/wip-c99
cmake: compile C code with c99
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Loic Dachary [Thu, 8 Dec 2016 16:06:59 +0000 (17:06 +0100)]
Merge pull request #12375 from liewegas/wip-msgr-eagain-loop
msg/simple/Pipe: avoid returning 0 on poll timeout
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
jtlayton [Thu, 8 Dec 2016 14:35:56 +0000 (09:35 -0500)]
Merge pull request #12331 from ceph/wip-jlayton-suid
Have ceph clear setuid/setgid bits on chown
Sébastien Han [Tue, 29 Nov 2016 10:24:38 +0000 (11:24 +0100)]
doc: update cinder key permissions for mitaka
OpenStack Mitaka introduced the support of RBD snapshots while taking a
snapshot of a Nova instance. For this to work we need to grant write
access to the Glance pool to the Cinder key.
Signed-off-by: Sébastien Han <seb@redhat.com>
Jason Dillaman [Thu, 8 Dec 2016 13:56:25 +0000 (08:56 -0500)]
Merge pull request #12388 from kylinstorage/wip-remove-librbd-unused-variable
librbd: remove unused local variable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Thu, 8 Dec 2016 13:19:21 +0000 (21:19 +0800)]
Merge pull request #12383 from dachary/wip-18188-k-2-m-2
tests: erasure-code: add k=2, m=2 for isa & jerasure
Reviewed-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Thu, 8 Dec 2016 06:49:19 +0000 (07:49 +0100)]
tests: erasure-code: add k=2, m=2 for isa & jerasure
Fixes: http://tracker.ceph.com/issues/18188
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Thu, 8 Dec 2016 11:40:42 +0000 (12:40 +0100)]
tests: fix erasure-code premature deallocation of cct
The setup function returns before the run function, the cct variable
must be a data member, not a local variable that gets de-allocated
before run() starts.
Signed-off-by: Loic Dachary <loic@dachary.org>
Kefu Chai [Thu, 8 Dec 2016 09:54:59 +0000 (17:54 +0800)]
Merge pull request #12387 from tchaikov/wip-remove-unused-var
msg/async: remove unused member variable
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yunchuan Wen [Thu, 8 Dec 2016 09:05:17 +0000 (17:05 +0800)]
librbd: remove unused local variable
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
Kefu Chai [Thu, 8 Dec 2016 08:46:01 +0000 (16:46 +0800)]
msg/async: remove unused member variable
PosixServerSocketImpl::sa is not referenced anywhere, so remove it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
LiuYang [Thu, 8 Dec 2016 06:21:43 +0000 (14:21 +0800)]
rgw: do not abort when accept a CORS request with short origin
Fixed: #18187
when accept a CROS request, the request http origin shorter than the bucket's corsrule
(eg. origin: http://s.com corsrule: <AllowedOrigin>*.verylongdomain.com</AllowedOrigin>).
the rgw_cors.cc::is_string_in_set() will have a wrong index, the radosrgw server will
abort.
$ curl http://test.localhost:8000/app.data -H "Origin:http://s.com"
0> 2016-12-05 03:22:29.548138
7f6add05d700 -1 *** Caught signal (Aborted) **
in thread
7f6add05d700 thread_name:civetweb-worker
ceph version
11.0.2-2168-gd2f8fb4 (
d2f8fb4a6ba75af7e6da0f5a7f1b49ec998b1631 )
1: (()+0x50720a) [0x7f6b147c420a]
2: (()+0xf370) [0x7f6b09a33370]
3: (gsignal()+0x37) [0x7f6b081ca1d7]
4: (abort()+0x148) [0x7f6b081cb8c8]
5: (__gnu_cxx::__verbose_terminate_handler()+0x165) [0x7f6b08ace9d5]
6: (()+0x5e946) [0x7f6b08acc946]
7: (()+0x5e973) [0x7f6b08acc973]
8: (()+0x5eb93) [0x7f6b08accb93]
9: (std::__throw_out_of_range(char const*)+0x77) 0x7f6b08b21a17]
10: (()+0xbd97a) [0x7f6b08b2b97a]
11: (()+0x449c1e) [0x7f6b14706c1e]
12: (RGWCORSRule::is_origin_present(char const*)+0x48) [0x7f6b147073b8]
13: (RGWCORSConfiguration::host_name_rule(char const*)+0x37) [0x7f6b147074e7]
14: (RGWOp::generate_cors_headers(std::string&, std::string&, std::string&, std::string&, unsigned int*)+0xa3) [0x7f6b14593e63]
15: (dump_access_control(req_state*, RGWOp*)+0x61) [0x7f6b14653f91]
Signed-off-by: LiuYang <yippeetry@gmail.com>
Kefu Chai [Thu, 8 Dec 2016 01:45:18 +0000 (09:45 +0800)]
cmake: compile C code with c99
so the functions like snprintf() available in C99 are available without
defining _XOPEN_SOURCE. and "asm()" is used to inline assembly, so use
the GNU's extension instead of C99 standard.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Dec 2016 01:48:24 +0000 (09:48 +0800)]
cmake: should detect c++11 before enabling it
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 8 Dec 2016 00:31:54 +0000 (18:31 -0600)]
Merge pull request #12354 from umullan/correction
doc: correcting the object name
Sage Weil [Thu, 8 Dec 2016 00:25:55 +0000 (18:25 -0600)]
msg/simple/Pipe: avoid returning 0 on poll timeout
If poll times out it will return 0 (no data to read on socket). In
165e5abdbf6311974d4001e43982b83d06f9e0cc we changed tcp_read_wait from
returning -1 to returning -errno, which means we return 0 instead of -1
in this case.
This makes tcp_read() get into an infinite loop by repeatedly trying to
read from the socket and getting EAGAIN.
Fix by explicitly checking for a 0 return from poll(2) and returning
EAGAIN in that case.
Fixes: http://tracker.ceph.com/issues/18184
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Dec 2016 20:59:57 +0000 (15:59 -0500)]
Merge pull request #12347 from gregsfortytwo/wip-18157-fix
ceph-fuse: start up log on parent process before shutdown
Reviewed-by: Sage Weil <sage@redhat.com>
Jeff Layton [Mon, 5 Dec 2016 19:11:44 +0000 (14:11 -0500)]
client: drop setuid/setgid bits on ownership change
When we hold exclusive auth caps, then the client is responsible for
handling changes to the mode. Make sure we remove any setuid/setgid
bits on an ownership change.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Mon, 5 Dec 2016 19:19:23 +0000 (14:19 -0500)]
mds: clear setuid/setgid bits on ownership changes
If we get a ownership change, POSIX mandates that you clear the
setuid and setgid bits unless you are "appropriately privileged", in
which case the OS is allowed to leave them intact.
Linux however always clears those bits, regardless of the process
privileges, as that makes it simpler to close some potential races.
Have ceph do the same.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Tue, 6 Dec 2016 19:10:31 +0000 (14:10 -0500)]
test: add new testcase for clearing setuid/setgid bits on chown/chgrp
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Wed, 7 Dec 2016 16:52:58 +0000 (11:52 -0500)]
test: remove improper casts from SetSize test
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Mykola Golub [Wed, 7 Dec 2016 16:07:05 +0000 (18:07 +0200)]
Merge pull request #12259 from liupan1111/wip-fix-nbd-max-part
rbd-nbd: support partition for rbd-nbd mapped raw block device
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Wed, 7 Dec 2016 15:37:28 +0000 (10:37 -0500)]
os/bluestore: bluestore_sync_submit_transaction = false
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 7 Dec 2016 15:09:33 +0000 (23:09 +0800)]
Merge pull request #12359 from tchaikov/wip-cmake
cmake: detect keyutils if WITH_LIBCEPHFS OR WITH_RBD
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 7 Dec 2016 14:42:58 +0000 (22:42 +0800)]
Merge pull request #12361 from dachary/wip-18030-pglog
tests: remove TestPGLog EXPECT_DEATH tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Wed, 7 Dec 2016 14:15:25 +0000 (14:15 +0000)]
Merge pull request #12208 from ukernel/wip-18047
mds: don't access mdsmap from log submit thread
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 7 Dec 2016 14:13:52 +0000 (14:13 +0000)]
Merge pull request #12077 from jcsp/wip-17954
mds: fix dropping events in standby replay
Reviewed-by: Yan, Zheng <zyan@redhat.com>
John Spray [Wed, 7 Dec 2016 14:12:53 +0000 (14:12 +0000)]
Merge pull request #12133 from jcsp/wip-16924
mds: don't maintain bloom filters in standby replay
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
John Spray [Wed, 7 Dec 2016 12:50:53 +0000 (12:50 +0000)]
Merge pull request #12360 from wido/docs-cephfs-datascan-workers
doc: Fix for worker arguments to cephfs-data-scan tool
Reviewed-by: John Spray <john.spray@redhat.com>
Loic Dachary [Wed, 7 Dec 2016 09:48:10 +0000 (10:48 +0100)]
tests: remove TestPGLog EXPECT_DEATH tests
As per Sam Just advice, remove the EXPECT_DEATH tests to avoid
intermittent hang because they do not play well with threads.
Fixes: http://tracker.ceph.com/issues/18030
Signed-off-by: Loic Dachary <loic@dachary.org>
Kefu Chai [Wed, 7 Dec 2016 08:55:31 +0000 (16:55 +0800)]
Merge pull request #12327 from iain-buclaw-sociomantic/pybind-validate-args
pybind/rados: Add @requires for all aio methods
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Wido den Hollander [Wed, 7 Dec 2016 08:49:09 +0000 (09:49 +0100)]
doc: Fix for worker arguments to cephfs-data-scan tool
The docs were incorrect and these arguments should work.
Signed-off-by: Wido den Hollander <wido@42on.com>
Kefu Chai [Wed, 7 Dec 2016 04:27:54 +0000 (12:27 +0800)]
cmake: turn krbd into a static lib
* simplify the link dependencies.
* s/keyutils/${KEYUTILS_LIBRARIES}/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 7 Dec 2016 03:41:18 +0000 (11:41 +0800)]
cmake: find keyutils if rbd or libcephfs is enabled
* find_package(keyutils REQUIRED) if (WITH_LIBCEPHFS OR WITH_RBD)
prior to this change, we detect keyutils if the building platform is not
FreeBSD, we should instead check the WITH_* options, and let the
maintainer to decided what is the best for his/her platform, and error
out if the building host cannot fulfill the requirement to build the
asserts.
* build krbd.cc if (WITH_RBD)
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Wed, 7 Dec 2016 07:29:57 +0000 (15:29 +0800)]
os/bluestore: fix global commit latency
"start" is used to calculate the global bluestore commit latency
and hence shall not be updated at each internal state enter/exit.
Otherwise the l_bluestore_commit_lat counter won't reflect the
real commit latency precisely.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Uday Mullangi [Wed, 7 Dec 2016 06:17:07 +0000 (11:47 +0530)]
doc: correcting the object name
Signed-off-by: umullangi@walmartlabs.com
Xie Xingguo [Wed, 7 Dec 2016 02:04:23 +0000 (10:04 +0800)]
Merge pull request #12350 from chanyoung/struct-OSDOp-typos
osd: fix typos in "struct OSDOp" comments
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
chanyoung [Wed, 7 Dec 2016 00:25:56 +0000 (09:25 +0900)]
osd: fix typos in "struct OSDOp" comments
"nembers" -> "members"
Signed-off-by: Chanyoung Park <park910113@gmail.com>
Jason Dillaman [Wed, 7 Dec 2016 00:18:16 +0000 (19:18 -0500)]
Merge pull request #12344 from trociny/wip-resync-fixup
rbd-mirror: fix gmock warnings in bootstrap request unit tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 6 Dec 2016 23:39:46 +0000 (18:39 -0500)]
Merge pull request #11369 from theanalyst/kraken-release-notes
doc: release notes for 11.0.2
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Abhishek Lekshmanan [Tue, 6 Dec 2016 23:17:20 +0000 (00:17 +0100)]
doc: add salient features of kraken 11.1.0 rc
Reordering to add Sage's release note comments on top
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Tue, 6 Dec 2016 09:06:07 +0000 (10:06 +0100)]
doc: add release notes for 11.1.0
Release notes as of
7b1293e70db51f620210332bde1f83ade15bd9d3
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Tue, 6 Dec 2016 12:10:15 +0000 (13:10 +0100)]
doc: bump release notes to 11.0.2
bumping release notes to 11.0.2 kraken and adding the single commit that
differs between the changes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Fri, 7 Oct 2016 16:01:31 +0000 (18:01 +0200)]
doc: release notes for 11.0.1
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
Sage Weil [Tue, 6 Dec 2016 23:11:19 +0000 (18:11 -0500)]
Merge pull request #12346 from theanalyst/doc/changelog/v10.2.4
doc: adding changelog for v10.2.4
Reviewed-by: Sage Weil <sage@redhat.com>
Greg Farnum [Tue, 6 Dec 2016 23:07:19 +0000 (15:07 -0800)]
ceph-fuse: start up log on parent process before shutdown
Otherwise, we hit an assert in the Ceph context and logging teardown.
Fixes: http://tracker.ceph.com/issues/18157
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Abhishek Lekshmanan [Tue, 6 Dec 2016 23:06:52 +0000 (00:06 +0100)]
doc: adding changelog for v10.2.4
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Tue, 6 Dec 2016 22:27:24 +0000 (17:27 -0500)]
Merge pull request #12328 from liewegas/wip-bluestore-flush
os/bluestore: flush before enumerating omap values
Sage Weil [Tue, 6 Dec 2016 22:27:10 +0000 (17:27 -0500)]
Merge pull request #12265 from liewegas/wip-bluestore-precondition
os/bluestore: drop old bluestore preconditioning; replace with wal preextension of file size
Sage Weil [Tue, 6 Dec 2016 22:21:57 +0000 (17:21 -0500)]
Merge pull request #12281 from dachary/wip-17743-memstore
tests: do not use memstore.test_temp_dir in two tests
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Tue, 6 Dec 2016 22:21:29 +0000 (17:21 -0500)]
Merge pull request #12298 from chhabaramesh/bit_alloc_mempool
os/bluestore: bitmap allocator dump functionality
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Tue, 6 Dec 2016 21:19:54 +0000 (23:19 +0200)]
rbd-mirror: fix gmock warnings in bootstrap request unit tests
Fixes: http://tracker.ceph.com/issues/18156
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Tue, 6 Dec 2016 19:35:29 +0000 (14:35 -0500)]
Merge pull request #12338 from liewegas/wip-kraken-notes
doc/release-notes: kraken release notes (draft)
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Sage Weil [Tue, 6 Dec 2016 14:32:23 +0000 (09:32 -0500)]
doc/release-notes: kraken release notes (draft)
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Tue, 6 Dec 2016 17:45:32 +0000 (09:45 -0800)]
Merge pull request #12340 from athanatos/wip-18127
osd/PGLog::proc_replica_log,merge_log: fix bound for last_update
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 15:58:39 +0000 (10:58 -0500)]
Merge pull request #12339 from kylinstorage/wip-optimize-assert
msg/async: assert(0) -> ceph_abort()
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Tue, 6 Dec 2016 15:52:01 +0000 (10:52 -0500)]
Merge pull request #12329 from ktdreyer/wip-doc-spelling
doc: fix grammar/spelling in RGW sections
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Li Wang [Tue, 6 Dec 2016 14:54:40 +0000 (14:54 +0000)]
msg/async/rdma/RDMAStack.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 14:52:22 +0000 (14:52 +0000)]
msg/async/rdma/Infiniband.h: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 14:50:07 +0000 (14:50 +0000)]
msg/async/rdma/Infiniband.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Pan Liu [Tue, 6 Dec 2016 13:04:03 +0000 (21:04 +0800)]
rbd-nbd: support partition for rbd-nbd mapped raw block device.
Fixes: http://tracker.ceph.com/issues/18115
Signed-off-by: Pan Liu pan.liu@istuary.com
John Spray [Tue, 6 Dec 2016 12:18:38 +0000 (12:18 +0000)]
Merge pull request #12125 from ukernel/wip-17990
mds: properly commit new dirfrag before splitting it
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Haomai Wang [Tue, 6 Dec 2016 11:06:52 +0000 (19:06 +0800)]
Merge pull request #12334 from Adirl/fix_log_level
msg/async/rdma: change log level: 0 -> 1
Reviewed-by: Haomai Wang <haomai@xsky.com>
Avner BenHanoch [Tue, 6 Dec 2016 09:30:18 +0000 (09:30 +0000)]
msg/async/rdma: change log level: 0 -> 1
this will avoid irrelevant messages to console in case of "ceph -s"
issue: 914828
Change-Id: Ia220c62ff7a9f80fbe6068e1dd9d4a9a05ed01db
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>
Li Wang [Tue, 6 Dec 2016 08:35:33 +0000 (08:35 +0000)]
msg/async/dpdk/TCP.h: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:31:45 +0000 (08:31 +0000)]
msg/async/dpdk/DPDKStack.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:29:34 +0000 (08:29 +0000)]
msg/async/dpdk/DPDK.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:28:18 +0000 (08:28 +0000)]
common/map_cacher.hpp: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Loic Dachary [Fri, 2 Dec 2016 15:58:29 +0000 (16:58 +0100)]
tests: do not use memstore.test_temp_dir in two tests
unittest_memstore_clone and test_objectstore_memstore.sh both
use memstore.test_temp_dir and when running in parallel they
interfere with each other.
src/test/objectstore/store_test_fixture.h will create
memstore.test_temp_dir
when running via src/test/test_objectstore_memstore.sh
src/test/objectstore/test_memstore_clone.cc will also create
memstore.test_temp_dir
when running via unittest_memstore_clone.
Fixes: http://tracker.ceph.com/issues/17743
Signed-off-by: Loic Dachary <loic@dachary.org>
Kefu Chai [Tue, 6 Dec 2016 01:04:59 +0000 (09:04 +0800)]
Merge pull request #9837 from zhjwpku/typos
doc: network-protocol typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Mon, 5 Dec 2016 20:08:14 +0000 (12:08 -0800)]
PGLog::proc_replica_log,merge_log: fix bound for last_update
If olog.tail > log.tail, olog.tail is also a bound on last_update.
See the changed comment in the commit for details.
Also adds unit tests.
Fixes: http://tracker.ceph.com/issues/18127
Signed-off-by: Samuel Just <sjust@redhat.com>
Sage Weil [Mon, 5 Dec 2016 18:59:57 +0000 (13:59 -0500)]
Merge pull request #12053 from theanalyst/v10.2.4/release-notes
doc: release notes for 10.2.4
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Ken Dreyer [Thu, 15 Sep 2016 18:07:49 +0000 (12:07 -0600)]
doc: fix capitalization in RGW admin ops
lower-case second word in this sentence.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Ken Dreyer [Thu, 15 Sep 2016 18:04:18 +0000 (12:04 -0600)]
doc: fix spelling in RGW s3 compliance
mentionned -> mentioned
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Sage Weil [Mon, 5 Dec 2016 18:44:32 +0000 (13:44 -0500)]
os/bluestore: flush before enumerating omap values
For a few update ops we enumerate omap keys (to remove them).
Make sure we flush the pipeline before doing so or else we may
lose keys inserted by a previous transaction that hasn't yet
committed.
Fixes: http://tracker.ceph.com/issues/18140
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Dec 2016 19:36:37 +0000 (14:36 -0500)]
os/bluestore/BlueFS: pre-extend file size for WAL (.log) files
When rocksdb has log recycling on (this is required!), it will
do robust checksums on log records and change playback behavior
to tolerate trailing garbage in the log file. This normally
allows it to overwrite previous log files, but it can also let
us overwrite arbitrary garbage on the device.
If we allocate some new space for a .log file (already indicated
by the WRITER_WAL hint), extend the size immediately so that each
subsequent append doesn't have to (unless/until we do another
allocation).
This is safe as long as rocksdb recycling is enabled (which it is
by default).
This is faster because we don't have to flush the bluefs log on
every log append during the period after startup before rocksdb
starts recycling log files.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Dec 2016 18:53:46 +0000 (13:53 -0500)]
os/bluestore: remove kludgey rocksdb preconditioning
This doesn't work, it's slow, and it's hacky.
Signed-off-by: Sage Weil <sage@redhat.com>
Iain Buclaw [Thu, 1 Dec 2016 18:40:09 +0000 (19:40 +0100)]
pybind/rados: Add @requires for all aio methods
Signed-off-by: Iain Buclaw <iain.buclaw@sociomantic.com>
Sage Weil [Mon, 5 Dec 2016 16:47:02 +0000 (11:47 -0500)]
Merge pull request #12275 from xiexingguo/xxg-wip-bluestore-1202
os/bluestore: dedup omap_head, reuse nid instead
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:45:07 +0000 (11:45 -0500)]
Merge pull request #12305 from athanatos/wip-ec-rbd-fixes
osd: fixes to make rbd on ec work
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:32:11 +0000 (11:32 -0500)]
Merge pull request #12306 from athanatos/wip-ec-scrub
osd: fix ec scrub errors
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Mon, 5 Dec 2016 16:20:03 +0000 (11:20 -0500)]
Merge pull request #12212 from trociny/wip-16991
rbd-mirror: recovering after split-brain
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:18:47 +0000 (11:18 -0500)]
Merge pull request #12307 from athanatos/wip-18042
msg/simple/Pipe::stop_and_wait: unlock pipe_lock for stop_fast_dispatching()
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Ramesh Chander [Sun, 4 Dec 2016 06:24:31 +0000 (22:24 -0800)]
bitmap allocator dump functionality
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Abhishek Lekshmanan [Mon, 5 Dec 2016 14:14:12 +0000 (15:14 +0100)]
doc: release notes: add the last 5 prs making it in 10.2.4
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Loic Dachary [Mon, 5 Dec 2016 14:03:03 +0000 (15:03 +0100)]
Merge pull request #12310 from wjin/change_info
mailmap: change personal info
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Mon, 5 Dec 2016 13:47:59 +0000 (14:47 +0100)]
Merge pull request #12318 from tchaikov/wip-18128
test/ceph_crypto: do not read ceph.conf in global_init()
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Mon, 5 Dec 2016 12:28:22 +0000 (20:28 +0800)]
Merge pull request #12317 from xiexingguo/xxg-wip-dedup-perfnotes
doc/dev/perf: fix dittography
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 5 Dec 2016 12:23:21 +0000 (20:23 +0800)]
test/ceph_crypto: do not read ceph.conf in global_init()
ForkDeathTest.MD5 expect an empty output while global_init() complains
if ceph.conf is missing if 0 is passed in as the `flags`. this test
passes if ceph.conf is in current working directory, but jenkins does
not prepare this file for this test.
Fixes: http://tracker.ceph.com/issues/18128
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Mon, 5 Dec 2016 11:56:14 +0000 (19:56 +0800)]
os/bluestore: move empty-check of osr-queue out of loop
which is optimal.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 5 Dec 2016 11:10:08 +0000 (19:10 +0800)]
doc/dev/perf: fix dittography
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Mon, 5 Dec 2016 05:33:23 +0000 (13:33 +0800)]
Merge pull request #12311 from wjin/fix
src/common: remove nonused config option
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Mon, 5 Dec 2016 01:47:58 +0000 (09:47 +0800)]
os/bluestore: kill deprecated get_preferred_csum_order() method
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>