]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agolibrbd: Fix image_watcher test 4239/head
Haomai Wang [Fri, 10 Apr 2015 08:51:31 +0000 (16:51 +0800)]
librbd: Fix image_watcher test

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Don't affect global md_config_t
Haomai Wang [Fri, 10 Apr 2015 07:25:33 +0000 (15:25 +0800)]
Librbd: Don't affect global md_config_t

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Don't apply to global configserver
Haomai Wang [Thu, 9 Apr 2015 08:07:30 +0000 (16:07 +0800)]
Librbd: Don't apply to global configserver

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: aware_metadata_confs->apply_metadata_confs
Haomai Wang [Thu, 9 Apr 2015 08:06:06 +0000 (16:06 +0800)]
Librbd: aware_metadata_confs->apply_metadata_confs

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Use boost:assign to init aware_confs
Haomai Wang [Thu, 9 Apr 2015 08:04:07 +0000 (16:04 +0800)]
Librbd: Use boost:assign to init aware_confs

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Discard all global config used for image
Haomai Wang [Fri, 3 Apr 2015 03:01:57 +0000 (11:01 +0800)]
Librbd: Discard all global config used for image

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Make image aware of more configs
Haomai Wang [Tue, 31 Mar 2015 03:01:17 +0000 (11:01 +0800)]
Librbd: Make image aware of more configs

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Add existing rbd configs to aware table
Haomai Wang [Mon, 30 Mar 2015 10:42:36 +0000 (18:42 +0800)]
Librbd: Add existing rbd configs to aware table

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Add tests for aware metadata config
Haomai Wang [Mon, 30 Mar 2015 09:46:42 +0000 (17:46 +0800)]
Librbd: Add tests for aware metadata config

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoLibrbd: Add basic metadata aware method
Haomai Wang [Mon, 30 Mar 2015 07:57:34 +0000 (15:57 +0800)]
Librbd: Add basic metadata aware method

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoMerge pull request #4209 from ceph/wip-java
Gregory Farnum [Sat, 28 Mar 2015 18:02:52 +0000 (11:02 -0700)]
Merge pull request #4209 from ceph/wip-java

fix rhel linking error

Backport: giant, firefly, dumpling

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agojava: libcephfs_jni.so is in /usr/lib64 on rhel 4209/head
Noah Watkins [Sat, 28 Mar 2015 02:34:12 +0000 (19:34 -0700)]
java: libcephfs_jni.so is in /usr/lib64 on rhel

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agojava: dump extra info for ftruncate assertion
Noah Watkins [Sat, 28 Mar 2015 02:09:15 +0000 (19:09 -0700)]
java: dump extra info for ftruncate assertion

Nightly ran and encountered a situation in which fstat following
ftruncate reported a size not equal to the truncated size.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agoMerge pull request #4203 from Vicente-Cheng/fixed-get-mdsmap-assertion
Gregory Farnum [Fri, 27 Mar 2015 18:35:30 +0000 (11:35 -0700)]
Merge pull request #4203 from Vicente-Cheng/fixed-get-mdsmap-assertion

mds: fixed the ceph get mdsmap assertion.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4173 from ceph/wip-mds-kill-session
Gregory Farnum [Fri, 27 Mar 2015 18:29:19 +0000 (11:29 -0700)]
Merge pull request #4173 from ceph/wip-mds-kill-session

Wip mds kill session

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <jspray@redhat.com>
10 years agoMerge pull request #4168 from ceph/wip-11226-dir-fx
Gregory Farnum [Fri, 27 Mar 2015 18:28:31 +0000 (11:28 -0700)]
Merge pull request #4168 from ceph/wip-11226-dir-fx

RFC client: Hold on to exclusive caps on directories we "own"

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4177 from ceph/wip-11226-extra
Gregory Farnum [Fri, 27 Mar 2015 18:27:58 +0000 (11:27 -0700)]
Merge pull request #4177 from ceph/wip-11226-extra

Wip 11226 extra

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4189 from ceph/wip-11236
Gregory Farnum [Fri, 27 Mar 2015 18:26:21 +0000 (11:26 -0700)]
Merge pull request #4189 from ceph/wip-11236

