]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoMerge pull request #6057 from rahul1aggarwal/master
Orit Wasserman [Thu, 19 Nov 2015 23:07:12 +0000 (00:07 +0100)]
Merge pull request #6057 from rahul1aggarwal/master

Bug #13207:  Rados Gateway: Anonymous user is able to read bucket with authenticated read ACL

9 years agodoc/releases: add v0.80.11 to release table
Sage Weil [Thu, 19 Nov 2015 22:05:38 +0000 (17:05 -0500)]
doc/releases: add v0.80.11 to release table

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: final v0.80.11 notes
Sage Weil [Thu, 19 Nov 2015 22:04:22 +0000 (17:04 -0500)]
doc/release-notes: final v0.80.11 notes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6374 from dachary/wip-release-notes-firefly
Sage Weil [Thu, 19 Nov 2015 22:03:43 +0000 (17:03 -0500)]
Merge pull request #6374 from dachary/wip-release-notes-firefly

release-notes: draft v0.80.11 release notes

9 years ago13207: Rados Gateway: Anonymous user is able to read bucket with authenticated read ACL 6057/head
root [Wed, 23 Sep 2015 18:51:13 +0000 (00:21 +0530)]
13207: Rados Gateway: Anonymous user is able to read bucket with authenticated read ACL

Signed-off-by: root <rahul.1aggarwal@gmail.com>
9 years agoMerge pull request #6654 from tchaikov/wip-unsigned-missing-scrub
David Zafman [Thu, 19 Nov 2015 19:06:59 +0000 (11:06 -0800)]
Merge pull request #6654 from tchaikov/wip-unsigned-missing-scrub

osd: note down the number of missing clones

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoosd: note down the number of missing clones 6654/head
Kefu Chai [Thu, 19 Nov 2015 12:44:04 +0000 (20:44 +0800)]
osd: note down the number of missing clones

Caused by 2e0bb0ae9498fd9a0c49f1b81bf0c86f7a7cac42
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6637 from Vicente-Cheng/update-ceph-disk-manual-page
Loic Dachary [Thu, 19 Nov 2015 10:06:35 +0000 (11:06 +0100)]
Merge pull request #6637 from Vicente-Cheng/update-ceph-disk-manual-page

doc: Update ceph-disk manual page with new feature deactivate/destroy.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: Update ceph-disk manual page to remove some option description. 6637/head
Vicente Cheng [Thu, 19 Nov 2015 01:34:51 +0000 (09:34 +0800)]
doc: Update ceph-disk manual page to remove some option description.

  - remove `--mark-init` and `--activate-key` from options because
    they are not options that are common to all subcommands.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agodoc: Update ceph-disk manual page with new feature deactivate/destroy.
Vicente Cheng [Thu, 19 Nov 2015 01:33:21 +0000 (09:33 +0800)]
doc: Update ceph-disk manual page with new feature deactivate/destroy.

  - Update the ceph-disk manual page

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoMerge pull request #6545 from dzafman/wip-dry-fixes
David Zafman [Wed, 18 Nov 2015 20:41:33 +0000 (12:41 -0800)]
Merge pull request #6545 from dzafman/wip-dry-fixes

Fix --dry-run for many ceph-objectstore-tool operations

Includes adding missing tests for xattr and omap
Add testing of --dry-run for most operations
Minor cleanup of rados command output

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6640 from david-z/wip-async-msg-crash-cephfs
Haomai Wang [Wed, 18 Nov 2015 15:53:07 +0000 (23:53 +0800)]
Merge pull request #6640 from david-z/wip-async-msg-crash-cephfs

Cephfs will crash if enabling async msg because of an assertion

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #6482 from herver/wip-13709
branto1 [Wed, 18 Nov 2015 15:03:53 +0000 (16:03 +0100)]
Merge pull request #6482 from herver/wip-13709

rgw: fix reload on non Debian systems.

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #5662 from ceph/wip-scrub-basic
John Spray [Wed, 18 Nov 2015 12:00:29 +0000 (12:00 +0000)]
Merge pull request #5662 from ceph/wip-scrub-basic

