]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 20 Dec 2016 14:43:29 +0000 (08:43 -0600)]
Merge pull request #12574 from liewegas/wip-bluestore-split
os/bluestore: preserve source collection cache during split
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Mykola Golub [Tue, 20 Dec 2016 11:10:55 +0000 (13:10 +0200)]
Merge pull request #12472 from dillaman/wip-18244
librbd: remove image header lock assertions
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Tue, 20 Dec 2016 03:26:41 +0000 (21:26 -0600)]
Merge pull request #12532 from ifed01/wip-bluestore-large-onode-test
os/bluestore: add UT for an estimation of Onode in-memory size
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 20 Dec 2016 03:18:19 +0000 (21:18 -0600)]
Merge pull request #12505 from ceph/wip-jlayton-submount
client: set metadata["root"] from mount method when it's called with …
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Tue, 20 Dec 2016 03:17:19 +0000 (21:17 -0600)]
Merge pull request #12570 from wjwithagen/patch-9
common/str_list.h: fix clang warning about std::move
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 20 Dec 2016 03:15:37 +0000 (21:15 -0600)]
Merge pull request #12541 from liewegas/wip-bluestore-omap-flush
os/bluestore: include modified objects in flush list even if onode unchanged
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 19 Dec 2016 22:04:26 +0000 (17:04 -0500)]
os/bluestore: preserve source collection cache during split
OSD split transactions look something like
mkcoll new
split old
...
omap_rmkey_range old
omap_setkeys old
omap_setkeys new
The last part splits the log into two pieces. The
problem is that the rmkey_range needs to wait on old
omap transactions to flush, and those are linked to the
old onode, and split clears the cache. The result is
that we don't wait, rmkeyrange leaves some recent pg log
keys behind, and on OSD restart we get an error because
the object doesn't belong to the (old) collection.
Fix this by preserving objects in the old collection and
only clear out objects that are moving to the newly
split collections. This will include the pgmeta object
that we care about.
(Note that we are one step closer to preserving the
cache contents across the split, but not quite there
yet: at this point we don't have all of the destination
collections. A change in the ObjectStore interface is
probably needed to make that not be extremely awkward.)
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 19 Dec 2016 21:50:15 +0000 (13:50 -0800)]
Merge pull request #12571 from athanatos/wip-15943
osd: Fix map gaps again (bug 15943)
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
vasukulkarni [Mon, 19 Dec 2016 20:25:38 +0000 (12:25 -0800)]
Merge pull request #12572 from liewegas/wip-python-rados-test
qa/workunits: include extension for nose tests
Sage Weil [Mon, 19 Dec 2016 20:15:03 +0000 (14:15 -0600)]
Merge pull request #12568 from ifed01/wip-bluestore-onode-diet2
os/bluestore: reduce Onode in-memory footprint
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Dec 2016 20:13:32 +0000 (14:13 -0600)]
Merge pull request #12555 from socketpair/usr_bin
systemd: Fix startup of ceph-mgr on Debian 8
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Dec 2016 20:13:10 +0000 (14:13 -0600)]
Merge pull request #12355 from chhabaramesh/bit_alloc_mempool
os/bluestore: simplified allocator interfaces to single apis
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Dec 2016 19:08:11 +0000 (14:08 -0500)]
qa/workunits: include extension for nose tests
When you have a relative path you have to include the extension.
Weird.
Signed-off-by: Sage Weil <sage@redhat.com>
jtlayton [Mon, 19 Dec 2016 18:26:27 +0000 (13:26 -0500)]
Merge pull request #12412 from ceph/wip-jlayton-suid
client/mds: Clear setuid bits when writing or truncating
Willem Jan Withagen [Mon, 19 Dec 2016 16:29:38 +0000 (17:29 +0100)]
Clang/str_list.h: fix clang warning about std::move
/home/jenkins/workspace/ceph-master/src/include/str_list.h:99:10: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
return std::move(str_vec);
^
/home/jenkins/workspace/ceph-master/src/include/str_list.h:99:10: note: remove std::move call here
return std::move(str_vec);
^~~~~~~~~~ ~
1 warning generated.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Jason Dillaman [Mon, 19 Dec 2016 15:33:24 +0000 (10:33 -0500)]
Merge pull request #12565 from trociny/wip-18247-fixup
common: fix clang compilation error
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Igor Fedotov [Mon, 19 Dec 2016 14:37:06 +0000 (14:37 +0000)]
os/bluestore: remove duplicate sbid member for Blob, use one from shared_blob member
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Mon, 19 Dec 2016 14:00:05 +0000 (14:00 +0000)]
os/bluestore: declare a member for Blob's cached bufferlist if explicitly enabled by CACHE_BLOG_BL macro only
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Mon, 19 Dec 2016 12:55:09 +0000 (12:55 +0000)]
os/bluestore: recalculate shared blob key instead of keeping it in memory
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Mon, 19 Dec 2016 15:03:44 +0000 (10:03 -0500)]
os/bluestore: include modified objects in flush list even if onode unchanged
We use the onode flush list so that we can ->flush() as
a barrier before doing any read/modify/write. For
example, omap_rmkeyrange will flush before reading to
see what keys to erase in order to ensure that any
previous inserts are applied to the db and we see them
and remove them.
However, some omap operations don't update the onode
itself, which means write_onode() doesn't get called and
we aren't put on this list.
Add a note_modified_object() helper that can be called
instead of write_onode() for those cases. That way we
get on the list and flush() works as expected.
We could have resolved this by just putting ourselves on
the dirty onode list, but in practice every OSD op is
writing omap keys to the pgmeta object and there is no
need to touch the onode key in this case, so doing so
would be a big regression.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Dec 2016 14:44:27 +0000 (08:44 -0600)]
Merge pull request #12548 from Liuchang0812/add-document-rgw
doc: explain rgw_fcgi_socket_backlog in rgw/config-ref.rst
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Dec 2016 14:38:43 +0000 (08:38 -0600)]
Merge pull request #12561 from kylinstorage/wip-fix-osdmaptool-zero
osdmaptool: fix divide by zero error
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Mon, 19 Dec 2016 13:58:59 +0000 (15:58 +0200)]
Merge pull request #12497 from dillaman/wip-18243
journal: prevent repetitive error messages after being blacklisted
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Ramesh Chander [Mon, 19 Dec 2016 04:13:58 +0000 (20:13 -0800)]
remove unused wait argument and related function versions
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Mykola Golub [Mon, 19 Dec 2016 06:44:22 +0000 (08:44 +0200)]
common: fix clang compilation
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Yunchuan Wen [Mon, 19 Dec 2016 04:48:14 +0000 (12:48 +0800)]
osdmaptool: fix divide by zero error
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
Haomai Wang [Mon, 19 Dec 2016 01:59:51 +0000 (09:59 +0800)]
Merge pull request #12558 from Adirl/fix_bad_len_msg
msg/async/rdma: fix bad message that went to the user
Reviewed-by: Haomai Wang <haomai@xsky.com>
Ramesh Chander [Sun, 18 Dec 2016 18:23:42 +0000 (10:23 -0800)]
zone block offset bug fix and related unit test case
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
zone block offset related test case
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Ramesh Chander [Fri, 16 Dec 2016 14:58:53 +0000 (06:58 -0800)]
allocat_extent api rename and tests for new api
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Ramesh Chander [Fri, 16 Dec 2016 09:38:46 +0000 (01:38 -0800)]
remove cont alloc alloc_blocks calls from allocator code and test
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Ramesh Chander [Fri, 16 Dec 2016 07:41:11 +0000 (23:41 -0800)]
consolidate allocator calls to single alloc_extent api
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Ramesh Chander [Wed, 14 Dec 2016 06:41:25 +0000 (22:41 -0800)]
allocator min_alloc arguments in call stack and tests
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Ramesh Chander [Tue, 13 Dec 2016 14:50:59 +0000 (06:50 -0800)]
allocator alloc_extents min_alloc
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Ramesh Chander [Wed, 7 Dec 2016 06:04:30 +0000 (22:04 -0800)]
os/bluestore:Bluefs balance should use alloc_extent api with bluefs_alloc_size
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Avner BenHanoch [Tue, 6 Dec 2016 09:38:36 +0000 (09:38 +0000)]
msg/async/rdma: fix bad message that went to the user
1. the printed value of "bad length" was incorrect, because 'r' was changed before the log line.
2. log appeared to user as error even though everything was calm; hence, reducing its severity
issue: 914840
Change-Id: I41520d27fc53fbbe07b61dd915e16448b87769d5
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>
Mark Korenberg [Sun, 18 Dec 2016 12:54:13 +0000 (17:54 +0500)]
Fix startup of Ceph cluster manager daemon on Debian 8
Signed-off-by: Mark Korenberg <socketpair@gmail.com>
Loic Dachary [Sun, 18 Dec 2016 08:59:23 +0000 (09:59 +0100)]
Merge pull request #12531 from dachary/wip-18291-bluestore
ceph-disk: do not create bluestore wal/db partitions by default
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Fri, 16 Dec 2016 15:23:03 +0000 (16:23 +0100)]
ceph-disk: do not create bluestore wal/db partitions by default
Fixes: http://tracker.ceph.com/issues/18291
Signed-off-by: Loic Dachary <loic@dachary.org>
liuchang0812 [Sat, 17 Dec 2016 14:49:42 +0000 (22:49 +0800)]
doc: explain rgw_fcgi_socket_backlog in rgw/config-ref.rst
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Xie Xingguo [Sat, 17 Dec 2016 04:54:32 +0000 (12:54 +0800)]
Merge pull request #12458 from Liuchang0812/add-more-log-for-network-error
osd: enhance logging for osd network error
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
liuchang0812 [Tue, 13 Dec 2016 08:06:14 +0000 (16:06 +0800)]
ods: enhance logging for osd network error
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Sage Weil [Fri, 16 Dec 2016 23:40:47 +0000 (17:40 -0600)]
Merge pull request #12343 from liewegas/wip-bluestore-release
os/bluestore: simplify allocator release flow
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 23:40:30 +0000 (17:40 -0600)]
Merge pull request #12351 from xiexingguo/xxg-wip-bluestore-1207
os/bluestore: clear omap flag if parent has none
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 23:40:06 +0000 (17:40 -0600)]
Merge pull request #12353 from xiexingguo/xxg-wip-bluestore-1207-01
os/bluestore: don't implicitly create the source object for clone
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 23:39:44 +0000 (17:39 -0600)]
Merge pull request #12466 from kylinstorage/wip-remove-unused-class-declaration
remove unused declaration
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 23:38:32 +0000 (17:38 -0600)]
Merge branch 'master' into wip-remove-unused-class-declaration
Sage Weil [Fri, 16 Dec 2016 21:38:24 +0000 (15:38 -0600)]
Merge pull request #12538 from liewegas/wip-workunits
qa/tasks/workunit: retry on ceph.git if checkout fails
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 16 Dec 2016 20:08:59 +0000 (14:08 -0600)]
Merge pull request #12534 from liewegas/wip-truncate-fix
osd/PrimaryLogPG: don't truncate if we don't have to for WRITEFULL
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 20:06:16 +0000 (15:06 -0500)]
qa/tasks/workunit: retry on ceph.git if checkout fails
Signed-off-by: Sage Weil <sage@redhat.com>
Mykola Golub [Fri, 16 Dec 2016 19:15:02 +0000 (21:15 +0200)]
Merge pull request #12486 from dillaman/wip-18247
librbd: keep rbd_default_features setting as bitmask
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Fri, 16 Dec 2016 17:46:38 +0000 (11:46 -0600)]
Merge pull request #12514 from vasukulkarni/wip-cd-shaman
qa/tasks/ceph_deploy: use dev option instead of dev-commit
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Fri, 16 Dec 2016 03:07:03 +0000 (19:07 -0800)]
ReplicatedPG: don't truncate if we don't have to for WRITEFULL
Signed-off-by: Samuel Just <sjust@redhat.com>
Yehuda Sadeh [Fri, 16 Dec 2016 16:42:10 +0000 (08:42 -0800)]
Merge pull request #10160 from jmunhoz/bugfix-16463-presigned-url
rgw: aws4: add presigned url bugfix in runtime
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Fri, 16 Dec 2016 16:24:42 +0000 (10:24 -0600)]
Merge pull request #12530 from liewegas/wip-bluestore-ceph-disk
ceph-disk: adjust bluestore default device sizes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Igor Fedotov [Fri, 16 Dec 2016 16:14:54 +0000 (16:14 +0000)]
test: add mempool dump to Onode size tracking test case
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Fri, 16 Dec 2016 13:57:05 +0000 (13:57 +0000)]
os/bluestore: add an estimation for Onode in-memory size
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Fri, 16 Dec 2016 15:27:09 +0000 (09:27 -0600)]
Merge pull request #12516 from hjwsm1989/fix-rpg
osd/PG: fix the unreadable log in choose_acting
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 15:24:24 +0000 (09:24 -0600)]
Merge pull request #12521 from kylinstorage/wip-for-coverity
osd/osdmap: fix divide by zero error
Reviewed-by: Sage Weil <sage@redhat.com>
Jeff Layton [Fri, 16 Dec 2016 15:19:18 +0000 (10:19 -0500)]
client: set metadata["root"] from mount method when it's called with a pathname
Currently, we only set the root properly config file or the
--client_metadata command line option. If a userland client program
tries to call ceph_mount with a pathname, it's not being properly
set.
Since we already hold the mutex, we can just update it directly.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Sage Weil [Fri, 16 Dec 2016 15:02:12 +0000 (09:02 -0600)]
Merge pull request #12507 from ifed01/wip-bluestore-fix-cache
os/bluestore: fix target_buffer value overflow in Cache::trim()
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Jason Dillaman [Fri, 16 Dec 2016 14:47:40 +0000 (09:47 -0500)]
Merge pull request #12525 from trociny/wip-18261
rbd: fix json formatting for image and journal status output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 16 Dec 2016 14:45:16 +0000 (09:45 -0500)]
ceph-disk: default DB size of 20GB
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Dec 2016 14:45:06 +0000 (09:45 -0500)]
ceph-disk: default WAL size of 576 MB
Enough for 2 256MB write buffers, and then some.
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Wed, 14 Dec 2016 18:13:15 +0000 (13:13 -0500)]
librbd: keep rbd_default_features setting as bitmask
Support both human readable, comma delimited list of feature
names and also integer bitmask value. Attempting to read the
setting will always result in the feature bitmask integer
value.
This is required to avoid breaking backwards compatibility with
librbd clients that are dependent on the older behavior (e.g.
OpenStack).
Fixes: http://tracker.ceph.com/issues/18247
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 16 Dec 2016 14:21:26 +0000 (09:21 -0500)]
Merge pull request #12407 from majianpeng/rbd-stripe-unit
rbd : make option --stripe-unit w/ B/K/M work
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 16 Dec 2016 13:45:48 +0000 (08:45 -0500)]
Merge pull request #12484 from runsisi/wip-fix-rollback-warn
librbd: ignore error when object map is already locked by current client
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Fri, 16 Dec 2016 10:50:50 +0000 (12:50 +0200)]
rbd: fix json formatting for image and journal status output
Fixes: http://tracker.ceph.com/issues/18261
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Jianpeng Ma [Fri, 16 Dec 2016 09:56:04 +0000 (17:56 +0800)]
rbd: make option --stripe-unit w/ B/K/M work.
As 'man rbd' said: --stripe-unit size-in-B/K/M. But w/ B/K/M, the
command failed and said invalid options. So fix it.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Yunchuan Wen [Fri, 16 Dec 2016 09:28:35 +0000 (17:28 +0800)]
osdmap: fix divide by zero error
*** CID
1397255 : Incorrect expression (DIVIDE_BY_ZERO)
/home/brad/working/src/ceph/src/osd/OSDMap.cc: 2995 in
OSDMap::summarize_mapping_stats(OSDMap*, const std::set<long,
std::less<long>, std::allocator<long>> *,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char>> *, ceph::Formatter *) const()
2989 f->open_object_section("utilization");
2990 if (newmap) {
2991 if (f) {
2992 f->dump_unsigned("moved_pgs", moved_pg);
2993 f->dump_unsigned("total_pgs", total_pg);
2994 } else {
>>> CID
1397255 : Incorrect expression (DIVIDE_BY_ZERO)
>>> In expression "(float)moved_pg * 100. / (float)total_pg",
division by expression "total_pg" which may be zero has undefined
behavior.
2995 ss << "moved " << moved_pg << " / " << total_pg
2996 << " (" << ((float)moved_pg * 100.0 / (float)total_pg) <<
"%)\n";
2997 }
2998 }
2999 if (f) {
3000 f->dump_float("avg_pgs", avg_pg);
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
huangjun [Fri, 16 Dec 2016 07:35:02 +0000 (15:35 +0800)]
osd/PG: fix the unreadable log in choose_acting
To avoid the log like: failed to fill position ^B
Signed-off-by: huangjun <hjwsm1989@gmail.com>
runsisi [Wed, 14 Dec 2016 07:18:18 +0000 (15:18 +0800)]
librbd: ignore error when object map is already locked by current client
otherwise when using rbd cli to rollback image with object-map feature
enabled, the following error message will be printed out on the screen,
which is confusing to users:
librbd::object_map::LockRequest: failed to lock object map: (17) File exists
Fixes: http://tracker.ceph.com/issues/16179
Signed-off-by: runsisi <runsisi@zte.com.cn>
Javier M. Mellid [Mon, 1 Aug 2016 19:00:28 +0000 (21:00 +0200)]
rgw: aws4: add rgw_s3_auth_aws4_force_boto2_compat conf option
Runtime bugfix to handle presigned urls computed with canonical requests using
the port number once.
Boto2 computes canonical requests using the port number twice although it
should be used once only. This behaviour is a bug supported by AWS S3. Boto2 is
used in RGW S3 as reference implementation.
The client-side tools not supporting this boto2 bug will fail although they
should work too.
In order to support both presigned url implementations this patch adds a config
option to compute a second signature. With this option disabled, the code will
compute two signatures when the first signature is not valid. The aws4 auth
succeed if some of the two signatures is valid.
The config option rgw_s3_auth_aws4_force_boto2_compat, is enabled by default so
one signature, working with boto2, is computed only.
Fixes: http://tracker.ceph.com/issues/16463
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Yuri Weinstein [Thu, 15 Dec 2016 22:41:34 +0000 (14:41 -0800)]
Merge pull request #12463 from wjwithagen/wip-wjw-freebsd-osd-avoidports
FreeBSD/OSD.cc: add client_messenger to the avoid_ports set.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Vasu Kulkarni [Thu, 15 Dec 2016 22:11:00 +0000 (14:11 -0800)]
use dev option instead of dev-commit
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Samuel Just [Thu, 15 Dec 2016 22:00:22 +0000 (14:00 -0800)]
Merge pull request #12500 from badone/wip-doc-PGPool
doc/dev/osd_internals: add pgpool.rst
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Thu, 15 Dec 2016 20:15:31 +0000 (14:15 -0600)]
Merge pull request #12511 from liewegas/wip-workunits
qa/workunits/rbd: fix
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Thu, 15 Dec 2016 20:10:28 +0000 (15:10 -0500)]
qa/workunits: use relative path instead of wget from git
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Dec 2016 19:53:10 +0000 (13:53 -0600)]
Merge pull request #12508 from liewegas/wip-qa-admin-socket
qa/tasks/admin_socket: subst in repo name
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>
Sage Weil [Tue, 6 Dec 2016 19:32:52 +0000 (14:32 -0500)]
os/bluestore: clone_range of len 0 creates but does not size object
This mimics, roughly,
open(..., O_WRONLY|O_CREAT, ...)
seek(...)
if (len > 0)
write(...)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 17:28:19 +0000 (12:28 -0500)]
os/bluestore: remove commit_{start,finish} from Allocator
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 17:23:30 +0000 (12:23 -0500)]
os/bluestore/BlueFS: do not call commit_{start,finish}
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 17:21:56 +0000 (12:21 -0500)]
os/bluestore/BlueFS: defer releasing extents explicitly
Don't rely on the Allocator to do this for us (that is
about to go away!).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 17:23:37 +0000 (12:23 -0500)]
os/bluestore: do not call commit_{start,finish}
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 17:29:11 +0000 (12:29 -0500)]
os/bluestore: defer bluefs reclaimed extent release
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Dec 2016 17:09:49 +0000 (12:09 -0500)]
os/bluestore: release alloc directly into usable pool
Wait until after the kv transaction commits, and then
release extents directly into the usable pool.
This will let us remove the commit_{start,end} business.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Dec 2016 18:26:14 +0000 (13:26 -0500)]
qa/tasks/workunit.py: add CEPH_BASE env var
Root of git checkout
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Dec 2016 18:25:23 +0000 (13:25 -0500)]
qa/tasks/workunit: leave workunits inside git checkout
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 12 Dec 2016 18:35:38 +0000 (10:35 -0800)]
PG: fix cached_removed_snaps bug in PGPool::update after map gap
5798fb3bf6d726d14a9c5cb99dc5902eba5b878a actually made 15943 worse
by always creating an out-of-date cached_removed_snaps value after
a map gap rather than only in the case where the the first map after
the gap did not remove any snapshots.
Introduced:
5798fb3bf6d726d14a9c5cb99dc5902eba5b878a
Fixes: http://tracker.ceph.com/issues/15943
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 14 Dec 2016 23:48:59 +0000 (15:48 -0800)]
qa/config/rados.yaml: enable osd_debug_verify_cached_snaps
Also, make map gaps more likely.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 12 Dec 2016 18:33:13 +0000 (10:33 -0800)]
PG::handle_advance_map: add debugging option to verify cached_removed_snaps
Signed-off-by: Samuel Just <sjust@redhat.com>
Sage Weil [Thu, 15 Dec 2016 18:35:02 +0000 (13:35 -0500)]
qa/tasks/admin_socket: subst in repo name
It is either ceph.git or ceph-ci.git.
Signed-off-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Thu, 15 Dec 2016 16:22:16 +0000 (16:22 +0000)]
os/bluestore: fix target_buffer value overflow in Cache::trim() when metadata_ratio is set to 1
Signed-off-by: Igor Fedotov<ifedotov@mirantis.com>
Jason Dillaman [Thu, 15 Dec 2016 16:03:08 +0000 (11:03 -0500)]
Merge pull request #12396 from xiaoxichen/fix_diff
librbd: use proper snapshot when computing diff parent overlap
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Thu, 15 Dec 2016 16:01:04 +0000 (10:01 -0600)]
Merge pull request #12482 from badone/wip-librados-objectcursor-leak
librados: Memory leaks in object_list_begin and object_list_end
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Dec 2016 16:00:47 +0000 (10:00 -0600)]
Merge pull request #12286 from dillaman/wip-18123
rados: optionally support reading omap key from file
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 15 Dec 2016 16:00:26 +0000 (10:00 -0600)]
Merge pull request #12462 from XinzeChi/wip-blk-link
common/blkdev: use realpath instead of readlink to resolve the recurs…
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Dec 2016 15:40:23 +0000 (09:40 -0600)]
Merge pull request #12488 from liewegas/wip-bluestore-enc
os/bluestore: fix ondisk encoding for blobs
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Varada Kari [Thu, 15 Dec 2016 10:03:49 +0000 (15:33 +0530)]
os/bluestore/bluestore_types: bluestore_onode_t: varint encoding
Changing the uint32_t encoding to varint encoding saves around 120 bytes
per onode.
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Xie Xingguo [Thu, 15 Dec 2016 10:22:50 +0000 (18:22 +0800)]
Merge pull request #12502 from kylinstorage/wip-ctypos2
fix typos
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>