test_libcephfs: do cleanup in ReleaseMounted test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4192 from ceph/wip-11218
Gregory Farnum [Fri, 27 Mar 2015 18:24:50 +0000 (11:24 -0700)]
Merge pull request #4192 from ceph/wip-11218

#11218: Multi-MDS fixes for 'damaged' ranks

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4199 from ceph/wip-11250
Josh Durgin [Fri, 27 Mar 2015 15:51:19 +0000 (08:51 -0700)]
Merge pull request #4199 from ceph/wip-11250

cls_rbd: fix read past end of bufferlist c_str() in debug log msg

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #4200 from ceph/wip-mds-remove-inode
John Spray [Fri, 27 Mar 2015 11:33:07 +0000 (11:33 +0000)]
Merge pull request #4200 from ceph/wip-mds-remove-inode

mds: properly remove inode after purging stray

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoFixed the ceph get mdsmap assertion. 4203/head
Vicente Cheng [Fri, 27 Mar 2015 10:49:28 +0000 (18:49 +0800)]
Fixed the ceph get mdsmap assertion.

    When we want to get mdsmap, we try to get_version()
    and the return value err = 0 means success.

    The assert verified r == 0. r would not change in this flow.
    It always meet assert and lead mon failure.

    I think this verify should be:
        assert(err == 0)
    It will help to check return value of get_version().

If you have any questions, feel free to let me know.
Thanks!

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
10 years agoMerge pull request #4193 from larkly/patch-docerror-erasure
Kefu Chai [Fri, 27 Mar 2015 10:31:16 +0000 (18:31 +0800)]
Merge pull request #4193 from larkly/patch-docerror-erasure

doc: Incomplete example in erasure-coded-pool.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agomds: properly remove inode after purging stray 4200/head
Yan, Zheng [Fri, 27 Mar 2015 07:09:21 +0000 (15:09 +0800)]
mds: properly remove inode after purging stray

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agocls_rbd: fix read past end of bufferlist c_str() in debug log msg 4199/head
Sage Weil [Fri, 27 Mar 2015 04:00:00 +0000 (21:00 -0700)]
cls_rbd: fix read past end of bufferlist c_str() in debug log msg

Fixes: #11250
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4171 from majianpeng/cleanup
Sage Weil [Fri, 27 Mar 2015 00:45:20 +0000 (17:45 -0700)]
Merge pull request #4171 from majianpeng/cleanup

common: print hexadecimal for ghobject_t.generation.

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoDoc: Incomplete example in erasure-coded-pool.rst 4193/head
Bosse Klykken [Thu, 26 Mar 2015 14:34:31 +0000 (15:34 +0100)]
Doc: Incomplete example in erasure-coded-pool.rst

Signed-off-by: Bosse Klykken <larkly@gmail.com>
10 years agoMerge pull request #4113 from wonzhq/rbd-fix
Josh Durgin [Thu, 26 Mar 2015 17:06:37 +0000 (10:06 -0700)]
Merge pull request #4113 from wonzhq/rbd-fix

rbd: misc fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agomds: include damaged in MDSMap::dump 4192/head
John Spray [Thu, 26 Mar 2015 15:48:17 +0000 (15:48 +0000)]
mds: include damaged in MDSMap::dump

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: update peer failure response to account for damaged
John Spray [Thu, 26 Mar 2015 12:52:36 +0000 (12:52 +0000)]
mds: update peer failure response to account for damaged

...by calling get_down_mds_set instead of get_failed_mds_set.

Also remove a redundant if(true) around this region.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: add get_down_mds_set method
John Spray [Thu, 26 Mar 2015 12:45:45 +0000 (12:45 +0000)]
mds: add get_down_mds_set method

For places where we would like to treat failed
and damaged MDS ranks the same, like detecting
when someone has dropped offline.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: account for 'damaged' in MDSMap::is_degraded
John Spray [Thu, 26 Mar 2015 12:51:30 +0000 (12:51 +0000)]
mds: account for 'damaged' in MDSMap::is_degraded