ScrubStack and "tag path" command

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoCephfs will crash if enabling async msg because of an assertion 6640/head
Zhi Zhang [Wed, 18 Nov 2015 10:28:12 +0000 (18:28 +0800)]
Cephfs will crash if enabling async msg because of an assertion

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
9 years agoMerge pull request #6541 from dillaman/wip-11287 6631/head 6648/head
Josh Durgin [Tue, 17 Nov 2015 19:39:51 +0000 (11:39 -0800)]
Merge pull request #6541 from dillaman/wip-11287

librbd: integrate journaling support for IO operations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: copy operation needs to use AIO work queue for writes 6541/head
Jason Dillaman [Tue, 17 Nov 2015 14:33:17 +0000 (09:33 -0500)]
librbd: copy operation needs to use AIO work queue for writes

This ensures that the exclusive lock is properly acquired prior to
writing to the new image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: simplify IO flush handling
Jason Dillaman [Fri, 31 Jul 2015 02:31:55 +0000 (22:31 -0400)]
librbd: simplify IO flush handling

Add a new convenience method to ImageCtx for handling flush
requests and cleanup flush handling with dealing with the cache.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: possible deadlock attempting to drain parent image WQs
Jason Dillaman [Fri, 14 Aug 2015 17:30:41 +0000 (13:30 -0400)]
librbd: possible deadlock attempting to drain parent image WQs

Ensure all AIO to the parent image is properly flushed and assert
that all work queues are empty before closing the parent image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoWorkQueue: PointerWQ drain no longer waits for other queues
Jason Dillaman [Fri, 14 Aug 2015 17:28:13 +0000 (13:28 -0400)]
WorkQueue: PointerWQ drain no longer waits for other queues

If another (independent) queue was processing, drain could
block waiting.  Instead, allow drain to exit quickly if
no items are being processed and the queue is empty for
the current WQ.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #5867 from Vicente-Cheng/ceph-disk-destroy-implementation
Loic Dachary [Tue, 17 Nov 2015 10:43:02 +0000 (11:43 +0100)]
Merge pull request #5867 from Vicente-Cheng/ceph-disk-destroy-implementation

ceph-disk: Add destroy and deactivate option

ceph-disk now understands deactivate to shutdown an OSD and umount the partition. It will remain in a "down" state until it is activated again with --reactivate. If a deactivated OSD is destroyed with ceph-disk destroy, it will be permanently removed from the cluster and from the crushmap.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph-disk: remove the redundant try except and minor nits 5867/head
Vicente Cheng [Fri, 13 Nov 2015 01:59:27 +0000 (09:59 +0800)]
ceph-disk: remove the redundant try except and minor nits

  - remove the redundant try except

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: add wait_for_osd_down() in ceph-disk-test.py of qa
Vicente Cheng [Fri, 13 Nov 2015 01:28:10 +0000 (09:28 +0800)]
tests: ceph-disk: add wait_for_osd_down() in ceph-disk-test.py of qa

  - add wait_for_osd_down() to avoid the side effect of deactivate

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: modify the ceph-disk qa test cases
Vicente Cheng [Tue, 3 Nov 2015 09:45:55 +0000 (17:45 +0800)]
tests: ceph-disk: modify the ceph-disk qa test cases

  - minor correct for the latest ceph-disk qa test cases

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: improve the unit test to coverage all deactivate/destroy function.
Vicente Cheng [Tue, 3 Nov 2015 09:44:05 +0000 (17:44 +0800)]
tests: ceph-disk: improve the unit test to coverage all deactivate/destroy function.

  - rework the unit test to coverage all deactivate/destroy function
  - make test item simple and easier to read

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: improve the device query stage on deactivate/destroy feature.
Vicente Cheng [Tue, 3 Nov 2015 09:11:33 +0000 (17:11 +0800)]
ceph-disk: improve the device query stage on deactivate/destroy feature.

  - Make code path much easier to get device info. (get little bit overhead)
  - Let some error rasie the correct execption
  - for dmcrypt device, we unmap on the deactivate stage. (consist with activate)

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: add deactivate/reactivate/destroy test cases.
Vicente Cheng [Thu, 15 Oct 2015 06:32:20 +0000 (14:32 +0800)]
tests: ceph-disk: add deactivate/reactivate/destroy test cases.

  - using the deactivate/destroy feature to destroy osd
  - test reactivate option when the osd goes deactive
  - add check_osd_status to check osd status when osd goes up

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: add some unittest functions to coverage destroy/deactivate feature.
Vicente Cheng [Thu, 15 Oct 2015 06:42:17 +0000 (14:42 +0800)]
tests: ceph-disk: add some unittest functions to coverage destroy/deactivate feature.

  - Add new unittest functions to coverage the part of dmcrypt/mpath handling.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: modify the destroy/deactivate behavior to handle dmcrypt/mpath feature.
