]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agoadd more constness 3817/head
Kefu Chai [Fri, 27 Feb 2015 08:56:57 +0000 (16:56 +0800)]
add more constness

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoOSD: mark internal methods as `private`
Kefu Chai [Fri, 27 Feb 2015 08:53:21 +0000 (16:53 +0800)]
OSD: mark internal methods as `private`

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agofix unmatched struct versus class warnings
Kefu Chai [Fri, 27 Feb 2015 08:42:48 +0000 (16:42 +0800)]
fix unmatched struct versus class warnings

these warnings come from clang++

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agocommon/config: move config_obs_t's dtor back
Kefu Chai [Fri, 27 Feb 2015 08:10:05 +0000 (16:10 +0800)]
common/config: move config_obs_t's dtor back

so one can find the impl of config_obs_t at the expected place.

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #3803 from guangyy/wip-7737 3734/head
Sage Weil [Fri, 27 Feb 2015 01:17:32 +0000 (17:17 -0800)]
Merge pull request #3803 from guangyy/wip-7737

osd: fix negative degraded objects during backfilling

Backport: hammer, giant, firefly

10 years agoMerge pull request #3792 from ceph/wip-10912
Gregory Farnum [Thu, 26 Feb 2015 18:14:05 +0000 (10:14 -0800)]
Merge pull request #3792 from ceph/wip-10912

client: re-send requests before composing the cap reconnect message

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #3805 from gaurav36/master
Kefu Chai [Thu, 26 Feb 2015 13:22:39 +0000 (21:22 +0800)]
Merge pull request #3805 from gaurav36/master

osd: coverity fix: removing logically dead code

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agocoverity fix: removing logically dead code 3805/head
Gaurav Kumar Garg [Wed, 25 Feb 2015 19:15:31 +0000 (00:45 +0530)]
coverity fix: removing logically dead code

coverity CID: 1260393

Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
10 years agoMerge pull request #3751 from ceph/wip-mds-misc
John Spray [Thu, 26 Feb 2015 11:45:43 +0000 (11:45 +0000)]
Merge pull request #3751 from ceph/wip-mds-misc

mds: misc small patches

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoosd: fix negative degraded objects during backfilling 3803/head
Guang Yang [Thu, 26 Feb 2015 08:13:12 +0000 (08:13 +0000)]
osd: fix negative degraded objects during backfilling

When there is deleting requests during backfilling, the reported number of degraded
objects could be negative, as the primary's num_objects is the latest (locally) but
the number for replicas might not reflect the deletings. A simple fix is to ignore
the negative subtracted value.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
10 years agoclient: re-send requsets before composing the cap reconnect message 3792/head
Yan, Zheng [Wed, 25 Feb 2015 07:27:59 +0000 (15:27 +0800)]
client: re-send requsets before composing the cap reconnect message

After commit 419800fe (client: re-send request when MDS enters reconnecting
stage), cephfs client can send both unsafe requests and normal requests when
MDS is in reconnecting stage. Normal requests can have embedded cap releases,
the client code encodes these embedded cap releases after composing the cap
reconnect message. This causes the client sliently drop some caps. The fix
is re-send requsets (which add embedded cap releases) before composing the
cap reconnect message

Fixes: #10912
Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge remote-tracking branch 'origin/hammer'
Josh Durgin [Thu, 26 Feb 2015 02:52:36 +0000 (18:52 -0800)]
Merge remote-tracking branch 'origin/hammer'

10 years agoMerge pull request #3796 from ceph/wip-librbd-async-operations
Josh Durgin [Thu, 26 Feb 2015 02:52:19 +0000 (18:52 -0800)]
Merge pull request #3796 from ceph/wip-librbd-async-operations

librbd: better handling for async maintenance requests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3791 from ceph/wip-librbd-mdlock
Jason Dillaman [Thu, 26 Feb 2015 02:37:48 +0000 (21:37 -0500)]
Merge pull request #3791 from ceph/wip-librbd-mdlock

librbd: fix object map locking

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #3801 from ceph/wip-fix-typo-troubleshooting
Loic Dachary [Thu, 26 Feb 2015 01:43:53 +0000 (02:43 +0100)]
Merge pull request #3801 from ceph/wip-fix-typo-troubleshooting