Fixes: #11218
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: clarify MDBalancer::send_heartbeat
John Spray [Thu, 26 Mar 2015 12:22:43 +0000 (12:22 +0000)]
mds: clarify MDBalancer::send_heartbeat

The initial is_degraded() check guarantees that
the 'in' set is equal to the 'up' set.  Later,
this calls get_mds_set and assigns it to a variable
called 'up'.

It's clearer to use get_up_mds_set into the variable
called up (this was confusing when debugging #11218
which was itself a result of is_degraded() ignoring
damaged ranks).

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotest_libcephfs: do cleanup in ReleaseMounted test 4189/head
Yan, Zheng [Thu, 26 Mar 2015 07:10:38 +0000 (15:10 +0800)]
test_libcephfs: do cleanup in ReleaseMounted test

Fixes: #11236
Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #4188 from XinzeChi/wip-test-1
Loic Dachary [Thu, 26 Mar 2015 06:45:05 +0000 (07:45 +0100)]
Merge pull request #4188 from XinzeChi/wip-test-1

test: add compile-command for test_ceph_daemon.py

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agotest: add compile-command for test_ceph_daemon.py 4188/head
Xinze Chi [Thu, 26 Mar 2015 05:58:33 +0000 (13:58 +0800)]
test: add compile-command for test_ceph_daemon.py

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
10 years agocommon: print hexadecimal for ghobject_t.generation & shard_id 4171/head
Jianpeng Ma [Thu, 26 Mar 2015 05:51:02 +0000 (13:51 +0800)]
common: print hexadecimal for ghobject_t.generation & shard_id

In filestore, it use hexadecimal for ghobject_t.generation &
shard_id. Make the same.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agoMerge pull request #4181 from ceph/wip-rpm-systemd-conditional-syntax
Loic Dachary [Wed, 25 Mar 2015 20:40:22 +0000 (21:40 +0100)]
Merge pull request #4181 from ceph/wip-rpm-systemd-conditional-syntax

ceph.spec.in: fix _with_systemd conditional

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4182 from ceph/wip-replicatedpg-signed
Gregory Farnum [Wed, 25 Mar 2015 20:39:04 +0000 (13:39 -0700)]
Merge pull request #4182 from ceph/wip-replicatedpg-signed

ReplicatedPG: fix a signed/unsigned comparison warning

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoReplicatedPG: fix a signed/unsigned comparison warning 4182/head
Greg Farnum [Wed, 25 Mar 2015 19:03:38 +0000 (12:03 -0700)]
ReplicatedPG: fix a signed/unsigned comparison warning

This mismatch about whether pool IDs are signed or unsigned is
a persistent annoyance. I'm now casting the unsigned down to signed space
because apparently the OSD is using negative IDs for temporary object
namespaces.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoceph.spec.in: fix _with_systemd conditional 4181/head
Ken Dreyer [Wed, 25 Mar 2015 18:16:03 +0000 (12:16 -0600)]
ceph.spec.in: fix _with_systemd conditional

The RPM conditional needs a "?" in the event that it is not defined.

10 years agoclient: Hold on to exclusive caps on directories we "own" 4168/head
Greg Farnum [Tue, 24 Mar 2015 22:15:42 +0000 (15:15 -0700)]
client: Hold on to exclusive caps on directories we "own"

If a directory is complete, we *really* want to keep the exclusive cap
so that we don't end up needing to do MDS lookup requests on every cache
miss.

Fixes: #11226
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge remote-tracking branch 'gh/hammer'
Sage Weil [Wed, 25 Mar 2015 17:30:20 +0000 (10:30 -0700)]
Merge remote-tracking branch 'gh/hammer'

Conflicts:
src/gmock

10 years agoMerge pull request #3688 from XinzeChi/wip-clear-transaction
Sage Weil [Wed, 25 Mar 2015 17:28:25 +0000 (10:28 -0700)]
Merge pull request #3688 from XinzeChi/wip-clear-transaction