Vicente Cheng [Thu, 15 Oct 2015 06:03:29 +0000 (14:03 +0800)]
ceph-disk: modify the destroy/deactivate behavior to handle dmcrypt/mpath feature.

  - modify the behavior to handle dmcrypt/mpath osd
  - add some functions to get the information of dmcrypt osd
  - fixed the logging format Use `%(filename)s` instead of `%(filename)`

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: Make unit test coverage all ceph-disk destroy/deactivate feature
Vicente Cheng [Fri, 25 Sep 2015 09:44:19 +0000 (17:44 +0800)]
tests: ceph-disk: Make unit test coverage all ceph-disk destroy/deactivate feature

  - Add some unit test to coverage all destroy/deactivate feature.
  - Do some minor modifications on the ceph-diskw

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agotests: ceph-disk: modified the destroy_osd test function.
Vicente Cheng [Fri, 18 Sep 2015 02:23:19 +0000 (10:23 +0800)]
tests: ceph-disk: modified the destroy_osd test function.

  - use the new implementation (ceph-disk deactivate/destroy) instead of step by step remove

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: Implement unittest for ceph-disk deactivate/destroy feature
Vicente Cheng [Fri, 18 Sep 2015 02:20:41 +0000 (10:20 +0800)]
ceph-disk: Implement unittest for ceph-disk deactivate/destroy feature

  - The unit tests cover all the implemention about deactivate/destroy.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: add --reactivate option, modify parameter about deactivate and destroy
Vicente Cheng [Mon, 14 Sep 2015 12:03:55 +0000 (20:03 +0800)]
ceph-disk: add --reactivate option, modify parameter about deactivate and destroy

  - add `--reactivate` option (activate do no-op without reactivate with deactive flag)
  - for consistency, make both deactivate and destroy take the device/partition name
  - add `--deactivate-by-id` to deactivate and destroy for ease of use

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: add `--mark-out` option on deactivate feature.
Vicente Cheng [Fri, 11 Sep 2015 03:33:13 +0000 (11:33 +0800)]
ceph-disk: add `--mark-out` option on deactivate feature.

  - Using `--mark-out` option to mark osd out when
    deactivate this osd instead of always mark osd out.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: use `ceph osd dump` to check osd status
Vicente Cheng [Thu, 10 Sep 2015 08:13:37 +0000 (16:13 +0800)]
ceph-disk: use `ceph osd dump` to check osd status

  - Before deactivated osd, we need to know the status
    including IN/OUT, UP/DOWN on this osd.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: add destroy feature
Vicente Cheng [Thu, 10 Sep 2015 09:02:39 +0000 (17:02 +0800)]
ceph-disk: add destroy feature

  Implement destroy option on ceph-disk.

  - remove OSD from CRUSH map
  - remove OSD cephx key
  - deallocate OSD ID
  - destroy data (with --zap option)

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoceph-disk: add deactivate feature
Vicente Cheng [Thu, 10 Sep 2015 08:37:03 +0000 (16:37 +0800)]
ceph-disk: add deactivate feature

  Implement deactivate option on ceph-disk.

  - stop ceph-osd service if needed (If osd still in osd map, make it out first)
  - remove 'ready', 'active', and INIT-specific files
  - remove gpt partition type and change partition name (prevent triggered by udev)
  - create deactive flag
  - umount device and remove mount point

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
9 years agoMerge pull request #6607 from dillaman/wip-13784
Josh Durgin [Mon, 16 Nov 2015 19:21:38 +0000 (11:21 -0800)]
Merge pull request #6607 from dillaman/wip-13784