doc: fix typo deebug

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agolibrbd: remove unnecessary md_lock usage 3791/head
Josh Durgin [Thu, 26 Feb 2015 01:41:52 +0000 (17:41 -0800)]
librbd: remove unnecessary md_lock usage

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: move object_map_lock acquisition into refresh()
Josh Durgin [Thu, 26 Feb 2015 01:02:42 +0000 (17:02 -0800)]
librbd: move object_map_lock acquisition into refresh()

Every caller was acquiring this just for these calls.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agodoc: fix typo deebug 3801/head
Gregory Meno [Thu, 26 Feb 2015 01:30:33 +0000 (17:30 -0800)]
doc: fix typo deebug

Signed-off-by: Gregory Meno <gmeno@redhat.com>
10 years agolibrbd: don't check if object map is enabled before refreshing
Josh Durgin [Wed, 25 Feb 2015 23:54:00 +0000 (15:54 -0800)]
librbd: don't check if object map is enabled before refreshing

This check is now done internally by the object map.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: remove object map on rollback if needed
Josh Durgin [Wed, 25 Feb 2015 22:34:15 +0000 (14:34 -0800)]
librbd: remove object map on rollback if needed

When rolling back to a snapshot that did not have object map enabled,
delete the head object map.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: clarify md_lock usage
Josh Durgin [Wed, 25 Feb 2015 02:49:26 +0000 (18:49 -0800)]
librbd: clarify md_lock usage

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agotest_librbd: add simple test for object map snapshot consistency
Josh Durgin [Wed, 25 Feb 2015 02:31:15 +0000 (18:31 -0800)]
test_librbd: add simple test for object map snapshot consistency

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: use snap_lock to protect ImageCtx->size
Josh Durgin [Wed, 25 Feb 2015 01:19:59 +0000 (17:19 -0800)]
librbd: use snap_lock to protect ImageCtx->size

Since this is often looked up by snap_id anyway, snap_lock
is easy to use for this.

This lets us avoid taking md_lock in many places.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: hold snap_lock while reading parent info in diff_iterate
Josh Durgin [Tue, 24 Feb 2015 22:43:10 +0000 (14:43 -0800)]
librbd: hold snap_lock while reading parent info in diff_iterate

Caught be the re-added assertions in ImageCtx::get_parent_info()

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agotest_librbd: close ioctx after imagectx
Josh Durgin [Tue, 24 Feb 2015 22:31:27 +0000 (14:31 -0800)]
test_librbd: close ioctx after imagectx

There's no need to explicitly close the ioctx. Doing so may cause
problems when the Images using it are destroyed afterwards.  Just let
normal cleanup at the end of the block take care of it in the correct
order.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agorbd: fix --image-feature parsing
Josh Durgin [Tue, 24 Feb 2015 05:36:13 +0000 (21:36 -0800)]
rbd: fix --image-feature parsing

Need to use _witharg(), not _flag()

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: apply flag read failure to all snaps
Josh Durgin [Tue, 24 Feb 2015 04:51:23 +0000 (20:51 -0800)]
librbd: apply flag read failure to all snaps

Don't check just the features of head, since it may be possible to
disable object map in the future.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: make ImageCtx->object_map always present
Josh Durgin [Tue, 24 Feb 2015 04:28:38 +0000 (20:28 -0800)]
librbd: make ImageCtx->object_map always present

This simplifies locking by obviating the NULL checks.  We no longer
need md_lock to protect these acceses. We can use object_map_lock
instead, to make sure no one reads an object map while its being
updated.

Keep track of whether the object map is enabled for a given snapshot
internally. In each public method, check this state, and automatically
set it correctly when refreshing the object map. During snapshot
removal, unconditionally try to remove the object map object, to
protect against bugs leaking objects, and to be consistent with image
removal.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agotests: add unit test to verify async requests time out 3796/head
Jason Dillaman [Wed, 25 Feb 2015 17:02:00 +0000 (12:02 -0500)]
tests: add unit test to verify async requests time out

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: restart async requests if lock owner doesn't report progress
Jason Dillaman [Wed, 25 Feb 2015 17:00:26 +0000 (12:00 -0500)]
librbd: restart async requests if lock owner doesn't report progress