osd: new transcation if needed

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #3870 from majianpeng/cache-tier
Sage Weil [Wed, 25 Mar 2015 17:27:56 +0000 (10:27 -0700)]
Merge pull request #3870 from majianpeng/cache-tier

Cache tier bug fixs

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3679 from mslovy/wip-findObjectContext-opt
Sage Weil [Wed, 25 Mar 2015 17:24:43 +0000 (10:24 -0700)]
Merge pull request #3679 from mslovy/wip-findObjectContext-opt

ReplicatedPG:: find_object_context clear extra creation (head,snapdir)

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4065 from majianpeng/pgop-memleak
Sage Weil [Wed, 25 Mar 2015 17:24:17 +0000 (10:24 -0700)]
Merge pull request #4065 from majianpeng/pgop-memleak

osd/ReplicatedPG: Fix a memory leak in do_pg_op.

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3974 from majianpeng/fgetattr-fix
Sage Weil [Wed, 25 Mar 2015 17:24:00 +0000 (10:24 -0700)]
Merge pull request #3974 from majianpeng/fgetattr-fix

os/FileStore: For getxattr, enlarge the value size avoid try again.

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3604 from yghannam/yazen-testing
Sage Weil [Wed, 25 Mar 2015 17:06:46 +0000 (10:06 -0700)]
Merge pull request #3604 from yghannam/yazen-testing

crc32c: add aarch64 optimized crc32c implementation

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4073 from jdurgin/wip-lttng-daemon
Sage Weil [Wed, 25 Mar 2015 17:06:13 +0000 (10:06 -0700)]
Merge pull request #4073 from jdurgin/wip-lttng-daemon

common, global: use lttng ust functions for handling fork-like calls

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3916 from ceph/wip-rpm-no-ghost-socket-dir
Danny Al-Gaaf [Wed, 25 Mar 2015 16:27:14 +0000 (17:27 +0100)]
Merge pull request #3916 from ceph/wip-rpm-no-ghost-socket-dir

ceph.spec.in: fix handling of /var/run/ceph

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoMerge pull request #4000 from ceph/wip-da-SCA-20150312
Kefu Chai [Wed, 25 Mar 2015 16:12:35 +0000 (00:12 +0800)]
Merge pull request #4000 from ceph/wip-da-SCA-20150312

Fixes for Covertity issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #4128 from dzafman/wip-11139-hammer
Samuel Just [Wed, 25 Mar 2015 15:29:31 +0000 (08:29 -0700)]
Merge pull request #4128 from dzafman/wip-11139-hammer

ceph-objectstore-tool: Use exit status 11 for incompatible import attemp...

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #4124 from ceph/wip-omap-clear
Samuel Just [Wed, 25 Mar 2015 15:27:59 +0000 (08:27 -0700)]
Merge pull request #4124 from ceph/wip-omap-clear

osd: fix omap_clear handling

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #4179 from ceph/wip-11065
Loic Dachary [Wed, 25 Mar 2015 15:27:20 +0000 (16:27 +0100)]
Merge pull request #4179 from ceph/wip-11065

unit/tox tests structure for ceph-disk

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph-disk: add test files to EXTRA_DIST 4179/head
Alfredo Deza [Wed, 25 Mar 2015 14:10:43 +0000 (10:10 -0400)]
ceph-disk: add test files to EXTRA_DIST

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoceph-disk: remove double import
Alfredo Deza [Wed, 25 Mar 2015 13:47:13 +0000 (09:47 -0400)]
ceph-disk: remove double import

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoceph-disk: create initial structure for tox/unit tests
Alfredo Deza [Wed, 25 Mar 2015 13:46:16 +0000 (09:46 -0400)]
ceph-disk: create initial structure for tox/unit tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoclient: conclude -ENOENT when there is null dentry 4177/head
Yan, Zheng [Wed, 25 Mar 2015 08:17:44 +0000 (16:17 +0800)]
client: conclude -ENOENT when there is null dentry

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoclient: don't clear COMPLETE flag when trimming null dentry
Yan, Zheng [Wed, 25 Mar 2015 08:15:44 +0000 (16:15 +0800)]
client: don't clear COMPLETE flag when trimming null dentry

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agomds: make sure readdir reply include Fs cap for directory
Yan, Zheng [Wed, 25 Mar 2015 07:40:05 +0000 (15:40 +0800)]
mds: make sure readdir reply include Fs cap for directory