rbd: support negative boolean command-line optionals

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6606 from dillaman/wip-13806
Josh Durgin [Mon, 16 Nov 2015 19:20:58 +0000 (11:20 -0800)]
Merge pull request #6606 from dillaman/wip-13806

rbd: add missing command aliases to refactored CLI

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agorbd: support negative boolean command-line optionals 6607/head
Jason Dillaman [Mon, 16 Nov 2015 18:31:34 +0000 (13:31 -0500)]
rbd: support negative boolean command-line optionals

Fixes: #13784
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: new rbd CLI command aliases 6606/head
Jason Dillaman [Mon, 16 Nov 2015 17:57:29 +0000 (12:57 -0500)]
tests: new rbd CLI command aliases

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: add missing command aliases to refactored CLI
Jason Dillaman [Mon, 16 Nov 2015 17:55:11 +0000 (12:55 -0500)]
rbd: add missing command aliases to refactored CLI

Fixes: #13806
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6590 from ceph/wip-rbd-user-option
Jason Dillaman [Mon, 16 Nov 2015 14:07:39 +0000 (09:07 -0500)]
Merge pull request #6590 from ceph/wip-rbd-user-option

rbd: accept --user, refuse -i command-line optionals

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6593 from trociny/fixup-rbd-refactor
Jason Dillaman [Mon, 16 Nov 2015 14:05:36 +0000 (09:05 -0500)]
Merge pull request #6593 from trociny/fixup-rbd-refactor

rbd: stripe unit/count set incorrectly from config

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6594 from chenji-kael/patch-2
Loic Dachary [Mon, 16 Nov 2015 06:33:08 +0000 (07:33 +0100)]
Merge pull request #6594 from chenji-kael/patch-2

Update .mailmap

9 years agoUpdate .mailmap 6594/head
chenji-kael [Mon, 16 Nov 2015 01:25:41 +0000 (09:25 +0800)]
Update .mailmap

9 years agorbd: stripe unit/count set incorrectly from config 6593/head
Mykola Golub [Sun, 15 Nov 2015 19:37:44 +0000 (21:37 +0200)]
rbd: stripe unit/count set incorrectly from config

(after rbd-refactor fixup)

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6549 from kylinstorage/global_flags 6624/head
Josh Durgin [Sun, 15 Nov 2015 18:45:04 +0000 (10:45 -0800)]
Merge pull request #6549 from kylinstorage/global_flags

fix: use right init_flags to finish CephContext

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6575 from ceph/update-infernalis-releasenotes
Sage Weil [Sun, 15 Nov 2015 02:45:03 +0000 (21:45 -0500)]
Merge pull request #6575 from ceph/update-infernalis-releasenotes

doc: update infernalis release notes

9 years agoMerge pull request #6484 from XinzeChi/wip-journal-optimization
Sage Weil [Sun, 15 Nov 2015 02:44:18 +0000 (21:44 -0500)]
Merge pull request #6484 from XinzeChi/wip-journal-optimization

os: write file journal optimization

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #6371 from liewegas/wip-osd-less-crush
Sage Weil [Sun, 15 Nov 2015 02:42:17 +0000 (21:42 -0500)]
Merge pull request #6371 from liewegas/wip-osd-less-crush

osd: avoid calculating crush mapping for most ops

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6416 from rohanmars/wip-solaris-port
Sage Weil [Sun, 15 Nov 2015 02:41:31 +0000 (21:41 -0500)]
Merge pull request #6416 from rohanmars/wip-solaris-port

librados: Solaris port

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6439 from XinzeChi/wip-merge-tnx
Sage Weil [Sun, 15 Nov 2015 02:40:42 +0000 (21:40 -0500)]
Merge pull request #6439 from XinzeChi/wip-merge-tnx

osd: merge local_t and op_t txn to single one

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6547 from xiaoxichen/fix1
Sage Weil [Sun, 15 Nov 2015 02:39:46 +0000 (21:39 -0500)]
Merge pull request #6547 from xiaoxichen/fix1