Detect the case of a crashed lock owner by waiting for up to 30 seconds
for a async request progress message from the leader.  If a progress
message isn't received, restart the request (and possibly take ownership
of the lock).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: replace Finisher/SafeTimer use with facade
Jason Dillaman [Wed, 25 Feb 2015 04:35:31 +0000 (23:35 -0500)]
librbd: replace Finisher/SafeTimer use with facade

Replace the two Context threading classes used within
ImageWatcher with a facade to orchestrate the scheduling
and canceling of Context task callbacks.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: cancel in-progress maint operations before releasing lock
Jason Dillaman [Tue, 24 Feb 2015 19:33:44 +0000 (14:33 -0500)]
librbd: cancel in-progress maint operations before releasing lock

Ensure that all in-flight maintenance operations (resize, flatten) are
not running when the exclusive lock is released.  The lock will be
released when transitioning to a snapshot, closing the image, or
cooperatively when another client requests the lock.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: flush context potentially completing too early
Jason Dillaman [Tue, 24 Feb 2015 17:53:45 +0000 (12:53 -0500)]
librbd: flush context potentially completing too early

If the async operation associated with a flush request completes,
only complete the flush contexts if no previous operations are
still in flight. Otherwise, move the flush contexts to an older
in-flight async operation.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #3799 from ceph/wip-librbd-image-watcher-tests
Josh Durgin [Thu, 26 Feb 2015 00:42:46 +0000 (16:42 -0800)]
Merge pull request #3799 from ceph/wip-librbd-image-watcher-tests

tests: add additional test coverage for ImageWatcher RPC

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: take ImageCtx->snap_lock for write in add_snap()
Josh Durgin [Tue, 24 Feb 2015 03:50:55 +0000 (19:50 -0800)]
librbd: take ImageCtx->snap_lock for write in add_snap()

add_snap() updates the ImageCtx snapshot metadata in memory, as well
as reading the flags as part of the object map snapshot. Both of these
require holding snap_lock.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: use snap_lock to protect ImageCtx->flags
Josh Durgin [Tue, 24 Feb 2015 03:49:12 +0000 (19:49 -0800)]
librbd: use snap_lock to protect ImageCtx->flags

This is another step towards eliminating md_lock from the writeback
path. Almost all the places that use ImageCtx->flags already use
snap_lock, so there's no need to create a new lock. For the others,
add a helper, test_flags() that acquires the lock, similar to
test_features().

This also makes sure we look up flags of the snapshot we're operating
on, instead of those for head.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: add locking asserts to ImageCtx
Josh Durgin [Tue, 24 Feb 2015 03:03:32 +0000 (19:03 -0800)]
librbd: add locking asserts to ImageCtx

A bunch of these used to be here, but were removed when converting to
RWLocks, before RWLocks had is_[w]locked() methods.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: fix ImageWatcher::is_lock_supported() locking
Josh Durgin [Tue, 24 Feb 2015 02:49:34 +0000 (18:49 -0800)]
librbd: fix ImageWatcher::is_lock_supported() locking

Take snap_lock while reading ImageCtx->snap_id, and
look up the features by snap_id as well.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: add and use a test_features() helper
Josh Durgin [Tue, 24 Feb 2015 02:46:26 +0000 (18:46 -0800)]
librbd: add and use a test_features() helper

This gets the appropriate locks, and checks the currently open
snapshot instead of head.  Looking up features by snap_id prepares us
for future addition or removal of e.g. an object map throughout the
life of an image.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agolibrbd: use ImageCtx->snap_lock for ImageCtx->features
Josh Durgin [Tue, 24 Feb 2015 02:44:05 +0000 (18:44 -0800)]
librbd: use ImageCtx->snap_lock for ImageCtx->features

This was being protected by md_lock, but that has become too coarse
since it is used to prevent writes from proceeding while flushing
caches for a snapshot. With the addition of ObjectMap and
ImageWatcher, writeback could try to acquire md_lock again, leading to
a deadlock.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agotests: add additional test coverage for ImageWatcher RPC 3799/head
Jason Dillaman [Wed, 25 Feb 2015 19:59:38 +0000 (14:59 -0500)]
tests: add additional test coverage for ImageWatcher RPC

Test flatten, resize, and snap create RPC messages along with
basic error code return paths.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agolibrbd: add ostream formatter for NotifyOp
Jason Dillaman [Wed, 25 Feb 2015 17:31:55 +0000 (12:31 -0500)]
librbd: add ostream formatter for NotifyOp