filelock in LOCK_XSYN state does not allow Fs cap. so client can't
mark directory as complete when handling the readdir reply.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #4170 from ceph/hammer-11205
Gregory Farnum [Wed, 25 Mar 2015 04:35:29 +0000 (21:35 -0700)]
Merge pull request #4170 from ceph/hammer-11205

qa/workunits/fs/misc: fix filelock_interrupt.py

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoqa/workunits/fs/misc: fix filelock_interrupt.py 4170/head
Yan, Zheng [Mon, 2 Mar 2015 13:04:25 +0000 (21:04 +0800)]
qa/workunits/fs/misc: fix filelock_interrupt.py

Handle the case that kernel does not support fcntl.F_OFD_SETLK.
Also fix the code that checks if fnctl fails with errno == EINTR.

Fixes: 11205
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 4ececa3dc4a21b98f61a592da9e2be60a0d71625)

10 years agomds: drop replayed requests when seesion is closed 4173/head
Yan, Zheng [Wed, 25 Mar 2015 02:33:23 +0000 (10:33 +0800)]
mds: drop replayed requests when seesion is closed

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agomds: fix crash when killing busy session
Yan, Zheng [Tue, 24 Mar 2015 07:01:49 +0000 (15:01 +0800)]
mds: fix crash when killing busy session

journal_close_session() has already freed pending_prealloc_inos

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #4162 from athanatos/wip-11156
Sage Weil [Tue, 24 Mar 2015 19:15:21 +0000 (12:15 -0700)]
Merge pull request #4162 from athanatos/wip-11156

ReplicatedPG::promote_object: check scrubber and block if necessary

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4164 from athanatos/wip-revert-degraded-writes-release-notes
Sage Weil [Tue, 24 Mar 2015 16:43:38 +0000 (09:43 -0700)]
Merge pull request #4164 from athanatos/wip-revert-degraded-writes-release-notes

release-notes.rst: update for degraded writes revert

10 years agorelease-notes.rst: update for degraded writes revert 4164/head
Samuel Just [Tue, 24 Mar 2015 16:39:42 +0000 (09:39 -0700)]
release-notes.rst: update for degraded writes revert

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #4163 from athanatos/wip-revert-degraded-writes
Samuel Just [Tue, 24 Mar 2015 16:31:13 +0000 (09:31 -0700)]
Merge pull request #4163 from athanatos/wip-revert-degraded-writes

Wip revert degraded writes

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #4161 from trhoden/cephdeploy_not_new
Sage Weil [Tue, 24 Mar 2015 16:23:38 +0000 (09:23 -0700)]
Merge pull request #4161 from trhoden/cephdeploy_not_new

doc: no longer call out ceph-deploy as new

10 years agodoc: no longer call out ceph-deploy as new 4161/head
Travis Rhoden [Tue, 24 Mar 2015 16:05:07 +0000 (12:05 -0400)]
doc: no longer call out ceph-deploy as new

The tip declaring ceph-deploy as new doesn't really apply anymore.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #4154 from XinzeChi/wip-test-lfn-index
Loic Dachary [Tue, 24 Mar 2015 13:05:23 +0000 (14:05 +0100)]
Merge pull request #4154 from XinzeChi/wip-test-lfn-index

bug fix: test case for lfn index

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4150 from javierguerragiraldez/master
Kefu Chai [Tue, 24 Mar 2015 12:48:00 +0000 (20:48 +0800)]
Merge pull request #4150 from javierguerragiraldez/master

libradosstriper: declare libradosstriper library dependencies

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #4157 from majianpeng/cleanup
Kefu Chai [Tue, 24 Mar 2015 12:19:57 +0000 (20:19 +0800)]
Merge pull request #4157 from majianpeng/cleanup