osd: check do_shutdown before do_restart

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6566 from kylinstorage/wip-fix-wrong-use-parenthesis
Sage Weil [Sun, 15 Nov 2015 02:38:50 +0000 (21:38 -0500)]
Merge pull request #6566 from kylinstorage/wip-fix-wrong-use-parenthesis

osd: fix wrong use of right parenthesis in localized read logic

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorbd: accept --user, refuse -i 6590/head
Ilya Dryomov [Sat, 14 Nov 2015 20:56:15 +0000 (21:56 +0100)]
rbd: accept --user, refuse -i

--user is the equivalent of --id (mentioned in docs and ceph -h) and
used by at least a couple of qa scripts and teuthology.  Add it to the
list of valid rbd options - it's handled inside global_init() before
Shell:execute() is called.

OTOH allowing -i is bogus - global_init() wouldn't process it for
clients (CEPH_ENTITY_TYPE_CLIENT), which rbd tool is one of.  Drop it.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
9 years agoMerge pull request #6584 from dachary/wip-test
Sage Weil [Sat, 14 Nov 2015 17:50:16 +0000 (12:50 -0500)]
Merge pull request #6584 from dachary/wip-test

tests: ignore test-suite.log

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6583 from ceph/wip-krbd-map-args
Sage Weil [Sat, 14 Nov 2015 17:27:43 +0000 (12:27 -0500)]
Merge pull request #6583 from ceph/wip-krbd-map-args

rbd: unbreak rbd map + cephx_sign_messages option

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agotests: ignore test-suite.log 6584/head
Loic Dachary [Sat, 14 Nov 2015 16:57:23 +0000 (17:57 +0100)]
tests: ignore test-suite.log

Now that the tests at the top level directory are run via TESTS and not
check-local:, the test-suite.log file is created and must bit
gitignored.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorbd: recognize cephx_sign_messages option 6583/head
Ilya Dryomov [Sat, 14 Nov 2015 15:06:03 +0000 (16:06 +0100)]
rbd: recognize cephx_sign_messages option

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
9 years agorbd: unbreak rbd map CLI
Ilya Dryomov [Sat, 14 Nov 2015 14:12:52 +0000 (15:12 +0100)]
rbd: unbreak rbd map CLI

Previously, if snapname wasn't specified we would pass NULL to
krbd_map(), which was a cue for it to use "-" as a snapshot name.  With
the new rbd CLI, "" is passed in; same goes for map options.

Change krbd_map() accordingly and update its other user.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
9 years agotests: fix test case using new api 6484/head
Xinze Chi [Fri, 6 Nov 2015 13:45:18 +0000 (21:45 +0800)]
tests: fix test case using new api

Signed-off-by: Xinze Chi <xinze@xsky.com>
9 years agoMerge pull request #6574 from yuyuyu101/fix-broken-kinects
Sage Weil [Sat, 14 Nov 2015 02:14:56 +0000 (21:14 -0500)]
Merge pull request #6574 from yuyuyu101/fix-broken-kinects

kv/KineticStore: fix broken split_key

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6571 from dachary/wip-test-run-cli
Sage Weil [Sat, 14 Nov 2015 00:27:45 +0000 (19:27 -0500)]
Merge pull request #6571 from dachary/wip-test-run-cli

tests: restore run-cli-tests

9 years agoMerge pull request #6578 from dachary/wip-13785-debian-rbd-replay
Loic Dachary [Fri, 13 Nov 2015 21:04:56 +0000 (22:04 +0100)]
Merge pull request #6578 from dachary/wip-13785-debian-rbd-replay

build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #4737 from kylinstorage/wip-temp-based-object-eviction
Sage Weil [Fri, 13 Nov 2015 20:39:54 +0000 (15:39 -0500)]
Merge pull request #4737 from kylinstorage/wip-temp-based-object-eviction

osd: improve temperature calculation for cache tier agent

Reviewed-by: Sage Weil
9 years agoMerge pull request #6422 from xiexingguo/xxg-wip13639
Sage Weil [Fri, 13 Nov 2015 20:22:08 +0000 (15:22 -0500)]
Merge pull request #6422 from xiexingguo/xxg-wip13639