Allow for reuse of the NotifyOp to string conversions within
dencoder and tests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #3794 from ceph/wip-10862-hammer
Gregory Farnum [Wed, 25 Feb 2015 19:07:59 +0000 (11:07 -0800)]
Merge pull request #3794 from ceph/wip-10862-hammer

Backport: mon: do not try and "deactivate" the last MDS

10 years agoMerge pull request #3788 from ceph/wip-devel-python-split
Ken Dreyer [Wed, 25 Feb 2015 19:00:43 +0000 (12:00 -0700)]
Merge pull request #3788 from ceph/wip-devel-python-split

split python-ceph into python-{rados,rbd,cephfs}

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years agodoc/release-notes: final v0.87.1 notes
Sage Weil [Wed, 25 Feb 2015 18:57:43 +0000 (10:57 -0800)]
doc/release-notes: final v0.87.1 notes

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3790 from ceph/hadoop-workunits
Gregory Farnum [Wed, 25 Feb 2015 17:20:49 +0000 (09:20 -0800)]
Merge pull request #3790 from ceph/hadoop-workunits

hadoop: workunits don't need java path

10 years agomon: do not try and "deactivate" the last MDS 3794/head
John Spray [Mon, 23 Feb 2015 14:23:56 +0000 (14:23 +0000)]
mon: do not try and "deactivate" the last MDS

Fixes: #10862
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit a2867987bc561479733839c3891fa14bfcebb849)

10 years agoMerge pull request #3793 from Ved-vampir/master
John Spray [Wed, 25 Feb 2015 14:04:28 +0000 (14:04 +0000)]
Merge pull request #3793 from Ved-vampir/master

common: change default value for perfcounter description ("NO_INFO_FIX">...

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agocommon: change default value for perfcounter description ("NO_INFO_FIX">NULL) 3793/head
Ved-vampir [Wed, 25 Feb 2015 10:09:04 +0000 (13:09 +0300)]
common: change default value for perfcounter description ("NO_INFO_FIX">NULL)

Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
10 years agoMerge pull request #3757 from theanalyst/0.93/contributors
Loic Dachary [Wed, 25 Feb 2015 10:34:12 +0000 (11:34 +0100)]
Merge pull request #3757 from theanalyst/0.93/contributors

mailmap updates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agomailmap: Kefu Chai affiliation 3757/head
Abhishek Lekshmanan [Thu, 19 Feb 2015 09:51:04 +0000 (15:21 +0530)]
mailmap: Kefu Chai affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agomailmap: Andy Allan affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 17:00:17 +0000 (22:30 +0530)]
mailmap: Andy Allan affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Anis Ayari affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 14:13:12 +0000 (19:43 +0530)]
mailmap: Anis Ayari affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Armando Segnini affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 14:09:30 +0000 (19:39 +0530)]
mailmap: Armando Segnini affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Billy Olsen affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 14:08:54 +0000 (19:38 +0530)]
mailmap: Billy Olsen affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Billy Olsen <billy.olsen@canonical.com>
10 years agomailmap: Ahoussi Armand affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 14:07:22 +0000 (19:37 +0530)]
mailmap: Ahoussi Armand affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Hazem Amara affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 14:05:08 +0000 (19:35 +0530)]
mailmap: Hazem Amara affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Karel Striegel affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:59:25 +0000 (19:29 +0530)]
mailmap: Karel Striegel affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Florian Coste affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:56:06 +0000 (19:26 +0530)]
mailmap: Florian Coste affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Petr Machata affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:53:36 +0000 (19:23 +0530)]
mailmap: Petr Machata affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Shanggao Qiu affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:52:10 +0000 (19:22 +0530)]
mailmap: Shanggao Qiu affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Thomas Cantin affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:48:09 +0000 (19:18 +0530)]
mailmap: Thomas Cantin affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Tim Freund affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:32:14 +0000 (19:02 +0530)]
mailmap: Tim Freund affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Travis Rhoden affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:30:06 +0000 (19:00 +0530)]
mailmap: Travis Rhoden affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Kiseleva Alyona affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:28:54 +0000 (18:58 +0530)]
mailmap: Kiseleva Alyona affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Baptiste Veuillez affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:28:32 +0000 (18:58 +0530)]
mailmap: Baptiste Veuillez affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Viktor Suprun affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:17:55 +0000 (18:47 +0530)]
mailmap: Viktor Suprun affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Feng He affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:16:07 +0000 (18:46 +0530)]
mailmap: Feng He affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Jian Wen affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:14:44 +0000 (18:44 +0530)]
mailmap: Jian Wen affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Jian Wen <wenjian@letv.com>
10 years agomailmap: Kim Vandry affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:10:59 +0000 (18:40 +0530)]
mailmap: Kim Vandry affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Robert Jansen affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 13:06:22 +0000 (18:36 +0530)]
mailmap: Robert Jansen affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: MingXin Liu affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 10:34:51 +0000 (16:04 +0530)]
mailmap: MingXin Liu affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agomailmap: Andrew Bartlett affiliation
Abhishek Lekshmanan [Thu, 19 Feb 2015 10:33:33 +0000 (16:03 +0530)]
mailmap: Andrew Bartlett affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Andrew Bartlett <abartlet@catalyst.net.nz>
10 years agoqa: fix python-ceph reference 3788/head
Boris Ranto [Tue, 24 Feb 2015 20:13:15 +0000 (12:13 -0800)]
qa: fix python-ceph reference

