]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Jason Dillaman [Fri, 20 Nov 2015 13:44:53 +0000 (08:44 -0500)]
librbd: commit journal op events immediately
Op events are split into a start and finish record, so they can
be immediately marked as committed within the journal.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 18 Nov 2015 20:11:32 +0000 (15:11 -0500)]
librbd: improve debug output for object map state machines
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 18 Nov 2015 19:51:31 +0000 (14:51 -0500)]
librbd: owner_lock should be held while opening parent image
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 18 Nov 2015 19:07:51 +0000 (14:07 -0500)]
librbd: ImageWatcher shouldn't block the notification thread
Now that all RPC operations are asynchronous, blocking the notification
thread will also result in librados async callbacks becoming blocked
(since they use the same thread).
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 18 Nov 2015 14:23:12 +0000 (09:23 -0500)]
tests: add missing test cases for rbd exclusive-lock RPC
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 1 Sep 2015 00:03:38 +0000 (20:03 -0400)]
librbd: possible recursive reader lock during resize
With multiple resizes concurrently queued, it's possible for
the owner lock to be locked multiple times.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 27 Aug 2015 18:21:05 +0000 (14:21 -0400)]
librbd: possible unit test race condition
It's possible during unit tests for the requests to complete
prior to marking the Context as complete. In this case, the
Context will fire while locks are being held.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 26 Aug 2015 22:27:25 +0000 (18:27 -0400)]
tests: updated librbd::Journal API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 26 Aug 2015 17:46:53 +0000 (13:46 -0400)]
librbd: journal op requests
Any op request that has the potential to impact the layout or data
within an image needs to be journaled for RBD mirroring purposes.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 29 Jul 2015 19:43:02 +0000 (15:43 -0400)]
librbd: new journal types for maintenance commands
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 17:34:12 +0000 (13:34 -0400)]
tests: added snap protect/unprotect and rename to client update test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 20:21:34 +0000 (16:21 -0400)]
tests: new watch/notify rename image tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 20:12:53 +0000 (16:12 -0400)]
librbd: added async image rename op
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 20:13:08 +0000 (16:13 -0400)]
librados_test_stub: added ObjectWriteOperation::tmap_update
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 20:02:28 +0000 (16:02 -0400)]
tests: update cls_rbd test for async dir_rename_image method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 19:45:28 +0000 (15:45 -0400)]
cls_rbd: dir_rename_image is now async
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 15:18:37 +0000 (11:18 -0400)]
tests: new tests for watch/notify snap protect/unprotect ops
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 15:17:57 +0000 (11:17 -0400)]
librbd: snap protect/unprotect now connected to watch/notify
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 14:47:03 +0000 (10:47 -0400)]
librbd: async ops should return status via the Context
Avoid handling a return value which could indicate an error and
instead return initialization errors via the Context callback.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 25 Aug 2015 14:12:43 +0000 (10:12 -0400)]
tests: new ImageWatcher tests for snap protect/unprotect and rename
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 30 Jul 2015 18:08:00 +0000 (14:08 -0400)]
librbd: new watch/notify types for snap protect/unprotect and rename
When journaling is enabled, these actions will need to be executed via the
lock owner to ensure that they are journaled for RBD mirroring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 30 Jul 2015 18:34:57 +0000 (14:34 -0400)]
librbd: rename librbd::WatchNotify namespace to librbd::watch_notify
The new namespace follows the expected naming conventions.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 17 Aug 2015 18:21:16 +0000 (14:21 -0400)]
librbd: do not send duplicate lock event
No need to alert clients that the lock has been released since it
is already handled by ImageWatcher::release_lock
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 14 Aug 2015 20:23:13 +0000 (16:23 -0400)]
librbd: drain op work queue after shutting down journal
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 12 Aug 2015 17:36:42 +0000 (13:36 -0400)]
librbd: migrate object map snapshot ops to async state machines
Since all snapshot handling was migrated to async state machines, the
object map snapshot handling also needs to be converted.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 13 Aug 2015 00:51:05 +0000 (20:51 -0400)]
cls_rbd: add async version of object_map_load
Most librbd object map interactions are moving to async state machines.
The sync version must remain until the librbd image refresh operation
is converted to a state machine due to the sheer volume of locks held
blocking the AIO thread.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 12 Aug 2015 20:11:30 +0000 (16:11 -0400)]
librbd: consolidate object map invalidation to new state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 12 Aug 2015 14:31:53 +0000 (10:31 -0400)]
librbd: move object map async ops to standalone classes
In preparation for creating new async snapshot-related object map
operations, move the existing object map async ops to there own
namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 30 Jul 2015 20:25:54 +0000 (16:25 -0400)]
librbd: initial conversion of snapshot ops to async versions
Object map updates are not currently integrated until those methods
are converted to async state machines.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 11 Aug 2015 18:08:25 +0000 (14:08 -0400)]
tests: update cls_rbd tests for async snapshot methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 11 Aug 2015 17:19:40 +0000 (13:19 -0400)]
cls_rbd: convert snapshot methods to async versions
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 26 Aug 2015 19:07:33 +0000 (15:07 -0400)]
librbd: new intermediate request class for handling journal ops
All operations that should be recorded to the journal will inherit
from the new librbd::operation::Request class.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 26 Aug 2015 18:57:16 +0000 (14:57 -0400)]
librbd: move all image operation state machines to new namespace
Prior to creating multiple new state machines for image operations,
move all existing op requests to a new namespace and folder.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 26 Aug 2015 18:33:13 +0000 (14:33 -0400)]
librbd: remove AsyncRequest::safely_cancel
Long-running operations controlled via the AsyncObjectThrottle will
automatically cancel with an -ERESTART return code when requested.
Other states are transitional and have a high-potential for race
conditions if aborted between states.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 11 Aug 2015 15:42:02 +0000 (11:42 -0400)]
librbd: simplify state machine lock assumptions
Use asynchronous callbacks to ensure that no locks are held when
re-entering a state machine. This helps to avoid odd edge conditions
where locks may or may not be held depending on whether a AIO
operation was required.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 31 Jul 2015 01:34:51 +0000 (21:34 -0400)]
librbd: async version of AioImageRequestWQ::block_writes
Snapshot create will uses the async version to block write ops
prior to creating the new snapshot context.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 30 Jul 2015 18:58:18 +0000 (14:58 -0400)]
librbd: removed Async* prefix from request state machines
In preparation for adding more snapshot handling request state machines,
simplify the naming of the existing classes by removing the Async prefix.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Loic Dachary [Mon, 16 Nov 2015 06:33:08 +0000 (07:33 +0100)]
Merge pull request #6594 from chenji-kael/patch-2
Update .mailmap
chenji-kael [Mon, 16 Nov 2015 01:25:41 +0000 (09:25 +0800)]
Update .mailmap
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>