]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoqa/workunits: reduce amount of client IO for rbd-mirror stress 11326/head
Jason Dillaman [Wed, 5 Oct 2016 01:29:31 +0000 (21:29 -0400)]
qa/workunits: reduce amount of client IO for rbd-mirror stress

Journal IO is faster now, resulting in OSDs quickly filling up
under the stress test case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: potential race allocating tag during shut down
Jason Dillaman [Tue, 4 Oct 2016 16:22:06 +0000 (12:22 -0400)]
rbd-mirror: potential race allocating tag during shut down

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: ignore attempts to request lock if already lock owner
Jason Dillaman [Fri, 30 Sep 2016 16:32:37 +0000 (12:32 -0400)]
librbd: ignore attempts to request lock if already lock owner

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: clean up object recorder closed/overflow callback
Jason Dillaman [Fri, 30 Sep 2016 16:59:16 +0000 (12:59 -0400)]
journal: clean up object recorder closed/overflow callback

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: delay moving overflowed buffers until quiesced
Jason Dillaman [Thu, 29 Sep 2016 12:36:53 +0000 (08:36 -0400)]
journal: delay moving overflowed buffers until quiesced

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: use reverse iterator search to find flush record
Jason Dillaman [Thu, 29 Sep 2016 12:19:52 +0000 (08:19 -0400)]
journal: use reverse iterator search to find flush record

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: avoid holding lock while sending journal append
Jason Dillaman [Wed, 28 Sep 2016 12:35:36 +0000 (08:35 -0400)]
journal: avoid holding lock while sending journal append

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10223 from mikulely/doc-s3-static-website-support
Yehuda Sadeh [Wed, 5 Oct 2016 00:12:30 +0000 (17:12 -0700)]
Merge pull request #10223 from mikulely/doc-s3-static-website-support

doc: update s3 static webiste feature support status

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #11325 from yehudasa/wip-17499
Yehuda Sadeh [Wed, 5 Oct 2016 00:02:51 +0000 (17:02 -0700)]
Merge pull request #11325 from yehudasa/wip-17499

rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_…

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3... 11325/head
weiqiaomiao [Sat, 4 Jun 2016 09:21:33 +0000 (17:21 +0800)]
rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3::send_response()' function

Fixes: http://tracker.ceph.com/issues/17499
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
8 years agoMerge pull request #10820 from yanghonggang/master
Yehuda Sadeh [Tue, 4 Oct 2016 23:20:51 +0000 (16:20 -0700)]
Merge pull request #10820 from yanghonggang/master

rgw: fix get object instance  returned NoSuchKey error

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #10726 from weiqiaomiao/wqm-wip-remove-ret
Yehuda Sadeh [Tue, 4 Oct 2016 22:48:05 +0000 (15:48 -0700)]
Merge pull request #10726 from weiqiaomiao/wqm-wip-remove-ret

rgw: remove the field ret from class RGWPutLC

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #6501 from dwj192/check-index-multipart
Yehuda Sadeh [Tue, 4 Oct 2016 20:49:05 +0000 (13:49 -0700)]
Merge pull request #6501 from dwj192/check-index-multipart

rgw:bucket check remove _multipart_ prefix

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #10558 from cbodley/wip-rgw-mdlog-history
Yehuda Sadeh [Tue, 4 Oct 2016 20:10:29 +0000 (13:10 -0700)]
Merge pull request #10558 from cbodley/wip-rgw-mdlog-history

rgw: store oldest mdlog period in rados

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11312 from liewegas/wip-bluestore-assign-blob
Sage Weil [Tue, 4 Oct 2016 18:10:10 +0000 (13:10 -0500)]
Merge pull request #11312 from liewegas/wip-bluestore-assign-blob

os/bluestore: fix crash in decode_some()

8 years agoMerge pull request #10372 from cbodley/wip-rgw-data-log-trim
Yehuda Sadeh [Tue, 4 Oct 2016 17:20:31 +0000 (10:20 -0700)]
Merge pull request #10372 from cbodley/wip-rgw-data-log-trim