Signed-off-by: Boris Ranto <branto@redhat.com>
10 years agodoc: fix python-ceph refs in docs
Boris Ranto [Tue, 24 Feb 2015 20:12:59 +0000 (12:12 -0800)]
doc: fix python-ceph refs in docs

Signed-off-by: Boris Ranto <branto@redhat.com>
10 years agoceph.spec: specify version
Boris Ranto [Tue, 24 Feb 2015 20:11:15 +0000 (12:11 -0800)]
ceph.spec: specify version

Signed-off-by: Boris Ranto <branto@redhat.com>
10 years agodebian: split python-ceph
Sage Weil [Tue, 24 Feb 2015 18:09:47 +0000 (10:09 -0800)]
debian: split python-ceph

- move argparse to ceph-common
- split out rados, rbd, and cephfs bindings into their own packages
- keep python-ceph as a metapackage

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agohadoop: workunits don't need java path 3790/head
Noah Watkins [Wed, 25 Feb 2015 02:26:44 +0000 (18:26 -0800)]
hadoop: workunits don't need java path

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agoSplit python-ceph to appropriate python-* packages
Boris Ranto [Wed, 7 Jan 2015 09:26:49 +0000 (10:26 +0100)]
Split python-ceph to appropriate python-* packages

python-ceph contains various header files/bindings for serveral
libraries, this patch creates *-devel packages for all the
libraries separately and provides the compatibility layer for
the split.

Signed-off-by: Boris Ranto <branto@redhat.com>
10 years agoMerge pull request #3742 from ceph/wip-10788
Samuel Just [Tue, 24 Feb 2015 19:15:06 +0000 (11:15 -0800)]
Merge pull request #3742 from ceph/wip-10788

osd: proxy features with proxied reads; only proxy reads to new peers

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #3787 from ceph/wip-da-SCA-20150219
Sage Weil [Tue, 24 Feb 2015 18:53:21 +0000 (10:53 -0800)]
Merge pull request #3787 from ceph/wip-da-SCA-20150219

SCA fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoCorrected arch diagram signed off by: pmcgarry@redhat.com
Patrick McGarry [Tue, 24 Feb 2015 18:35:38 +0000 (13:35 -0500)]
Corrected arch diagram signed off by: pmcgarry@redhat.com

10 years agoMerge pull request #3786 from ceph/wip-librbd-python-tests
Josh Durgin [Tue, 24 Feb 2015 16:45:48 +0000 (08:45 -0800)]
Merge pull request #3786 from ceph/wip-librbd-python-tests

tests: speed up Python RBD random data generation

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agotest/librados/misc.cc: fix -Wsign-compare 3787/head
Danny Al-Gaaf [Tue, 24 Feb 2015 16:37:07 +0000 (17:37 +0100)]
test/librados/misc.cc: fix -Wsign-compare

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoMerge pull request #3785 from ceph/wip-da-doc-erasure
Loic Dachary [Tue, 24 Feb 2015 14:31:22 +0000 (15:31 +0100)]
Merge pull request #3785 from ceph/wip-da-doc-erasure