librados: fix potential null pointer access when do pool_snap_list

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6486 from XinzeChi/wip-multiple-finisher
Sage Weil [Fri, 13 Nov 2015 20:20:48 +0000 (15:20 -0500)]
Merge pull request #6486 from XinzeChi/wip-multiple-finisher

osd: FileStore: support multiple ondisk finish and apply finishers

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6518 from kylinstorage/wip-trivial-optimization
Sage Weil [Fri, 13 Nov 2015 20:20:13 +0000 (15:20 -0500)]
Merge pull request #6518 from kylinstorage/wip-trivial-optimization

osd: optimize scrub subset_last_update calculation

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agobuild/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg 6578/head
Loic Dachary [Fri, 13 Nov 2015 18:10:28 +0000 (19:10 +0100)]
build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg

http://tracker.ceph.com/issues/13785 Fixes: #13785

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotests: avoid bashism 6571/head
Loic Dachary [Fri, 13 Nov 2015 17:47:31 +0000 (18:47 +0100)]
tests: avoid bashism

The shell used by the cli tests is not always bash. Not using the
here-word is also more readable in this specific case.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorbd: hardcode application name into help
Jason Dillaman [Fri, 13 Nov 2015 15:20:19 +0000 (10:20 -0500)]
rbd: hardcode application name into help

Avoid dynamically detecting the application name and instead hardcode
the rbd CLI name into the help output.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoceph-objectstore-tool: Add dry-run checking to ops missing it 6545/head
David Zafman [Fri, 6 Nov 2015 03:06:17 +0000 (19:06 -0800)]
ceph-objectstore-tool: Add dry-run checking to ops missing it

Update test to check most operations

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoceph-objectstore-tool: Remove unused function (cleanup)
David Zafman [Fri, 6 Nov 2015 02:45:54 +0000 (18:45 -0800)]
ceph-objectstore-tool: Remove unused function (cleanup)

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest: Remove redundant test output
David Zafman [Wed, 11 Nov 2015 23:26:52 +0000 (15:26 -0800)]
test: Remove redundant test output

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest: Verify replicated PG beyond just data after vstart
David Zafman [Wed, 11 Nov 2015 02:20:46 +0000 (18:20 -0800)]
test: Verify replicated PG beyond just data after vstart

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest: Fix verify() used after import to also check xattr and omap
David Zafman [Wed, 11 Nov 2015 01:57:59 +0000 (17:57 -0800)]
test: Fix verify() used after import to also check xattr and omap

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest: Add test cases for xattr and omap ceph-objectstore-tool operations
David Zafman [Tue, 10 Nov 2015 04:02:21 +0000 (20:02 -0800)]
test: Add test cases for xattr and omap ceph-objectstore-tool operations

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agokv/KineticStore: Fix broken split_key 6574/head
Haomai Wang [Fri, 13 Nov 2015 17:04:11 +0000 (01:04 +0800)]
kv/KineticStore: Fix broken split_key

Introduced by PR #6312

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoUpdate infernalis release notes 6575/head
vasukulkarni [Fri, 13 Nov 2015 17:02:20 +0000 (09:02 -0800)]
Update infernalis release notes

Update infernalis release notes

Signed-off-by: Vasu Kulkarni vasu@redhat.com
9 years agotests: restore run-cli-tests
Loic Dachary [Fri, 13 Nov 2015 15:23:27 +0000 (16:23 +0100)]
tests: restore run-cli-tests

e4ca468 moved src/test/run-cli-tests from check-local to check_SCRIPTS
but did not add it to the TESTS variable.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoSIGPIPE suppression for platforms without SO_NOSIGPIPE or MSG_NOSIGNAL 6416/head
Rohan Mars [Tue, 27 Oct 2015 03:34:08 +0000 (20:34 -0700)]
SIGPIPE suppression for platforms without SO_NOSIGPIPE or MSG_NOSIGNAL