rgw multisite: trim data logs as peer zones catch up

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoos/bluestore: fix crash in decode_some() 11312/head
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>
8 years agoMerge pull request #11295 from liewegas/wip-bluestore-cache
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>
8 years agoMerge pull request #11291 from trociny/wip-qa-mirror-asok
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>
8 years agoMerge pull request #11278 from gaurav36/wip-obsolete-rgw-admin-period-prepare
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>
8 years agounittest_bluestore_types: show sizeof for key types 11295/head
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>
8 years agoMerge pull request #11307 from jcsp/wip-mgr-compile
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>
8 years agoos/bluestore: use Extent::assign_blob
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>
8 years agoMerge pull request #11299 from liewegas/wip-mgr-fix
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>
8 years agoMerge pull request #11308 from liewegas/wip-mgr-valgrind
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>
8 years agorgw multisite: obsolete 'radosgw-admin period prepare' command 11278/head
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>
8 years agomgr/MgrMap: initialize all fields 11308/head
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>
8 years agomgr: squash compiler warnings 11307/head
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>
8 years agoMerge pull request #11254 from xiexingguo/xxg-wip-fs-0929
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>
8 years agoMerge pull request #11306 from trociny/fixup-notify_image_updated
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>
8 years agoMerge pull request #11303 from ceph/wip-rbd-clarify-size
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>
8 years agolibrbd: memory leak in MirroringWatcher::notify_image_updated 11306/head
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>
8 years agoMerge pull request #11257 from trociny/wip-17355-fixup
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>
8 years agoMerge pull request #11259 from b-ranto/wip-selinux-tmp-files
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>
8 years agodoc: clarify rbd size units 11303/head
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>
8 years agoMerge pull request #11218 from ceph/wip-getuid
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>
8 years agorgw: fix versioned object IO error 10820/head
Yang Honggang [Tue, 4 Oct 2016 01:18:09 +0000 (09:18 +0800)]
rgw: fix versioned object IO error

    When accessing a copied destination object, its source object's instance ID
    information is needed, however it's missing now in the destination object's
    manifest.

    In order to fix this problem, we can record source object's version_id/instance
    into dest object's manifest(a new filed 'tail_instance' is added). When creating
    a new object(not copy), 'tail_instance' should be equal to its instance value.
    When copy/get a object, 'tail_instance' should always be used to get the right
    tail objects.

Fixes: http://tracker.ceph.com/issues/17111
Signed-off-by: Yang Honggang <joseph.yang@xtaotech.com>
8 years agoos/bluestore: turn bluestore_onode_cache_size 16k -> 4k
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>
8 years agoos/bluestore: drop unnecessary assert
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>
8 years agoos/bluestore: instrument cache blob and extent counts
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>
8 years agounittest_bluestore_types: attach blobs to cache
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>
8 years agodo_cmake.sh: set .ceph_port to random port
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>
8 years agoos/bluestore: add perf counters for cache size
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>
8 years agoos/bluestore: fix typo in write_penalty_read_ops perf counter
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>
8 years agoos/bluestore: fix cache tunables to be process-wide
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>
8 years agoMerge pull request #11300 from liewegas/wip-bluestore-onode-add
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