librados: remove the unused flags.

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agolibrados: remove the unused flags. 4157/head
Jianpeng Ma [Tue, 24 Mar 2015 11:04:35 +0000 (19:04 +0800)]
librados: remove the unused flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agobug fix: test case for lfn index 4154/head
Xinze Chi [Tue, 24 Mar 2015 10:42:04 +0000 (18:42 +0800)]
bug fix: test case for lfn index

tests: TestFlatIndex.cc races with TestLFNIndex.cc
Both use the same PATH and when run in parallel they sometime conflict.

Fixes: #11217
Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
10 years agoMerge pull request #4099 from rajukv/xio-bugfix
Kefu Chai [Tue, 24 Mar 2015 03:31:53 +0000 (11:31 +0800)]
Merge pull request #4099 from rajukv/xio-bugfix

XIO: Handle queued incoming XIO messages during retry

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #4152 from ceph/wip-11145
Sage Weil [Tue, 24 Mar 2015 01:11:08 +0000 (18:11 -0700)]
Merge pull request #4152 from ceph/wip-11145

rgw: shut down timer before erroring out

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agodoc/release-notes: draft hammer release notes
Sage Weil [Mon, 23 Mar 2015 23:13:44 +0000 (16:13 -0700)]
doc/release-notes: draft hammer release notes

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agobe gender neutral
Alexandre Marangone [Mon, 23 Mar 2015 23:36:08 +0000 (16:36 -0700)]
be gender neutral

Signed-off-by: Alexandre Marangone <amarango@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agorgw: shut down timer before erroring out 4152/head
Yehuda Sadeh [Mon, 23 Mar 2015 23:21:14 +0000 (16:21 -0700)]
rgw: shut down timer before erroring out

Fixes: #11145
Backport: hammer

Clean up initialization timer, otherwise if we error out, we'll assert.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoDeclare libradosstriper library dependencies 4150/head
Javier Guerra [Mon, 23 Mar 2015 22:44:31 +0000 (17:44 -0500)]
Declare libradosstriper library dependencies

When omitted, trying to dynamically load libradosstriper results in "undefined symbol" errors.

Signed-off-by: Javier Guerra <javier@guerrag.com>
10 years agoMerge pull request #4081 from ian-kelling/master
Loic Dachary [Mon, 23 Mar 2015 22:42:46 +0000 (23:42 +0100)]
Merge pull request #4081 from ian-kelling/master

doc: consistent alternate cluster name arguments

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoReplicatedPG::promote_object: check scrubber and block if necessary 4162/head
Samuel Just [Fri, 20 Mar 2015 22:28:15 +0000 (15:28 -0700)]
ReplicatedPG::promote_object: check scrubber and block if necessary

Otherwise, we might attempt to promote into an in-progress scrub
interval causing 11156.  I would have added a return value to
promote_object(), but could not find an existing user which
cared to distinguish the cases, even with a null op passed.
All existing users are in maybe_handle_cache.  The ones which
pass a null op are for promoting the object in parallel
with a proxy -- a case where not actually performing the promote
does not really matter.

Fixes: #11156
Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #4148 from dobbler123/master
Loic Dachary [Mon, 23 Mar 2015 21:30:59 +0000 (22:30 +0100)]
Merge pull request #4148 from dobbler123/master

doc: Fixes spelling and grammatical errors

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Fixes spelling and grammatical errors 4148/head
Vartika Rai [Mon, 23 Mar 2015 20:41:34 +0000 (02:11 +0530)]
doc: Fixes spelling and grammatical errors

Signed-off-by: Vartika Rai <vartikarai17@gmail.com>
10 years agoMerge pull request #4146 from rlrevell/wip-doc-rlrevell-clarify-nova-instructions
Loic Dachary [Mon, 23 Mar 2015 20:17:03 +0000 (21:17 +0100)]
Merge pull request #4146 from rlrevell/wip-doc-rlrevell-clarify-nova-instructions

doc: Clarify the requirement that the cinder user's key must be present ...

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4147 from rlrevell/wip-doc-rlrevell-correct-git-instructions
Loic Dachary [Mon, 23 Mar 2015 20:15:26 +0000 (21:15 +0100)]
Merge pull request #4147 from rlrevell/wip-doc-rlrevell-correct-git-instructions