doc: add erasure-code-shec to plugin list

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agotests: speed up Python RBD random data generation 3786/head
Jason Dillaman [Tue, 24 Feb 2015 14:25:14 +0000 (09:25 -0500)]
tests: speed up Python RBD random data generation

The RBD large_write test cases was taking multiple minutes to
run under a Fedora 21 VM.  Replaced the million+ random number
generator calls with a single call to os.urandom. The test
now completes within seconds.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agodoc: add erasure-code-shec to plugin list 3785/head
Danny Al-Gaaf [Tue, 24 Feb 2015 14:10:04 +0000 (15:10 +0100)]
doc: add erasure-code-shec to plugin list

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agofix build with clang/clang++
Danny Al-Gaaf [Tue, 24 Feb 2015 12:56:31 +0000 (13:56 +0100)]
fix build with clang/clang++

Fix for:

./include/types.h:121:9: error: call to function 'operator<<'
that is neither visible in the template definition nor found
by argument-dependent lookup

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoMerge pull request #3784 from Ved-vampir/master
Loic Dachary [Tue, 24 Feb 2015 10:52:59 +0000 (11:52 +0100)]
Merge pull request #3784 from Ved-vampir/master

common: add perf counters description

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3783 from tchaikov/update-doc
Loic Dachary [Tue, 24 Feb 2015 10:49:05 +0000 (11:49 +0100)]
Merge pull request #3783 from tchaikov/update-doc

doc: update doc with latest code

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agocommon: add perf counters description 3784/head
Ved-vampir [Tue, 24 Feb 2015 08:21:38 +0000 (11:21 +0300)]
common: add perf counters description

Signed-off-by: Kiseleva Alyona <akiselyova@mirantis.com>
10 years agoerasure-code/shec/shec.cc: fix resource leak
Danny Al-Gaaf [Tue, 24 Feb 2015 09:50:11 +0000 (10:50 +0100)]
erasure-code/shec/shec.cc: fix resource leak

Free tmpmat in error case. Fix for:

[src/erasure-code/shec/shec.cc:176]: (error) Memory leak: tmpmat

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestErasureCodeShec_all.cc: prefer ++operator for non-primitive iter
Danny Al-Gaaf [Tue, 24 Feb 2015 09:47:07 +0000 (10:47 +0100)]
TestErasureCodeShec_all.cc: prefer ++operator for non-primitive iter

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd/osd_types.cc: prefer ++operator for non-primitive iter
Danny Al-Gaaf [Tue, 24 Feb 2015 09:46:17 +0000 (10:46 +0100)]
osd/osd_types.cc: prefer ++operator for non-primitive iter

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomon/PGMap.cc: prefer ++operator for non-primitive iter
Danny Al-Gaaf [Tue, 24 Feb 2015 09:45:27 +0000 (10:45 +0100)]
mon/PGMap.cc: prefer ++operator for non-primitive iter

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoerasure-code/shec/shec.cc: reduce scope of variables
Danny Al-Gaaf [Tue, 24 Feb 2015 09:43:57 +0000 (10:43 +0100)]
erasure-code/shec/shec.cc: reduce scope of variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoErasureCodeShec.cc: prefer ++operator for non-primitive iter
Danny Al-Gaaf [Tue, 24 Feb 2015 09:41:44 +0000 (10:41 +0100)]
ErasureCodeShec.cc: prefer ++operator for non-primitive iter

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agolibradosstriper/striping.cc: fix resource leak
Danny Al-Gaaf [Tue, 24 Feb 2015 08:21:17 +0000 (09:21 +0100)]
libradosstriper/striping.cc: fix resource leak

Fix for:

CID 1221525 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Failing to save or free storage allocated
 by this->getObjName(soid, 0UL) leaks it.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agodoc: update doc with latest code 3783/head
Kefu Chai [Tue, 24 Feb 2015 08:02:08 +0000 (16:02 +0800)]
doc: update doc with latest code

* also silence some warnings of doxygen

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #3782 from ceph/hadoop-workunits
Gregory Farnum [Tue, 24 Feb 2015 06:35:08 +0000 (22:35 -0800)]
Merge pull request #3782 from ceph/hadoop-workunits

Hadoop workunits