Signed-off-by: Rohan Mars <code@rohanmars.com>
9 years agoradosgw-admin: fix cli tests 6569/head
Sage Weil [Fri, 13 Nov 2015 15:06:18 +0000 (10:06 -0500)]
radosgw-admin: fix cli tests

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosdmaptool: fix cli tests
Sage Weil [Fri, 13 Nov 2015 15:05:53 +0000 (10:05 -0500)]
osdmaptool: fix cli tests

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocrushtool: fix cli tests
Sage Weil [Fri, 13 Nov 2015 14:53:37 +0000 (09:53 -0500)]
crushtool: fix cli tests

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocrushtool: fix cli test help
Sage Weil [Fri, 13 Nov 2015 14:27:28 +0000 (09:27 -0500)]
crushtool: fix cli test help

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6532 from dachary/wip-mailmap
Loic Dachary [Fri, 13 Nov 2015 14:14:11 +0000 (15:14 +0100)]
Merge pull request #6532 from dachary/wip-mailmap

mailmap: Ubuntu Kylin name changed to Kylin Cloud

Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
9 years agoMerge pull request #5848 from storage-zuiwanyuan/wip-nonblock-connect
Sage Weil [Fri, 13 Nov 2015 14:04:47 +0000 (09:04 -0500)]
Merge pull request #5848 from storage-zuiwanyuan/wip-nonblock-connect

msg/async: support of non-block connect in async messenger

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #6478 from yuyuyu101/wip-13666
Sage Weil [Fri, 13 Nov 2015 14:03:35 +0000 (09:03 -0500)]
Merge pull request #6478 from yuyuyu101/wip-13666

msg/async: let receiver ack message ASAP

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd: fix wrong use of right parenthesis 6566/head
Jie Wang [Fri, 13 Nov 2015 13:52:21 +0000 (21:52 +0800)]
osd: fix wrong use of right parenthesis

Signed-off-by: Jie Wang <jie.wang@kylin-cloud.com>
Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
9 years agomsg/async: support of non-block connect in async messenger 5848/head
Jianhui Yuan [Fri, 13 Nov 2015 07:36:36 +0000 (15:36 +0800)]
msg/async: support of non-block connect in async messenger

Fixes: #12802
Signed-off-by: Jianhui Yuan <zuiwanyuan@gmail.com>
9 years agoMerge pull request #6534 from kylinstorage/wip-trivial-scrub-cleanup
Kefu Chai [Fri, 13 Nov 2015 07:28:39 +0000 (15:28 +0800)]
Merge pull request #6534 from kylinstorage/wip-trivial-scrub-cleanup

osd: clarify the scrub result report

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoscrub: clarify the result report 6534/head
Li Wang [Fri, 13 Nov 2015 07:00:09 +0000 (15:00 +0800)]
scrub: clarify the result report

It may happen that the authoritative object
such that auth.size != be_get_ondisk_size(auth_oi.size),
in that case, clarify the error report.

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
9 years agojournal: avoid holding lock while marking ops are complete
Jason Dillaman [Fri, 13 Nov 2015 07:00:21 +0000 (02:00 -0500)]
journal: avoid holding lock while marking ops are complete

There is a possibility of a race if the JournalTrimmer destructor is
waiting for an async op to complete but the op is flagged as complete
while the mutex is being held.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocmake: updates for refactored librbd IO path
Jason Dillaman [Fri, 13 Nov 2015 01:17:17 +0000 (20:17 -0500)]
cmake: updates for refactored librbd IO path

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: flush journal entries prior to releasing lock
Jason Dillaman [Tue, 1 Sep 2015 14:17:02 +0000 (10:17 -0400)]
librbd: flush journal entries prior to releasing lock

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: only erase IO events after they are marked safe
Jason Dillaman [Tue, 1 Sep 2015 01:27:53 +0000 (21:27 -0400)]
librbd: only erase IO events after they are marked safe

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: librbd updates for C++11
Jason Dillaman [Thu, 20 Aug 2015 02:30:37 +0000 (22:30 -0400)]
tests: librbd updates for C++11

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: verify librbd journal entries are written to disk
Jason Dillaman [Thu, 30 Jul 2015 15:35:20 +0000 (11:35 -0400)]
tests: verify librbd journal entries are written to disk

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: treat flush op as a write op
Jason Dillaman [Thu, 30 Jul 2015 15:34:54 +0000 (11:34 -0400)]
librbd: treat flush op as a write op

This will ensure that the journal is properly opened to handle
appending events.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>