8 years agoos/bluestore: fix onode cache addition race 11300/head
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>
8 years agomgr/MgrClient: implement con reset handling 11299/head
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>
8 years agoMerge pull request #11298 from liewegas/wip-mgr-fix
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>
8 years agomgr/MgrClient: fix ms_handle_reset 11298/head
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>
8 years agoMerge pull request #11292 from rzarzynski/yj-wip-swift-build_token-cleanup
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>
8 years agoMerge pull request #11019 from liewegas/wip-autotools-must-die
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>
8 years agoMerge pull request #11294 from trociny/fixup-qa-rbd_mirror-metadata_set
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>
8 years agoMerge pull request #11288 from stiopaa1/osd_replicatedpg_moveCOSDOnAppliedClass
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>
8 years agoMerge pull request #11289 from stiopaa1/mds_sessionmap_moveStatementUnderAssertPushPv
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>
8 years agoqa/workunits/rbd: set image-meta on primary image and wait it is replicated 11294/head
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>
8 years agorun-make-check.sh: use cmake exclusively 11019/head
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>
8 years agomake-debs.sh: use make-dist
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>
8 years agorgw/swift: remove redundant assignment operation 11292/head
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>
8 years agoMerge pull request #11086 from bassamtabbara/wip-ec-simd-runtime-detection
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>
8 years agoqa/workunits/rbd: check status also in pool dir after asok commands 11291/head
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>
8 years agomds/SessionMap.h: change statement to assertion 11289/head
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>
8 years agoosd/ReplicatedPG:move C_OSD_OnApplied class to cc 11288/head
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>
8 years agojournal: ensure in-flight ops are complete destroying journaler 11257/head
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>
8 years agojournal: complete action only after notification completed
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>
8 years agoMerge pull request #11285 from liewegas/wip-mgr-rpm
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>
8 years agoclient: in UserPerm, correctly use delete[] and don't leak gids on copy 11218/head
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>
8 years agoceph.spec: fix ceph-mgr version requirement 11285/head
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>
8 years agoMerge pull request #11282 from liewegas/wip-bluestore-gc-fix
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

8 years agoos/bluestore: fix gc when blob extends past eof 11282/head
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>
8 years agoMerge pull request #11279 from liewegas/wip-bluestore-gc
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

8 years agoos/bluestore: fix compaction left-side length 11279/head
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>
8 years agoos/bluestore: more concise SharedBlob print
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>
8 years agoos/bluestore: cosmetic gc cleanups
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>
8 years agoMerge pull request #11271 from stiopaa1/osd_repicatedpg_addOverride
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>
8 years agoMerge pull request #11239 from liewegas/wip-bluestore-max-blob
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>
8 years agoos/bluestore: set min compressed blob size floor at 2x min_alloc_size 11239/head
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>
8 years agoos/bluestore: introduce bluestore_max_blob_size
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>
8 years agoos/bluestore: adjust compression blob sizes down
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>
8 years agoos/bluestore: fix blob depth encoding
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>
8 years agoMerge pull request #11232 from Roushan81/wip-bluestore-blob-gc
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>
8 years agoMerge pull request #11263 from liewegas/wip-bluestore-reshard-slop
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>
8 years agoMerge pull request #11275 from xiexingguo/xxg-wip-make-audit-buffer-option
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>
8 years agoos/bluestore: drop redundant call of get_blob 11275/head
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>
8 years agoMerge pull request #11268 from liewegas/wip-bluefs-aio-leak
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

8 years agoMerge pull request #11005 from jazeltq/add-sparse-read
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>
8 years agoMerge pull request #11168 from trociny/wip-16212
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>
8 years agoMerge pull request #11274 from xiexingguo/xxg-wip-bluestore-0930
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>
8 years agoMerge pull request #11136 from jcsp/wip-16016
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>
8 years agoMerge pull request #11270 from ceph/wip-17443
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>
8 years agoMerge pull request #10328 from jcsp/wip-ceph-mgr
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>
8 years agoos/bluestore: avoid comparing object key and name twice 11274/head
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>
8 years agoos/bluestore: use id of shard_id_t for encoding
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>
8 years agoos/bluestore: kill struct DeferredCsum
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>
8 years agoosd/ReplicatedPG.h: add override to virtual funct 11271/head
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>
8 years agoos/bluestore: add garbage collection 11232/head
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>
8 years agoMerge pull request #11267 from liewegas/wip-bluestore-ref-map
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

8 years agorgw: set correct instance on the object 11270/head
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>
8 years agoos/bluestore/BlueFS: be less complainy about fallback allocations 11268/head
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>
8 years agoceph_test_objecstore: use 1TB block device 11267/head
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>