]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 4 Oct 2016 16:52:27 +0000 (12:52 -0400)]
os/bluestore: fix crash in decode_some()
shared_blob must be non-null when we call Extent::assign_blob().
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 4 Oct 2016 15:39:50 +0000 (10:39 -0500)]
Merge pull request #11295 from liewegas/wip-bluestore-cache
os/bluestore: make cache settings process-wide
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Jason Dillaman [Tue, 4 Oct 2016 15:22:53 +0000 (11:22 -0400)]
Merge pull request #11291 from trociny/wip-qa-mirror-asok
qa/workunits/rbd: check status also in pool dir after asok commands
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Tue, 4 Oct 2016 15:14:50 +0000 (11:14 -0400)]
Merge pull request #11278 from gaurav36/wip-obsolete-rgw-admin-period-prepare
rgw: obsolete 'radosgw-admin period prepare' command
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 4 Oct 2016 15:14:08 +0000 (11:14 -0400)]
unittest_bluestore_types: show sizeof for key types
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 4 Oct 2016 15:03:16 +0000 (16:03 +0100)]
Merge pull request #11307 from jcsp/wip-mgr-compile
mgr: squash compiler warnings
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Tue, 4 Oct 2016 14:59:15 +0000 (10:59 -0400)]
os/bluestore: use Extent::assign_blob
More explicit, less error-prone.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 4 Oct 2016 14:44:39 +0000 (15:44 +0100)]
Merge pull request #11299 from liewegas/wip-mgr-fix
mgr: implement con reset handling
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 4 Oct 2016 14:05:31 +0000 (15:05 +0100)]
Merge pull request #11308 from liewegas/wip-mgr-valgrind
mgr/MgrMap: initialize all fields
Reviewed-by: John Spray <john.spray@redhat.com>
Gaurav Kumar Garg [Fri, 30 Sep 2016 11:56:20 +0000 (13:56 +0200)]
rgw multisite: obsolete 'radosgw-admin period prepare' command
All that the 'radosgw-admin period prepare' command does is create an
empty period and write it to rados. When we added the staging period
(see 'period get --staging'), uncommitted changes were written to that
instead - so the 'period prepare' command became obsolete. It should be
removed!
Fixes: http://tracker.ceph.com/issues/17387
Reported-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
Sage Weil [Tue, 4 Oct 2016 13:23:27 +0000 (09:23 -0400)]
mgr/MgrMap: initialize all fields
Fixes: http://tracker.ceph.com/issues/17492
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 4 Oct 2016 13:07:50 +0000 (14:07 +0100)]
mgr: squash compiler warnings
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 4 Oct 2016 13:12:41 +0000 (14:12 +0100)]
Merge pull request #11254 from xiexingguo/xxg-wip-fs-0929
mds/MDCache: kill a comipler warning
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Jason Dillaman [Tue, 4 Oct 2016 13:05:28 +0000 (09:05 -0400)]
Merge pull request #11306 from trociny/fixup-notify_image_updated
librbd: memory leak in MirroringWatcher::notify_image_updated
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 4 Oct 2016 13:00:22 +0000 (09:00 -0400)]
Merge pull request #11303 from ceph/wip-rbd-clarify-size
doc: clarify rbd size units
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Tue, 4 Oct 2016 12:54:09 +0000 (15:54 +0300)]
librbd: memory leak in MirroringWatcher::notify_image_updated
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Tue, 4 Oct 2016 12:48:05 +0000 (08:48 -0400)]
Merge pull request #11257 from trociny/wip-17355-fixup
journal: ensure in-flight ops are complete destroying journaler
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Boris Ranto [Tue, 4 Oct 2016 11:30:18 +0000 (13:30 +0200)]
Merge pull request #11259 from b-ranto/wip-selinux-tmp-files
selinux: Allow ceph to manage tmp files
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Ilya Dryomov [Tue, 4 Oct 2016 08:21:36 +0000 (10:21 +0200)]
doc: clarify rbd size units
It wasn't clear from the man page that --size defaults to M.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Gregory Farnum [Tue, 4 Oct 2016 05:30:55 +0000 (22:30 -0700)]
Merge pull request #11218 from ceph/wip-getuid
Client: pass "UserPerm" struct everywhere for security checks
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Sage Weil [Mon, 3 Oct 2016 22:34:02 +0000 (18:34 -0400)]
os/bluestore: turn bluestore_onode_cache_size 16k -> 4k
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 22:30:15 +0000 (18:30 -0400)]
os/bluestore: drop unnecessary assert
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 22:28:37 +0000 (18:28 -0400)]
os/bluestore: instrument cache blob and extent counts
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 22:28:26 +0000 (18:28 -0400)]
unittest_bluestore_types: attach blobs to cache
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 18:52:38 +0000 (14:52 -0400)]
do_cmake.sh: set .ceph_port to random port
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 15:58:20 +0000 (11:58 -0400)]
os/bluestore: add perf counters for cache size
Onodes, buffers, buffer bytes.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 22:35:10 +0000 (18:35 -0400)]
os/bluestore: fix typo in write_penalty_read_ops perf counter
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 15:08:49 +0000 (11:08 -0400)]
os/bluestore: fix cache tunables to be process-wide
Divide by the shard count so that the user isn't totally
confused.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 22:11:57 +0000 (17:11 -0500)]
Merge pull request #11300 from liewegas/wip-bluestore-onode-add
os/bluestore: fix onode cache addition race
Sage Weil [Mon, 3 Oct 2016 21:36:50 +0000 (17:36 -0400)]
os/bluestore: fix onode cache addition race
Two threads may try to add the same onode to the cache.
This is rare, but allowed (in the case of the meta
collection). If that happens, one of them will just
back off and use the winning onode ref.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 18:42:35 +0000 (14:42 -0400)]
mgr/MgrClient: implement con reset handling
Signed-off-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Mon, 3 Oct 2016 18:13:12 +0000 (11:13 -0700)]
Merge pull request #11298 from liewegas/wip-mgr-fix
mgr/MgrClient: fix ms_handle_reset
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Mon, 3 Oct 2016 17:59:51 +0000 (13:59 -0400)]
mgr/MgrClient: fix ms_handle_reset
Return false because we don't handle the reset.
Signed-off-by: Sage Weil <sage@redhat.com>
Radoslaw Zarzynski [Mon, 3 Oct 2016 15:53:19 +0000 (17:53 +0200)]
Merge pull request #11292 from rzarzynski/yj-wip-swift-build_token-cleanup
rgw/swift: remove redundant assignment operation
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Kefu Chai [Mon, 3 Oct 2016 15:52:38 +0000 (23:52 +0800)]
Merge pull request #11019 from liewegas/wip-autotools-must-die
autotools: remove a few other remaining traces
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Mon, 3 Oct 2016 15:50:04 +0000 (11:50 -0400)]
Merge pull request #11294 from trociny/fixup-qa-rbd_mirror-metadata_set
qa/workunits/rbd: set image-meta on primary image and wait it is replicated
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 3 Oct 2016 14:26:03 +0000 (09:26 -0500)]
Merge pull request #11288 from stiopaa1/osd_replicatedpg_moveCOSDOnAppliedClass
osd/ReplicatedPG:move C_OSD_OnApplied class to cc
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Oct 2016 14:25:36 +0000 (09:25 -0500)]
Merge pull request #11289 from stiopaa1/mds_sessionmap_moveStatementUnderAssertPushPv
mds/SessionMap.h: change statement to assertion
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Mon, 3 Oct 2016 14:02:59 +0000 (17:02 +0300)]
qa/workunits/rbd: set image-meta on primary image and wait it is replicated
After recently added image metadata replication it is not possible any
more to update it on non-primary image.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Thu, 29 Sep 2016 16:33:16 +0000 (12:33 -0400)]
run-make-check.sh: use cmake exclusively
..and drop the separate cmake script
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 8 Sep 2016 15:04:13 +0000 (11:04 -0400)]
make-debs.sh: use make-dist
Signed-off-by: Sage Weil <sage@redhat.com>
Yan Jun [Sat, 23 Jul 2016 07:09:51 +0000 (15:09 +0800)]
rgw/swift: remove redundant assignment operation
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Loic Dachary [Mon, 3 Oct 2016 09:43:29 +0000 (11:43 +0200)]
Merge pull request #11086 from bassamtabbara/wip-ec-simd-runtime-detection
erasure-code: Runtime detection of SIMD for jerasure and shec
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Mon, 3 Oct 2016 07:10:33 +0000 (10:10 +0300)]
qa/workunits/rbd: check status also in pool dir after asok commands
wait_for_image_replay_stopped returns not when the state is stopped,
but when the state is not replaying. So a race was possible when an
asok command was running when the previos stop command was still in
progress, leading to unexpected results.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Michal Jarzabek [Sun, 2 Oct 2016 09:30:20 +0000 (10:30 +0100)]
mds/SessionMap.h: change statement to assertion
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Michal Jarzabek [Sat, 1 Oct 2016 16:49:34 +0000 (17:49 +0100)]
osd/ReplicatedPG:move C_OSD_OnApplied class to cc
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Mykola Golub [Sat, 1 Oct 2016 08:21:21 +0000 (11:21 +0300)]
journal: ensure in-flight ops are complete destroying journaler
Fixes: http://tracker.ceph.com/issues/17446
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Thu, 29 Sep 2016 13:55:22 +0000 (16:55 +0300)]
journal: complete action only after notification completed
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Dan Mick [Fri, 30 Sep 2016 22:40:35 +0000 (15:40 -0700)]
Merge pull request #11285 from liewegas/wip-mgr-rpm
ceph.spec: fix ceph-mgr version requirement
Reviewed-by: Dan Mick <dmick@redhat.com>
Greg Farnum [Wed, 28 Sep 2016 06:45:56 +0000 (23:45 -0700)]
client: in UserPerm, correctly use delete[] and don't leak gids on copy
gids is an array. We also need to clean it up when deep_copy()ing, which
requires initializing our member fields in the copy-constructor.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Fri, 30 Sep 2016 22:13:33 +0000 (18:13 -0400)]
ceph.spec: fix ceph-mgr version requirement
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 21:17:57 +0000 (16:17 -0500)]
Merge pull request #11282 from liewegas/wip-bluestore-gc-fix
os/bluestore: fix gc when blob extends past eof
Sage Weil [Fri, 30 Sep 2016 21:06:47 +0000 (17:06 -0400)]
os/bluestore: fix gc when blob extends past eof
This can happen if we aren't referencing the bob. Don't try to
read what isn't logically referenced.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 18:50:08 +0000 (13:50 -0500)]
Merge pull request #11279 from liewegas/wip-bluestore-gc
os/bluestore: compaction fixes
Sage Weil [Fri, 30 Sep 2016 18:49:35 +0000 (14:49 -0400)]
os/bluestore: fix compaction left-side length
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 18:32:31 +0000 (14:32 -0400)]
os/bluestore: more concise SharedBlob print
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 18:23:32 +0000 (14:23 -0400)]
os/bluestore: cosmetic gc cleanups
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 17:57:02 +0000 (12:57 -0500)]
Merge pull request #11271 from stiopaa1/osd_repicatedpg_addOverride
osd/ReplicatedPG.h: add override to virtual funct
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 17:47:58 +0000 (12:47 -0500)]
Merge pull request #11239 from liewegas/wip-bluestore-max-blob
os/bluestore: add max blob size; fix compressed min blob size logic
Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
Sage Weil [Tue, 27 Sep 2016 17:59:29 +0000 (13:59 -0400)]
os/bluestore: set min compressed blob size floor at 2x min_alloc_size
Otherwise there's not point in compressing--we won't be able to
allocation a smaller space to store it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Sep 2016 16:26:13 +0000 (12:26 -0400)]
os/bluestore: introduce bluestore_max_blob_size
This is enforced for compressed and non-compressed blobs alike.
We keep the separate compressoin min and max tunables since these
may be adjusted on a per-pool basis as well.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Sep 2016 16:20:44 +0000 (12:20 -0400)]
os/bluestore: adjust compression blob sizes down
These were way too big. 64KB is enough to get good compression,
and 4MB is way too big.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 17:45:36 +0000 (13:45 -0400)]
os/bluestore: fix blob depth encoding
1) Fix the flag constnat
2) Redefine the meaning to be more intuitive.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 14:43:33 +0000 (09:43 -0500)]
Merge pull request #11232 from Roushan81/wip-bluestore-blob-gc
os/bluestore: garbage collect partially overlapped blobs
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Sep 2016 14:41:46 +0000 (09:41 -0500)]
Merge pull request #11263 from liewegas/wip-bluestore-reshard-slop
os/bluestore: sloppy reshard boundaries to avoid spanning blobs
Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
Sage Weil [Fri, 30 Sep 2016 14:21:37 +0000 (09:21 -0500)]
Merge pull request #11275 from xiexingguo/xxg-wip-make-audit-buffer-option
os/bluestore: drop redundant call of get_blob
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Fri, 30 Sep 2016 09:08:51 +0000 (17:08 +0800)]
os/bluestore: drop redundant call of get_blob
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 30 Sep 2016 13:51:39 +0000 (08:51 -0500)]
Merge pull request #11268 from liewegas/wip-bluefs-aio-leak
os/bluestore/BlueFS: release completed aios
Jason Dillaman [Fri, 30 Sep 2016 13:39:58 +0000 (09:39 -0400)]
Merge pull request #11005 from jazeltq/add-sparse-read
rbd-mirror: Add sparse read for sync image
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 30 Sep 2016 13:37:50 +0000 (09:37 -0400)]
Merge pull request #11168 from trociny/wip-16212
rbd-mirror: replicate image metadata settings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 30 Sep 2016 13:31:35 +0000 (08:31 -0500)]
Merge pull request #11274 from xiexingguo/xxg-wip-bluestore-0930
os/bluestore: still more cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Fri, 30 Sep 2016 11:41:37 +0000 (12:41 +0100)]
Merge pull request #11136 from jcsp/wip-16016
mds: populate DamageTable from scrub and log more quietly
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Orit Wasserman [Fri, 30 Sep 2016 08:41:25 +0000 (10:41 +0200)]
Merge pull request #11270 from ceph/wip-17443
rgw: set correct instance on the object
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Kefu Chai [Fri, 30 Sep 2016 07:34:04 +0000 (15:34 +0800)]
Merge pull request #10328 from jcsp/wip-ceph-mgr
Create ceph-mgr
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Fri, 30 Sep 2016 06:53:28 +0000 (14:53 +0800)]
os/bluestore: avoid comparing object key and name twice
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 30 Sep 2016 06:28:02 +0000 (14:28 +0800)]
os/bluestore: use id of shard_id_t for encoding
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 30 Sep 2016 05:58:15 +0000 (13:58 +0800)]
os/bluestore: kill struct DeferredCsum
Which is dead, and kill some other dead lines too.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Michal Jarzabek [Thu, 29 Sep 2016 20:29:35 +0000 (21:29 +0100)]
osd/ReplicatedPG.h: add override to virtual funct
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Roushan Ali [Tue, 20 Sep 2016 09:55:55 +0000 (02:55 -0700)]
os/bluestore: add garbage collection
Signed-off-by: Roushan Ali <roushan.ali@sandisk.com>
Sage Weil [Fri, 30 Sep 2016 02:22:04 +0000 (21:22 -0500)]
Merge pull request #11267 from liewegas/wip-bluestore-ref-map
os/bluestore/bluestore_types: uint64_t for ref_map
Yehuda Sadeh [Fri, 30 Sep 2016 01:35:59 +0000 (18:35 -0700)]
rgw: set correct instance on the object
Fixes: http://tracker.ceph.com/issues/17443
This was broken by commit
bc840afafdfe5e528e5c1b711e71420ac3cb5a67
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Thu, 29 Sep 2016 22:05:20 +0000 (18:05 -0400)]
os/bluestore/BlueFS: be less complainy about fallback allocations
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 21:46:42 +0000 (17:46 -0400)]
ceph_test_objecstore: use 1TB block device
Big enough to get into 32-bit LBAs.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 21:43:04 +0000 (17:43 -0400)]
os/bluestore/bluestore_types: uint64_t for ref_map
We use this to track raw extents on disk for SharedBlob. We
also use it for the in-memory Blob with the blob namespace, but
using uint64_t intead of uint32_t doesn't hurt us there.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 21:05:53 +0000 (17:05 -0400)]
os/bluestore/BlueFS: release completed aios
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 20:17:09 +0000 (15:17 -0500)]
Merge pull request #11266 from stiopaa1/osd_passSharedPtrByConstRef
osd: pass shared_ptr by const reference
Reviewed-by: Sage Weil <sage@redhat.com>
Bassam Tabbara [Thu, 29 Sep 2016 19:26:43 +0000 (12:26 -0700)]
Fix test-erasure-code-plugins.sh test on ARM
The ISA plugin is not available on ARM, this test now excludes it.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Thu, 22 Sep 2016 19:25:16 +0000 (12:25 -0700)]
erasure-code: improve non-regression testing
Pickup new ec corpus with improved testing.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Wed, 21 Sep 2016 13:47:08 +0000 (06:47 -0700)]
doc: Updated PendingReleaseNotes.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Wed, 21 Sep 2016 14:00:01 +0000 (07:00 -0700)]
erasure-code: Backward compatibility with legacy EC plugins
Resurrected jerasure_generic, jerasure_sse3, jerasure_sse4, jerasure_neon,
shec_generic, shec_sse3, shec_sse4 and shec_neon. These all are exact
copies of the new jerasure and shec plugins that support SIMD detection.
Moved EC preload code in ceph-mon and ceph-osd to a central location, added
warning when preloading legacy plugins.
OSMonitor::get_erasure_code and OSDMonitor:normalize_profile will now check
if legacy EC plugins are used and log a warning.
Added tests to check that warnings make it to the log.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Mon, 19 Sep 2016 18:19:37 +0000 (11:19 -0700)]
erasure-code: Move the EC factory code into separate header files
This helps the EC factories be invokable directly for testing
and other uses.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Thu, 22 Sep 2016 19:41:58 +0000 (12:41 -0700)]
cmake: normalize use of SIMD flags
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Thu, 22 Sep 2016 19:40:52 +0000 (12:40 -0700)]
erasure-code: Remove SIMD flavors for jerasure and shec
By switching to a new gf-complete with SIMD runtime detection, we can now remove all the different flavors of jerasure and shec. This simplifies deployment and configuration of erasure coding, enables hetergenous OSDs, and enables us to take advantage of new performance improvements in jerasure without config/build changes.
This commit removes flavors from cmake, removes ErasureCodePluginSelect___, and fixes unit tests. There is now a single plugin for jerasure and a single plugin for shec.
SIMDExt.cmake was changed so that its a little more generic, and is not polluted with gf-complete specific CFLAG defines. The #define for SIMD instruction were based on gf-complete.
I also added a small init helper for jerasure that has code that was common between jerasure and shec.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Tue, 20 Sep 2016 19:29:49 +0000 (12:29 -0700)]
erasure-code: Pickup gf-complete v3 with runtime SIMD detection
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Tue, 20 Sep 2016 19:28:48 +0000 (12:28 -0700)]
build/ops: remove autoconf leftover
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Sage Weil [Thu, 8 Sep 2016 15:04:08 +0000 (11:04 -0400)]
remove do_autogen.sh
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 27 Sep 2016 13:19:08 +0000 (14:19 +0100)]
pybind/mgr/rest: remove unused DebugJob
This dates back from the Calamari/Salt days.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 27 Sep 2016 13:17:26 +0000 (14:17 +0100)]
pybind/mgr/rest: fix "sync_object" API endpoint
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 26 Sep 2016 23:03:28 +0000 (00:03 +0100)]
vstart: include cython mods in PYTHONPATH
This is useful for ceph-mgr because it means that
any in-mgr modules that want to use e.g. rbd
can find it when running in a vstart cluster.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 26 Sep 2016 22:47:53 +0000 (23:47 +0100)]
mgr: remove hardcoded site-packages
Signed-off-by: John Spray <john.spray@redhat.com>