doc: Correct git push instructions adding branch name

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4009 from objoo/for-hammer
Loic Dachary [Mon, 23 Mar 2015 20:13:29 +0000 (21:13 +0100)]
Merge pull request #4009 from objoo/for-hammer

mailmap: v.0.94 updates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Correct git push instructions adding branch name 4147/head
Lee Revell [Mon, 23 Mar 2015 20:03:48 +0000 (16:03 -0400)]
doc: Correct git push instructions adding branch name

Signed-off-by: Lee Revell <rlrevell@gmail.com>
10 years agoMerge pull request #4056 from dmitryya/issue_11140
Loic Dachary [Mon, 23 Mar 2015 19:48:02 +0000 (20:48 +0100)]
Merge pull request #4056 from dmitryya/issue_11140

rgw: init script in stop action waits until the radosgw stops

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge remote-tracking branch 'gh/hammer'
Sage Weil [Mon, 23 Mar 2015 19:45:16 +0000 (12:45 -0700)]
Merge remote-tracking branch 'gh/hammer'

Conflicts:
src/gmock

10 years agorgw: init script waits until the radosgw stops 4056/head
Dmitry Yatsushkevich [Tue, 17 Mar 2015 22:44:52 +0000 (15:44 -0700)]
rgw: init script waits until the radosgw stops

Fixes: #11140
Init script waits in stop action until the radowgw daemons stop.

Signed-off-by: Dmitry Yatsushkevich <dyatsushkevich@mirantis.com>
10 years agodoc: Clarify the requirement that the cinder user's key must be present on the comput... 4146/head
Lee Revell [Mon, 23 Mar 2015 19:37:29 +0000 (15:37 -0400)]
doc: Clarify the requirement that the cinder user's key must be present on the compute nodes

Signed-off-by: Lee Revell <rlrevell@gmail.com>
10 years agoMerge pull request #4125 from dzafman/wip-11176-hammer
Loic Dachary [Mon, 23 Mar 2015 19:37:14 +0000 (20:37 +0100)]
Merge pull request #4125 from dzafman/wip-11176-hammer

ceph-objectstore-tool: Output only unsupported features when incomatible

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4086 from tchaikov/fix-doxygen-warnings
Loic Dachary [Mon, 23 Mar 2015 19:35:52 +0000 (20:35 +0100)]
Merge pull request #4086 from tchaikov/fix-doxygen-warnings

doc: fix doxygen warnings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #4145 from ceph/wip-hammer-rgw
Sage Weil [Mon, 23 Mar 2015 19:30:47 +0000 (12:30 -0700)]
Merge pull request #4145 from ceph/wip-hammer-rgw

Wip hammer rgw

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoosd/: s/is_degraded_object/is_degraded_or_backfilling_object 4163/head
Samuel Just [Tue, 17 Feb 2015 18:16:57 +0000 (10:16 -0800)]
osd/: s/is_degraded_object/is_degraded_or_backfilling_object

Currently, this method also returns true if the object is backfilling.
This commit was reverted earlier in the branch in order to make the
other reverts clean.  It's actually a nice rename though, so I'm
re-cherry-picking it.

Signed-off-by: Samuel Just <sjust@redhat.com>
Conflicts:
src/osd/ReplicatedPG.cc

10 years agoRevert "osd/: update peer_missing and local missing if we write a degraded object"
Samuel Just [Mon, 23 Mar 2015 18:54:57 +0000 (11:54 -0700)]
Revert "osd/: update peer_missing and local missing if we write a degraded object"

This reverts commit c632fecb87e292eb73161f36d4e6df6f077fae77.

10 years agoRevert "append_log: use remove_snap_mapped_object"
Samuel Just [Mon, 23 Mar 2015 18:54:44 +0000 (11:54 -0700)]
Revert "append_log: use remove_snap_mapped_object"

This reverts commit 964d17756f9e49002eb96c4f27a3f41da0880f71.