]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agotools: remove old ceph.cc 2647/head
John Spray [Fri, 3 Oct 2014 18:12:52 +0000 (19:12 +0100)]
tools: remove old ceph.cc

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #2649 from ceph/wip-os-recommend-doc-fix
Sage Weil [Mon, 6 Oct 2014 18:20:10 +0000 (11:20 -0700)]
Merge pull request #2649 from ceph/wip-os-recommend-doc-fix

doc: update kernel recommendations, add tunables link

10 years agodoc: update kernel recommendations, add tunables link 2649/head
Ilya Dryomov [Fri, 3 Oct 2014 15:23:27 +0000 (19:23 +0400)]
doc: update kernel recommendations, add tunables link

No 3.16.[0-2] - same rbd deadlock regression as in 3.15.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agoMerge pull request #2644 from objoo/master
Loic Dachary [Sun, 5 Oct 2014 21:18:02 +0000 (23:18 +0200)]
Merge pull request #2644 from objoo/master

Add one more case ( "=" ) and test get_str_vec as well.

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agoAdd one more case ( "=" ) and test get_str_vec as well. 2644/head
Yann Dupont [Sun, 28 Sep 2014 22:14:45 +0000 (00:14 +0200)]
Add one more case ( "=" ) and test get_str_vec as well.
Signed-off-by: Yann Dupont <yann@objoo.org>
10 years agoMerge pull request #2641 from dachary/wip-9655-osd-tell
Sage Weil [Sun, 5 Oct 2014 16:00:01 +0000 (09:00 -0700)]
Merge pull request #2641 from dachary/wip-9655-osd-tell

qa: ceph tell must retry on ENXIO

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2599 from johnugeorge/wip-9492-crush-indep
Loic Dachary [Sat, 4 Oct 2014 09:45:09 +0000 (11:45 +0200)]
Merge pull request #2599 from johnugeorge/wip-9492-crush-indep

Crush: Ensuring at most num-rep osds are selected for indep rules

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agoqa: ceph tell must retry on ENXIO 2641/head
Loic Dachary [Sat, 4 Oct 2014 09:34:27 +0000 (11:34 +0200)]
qa: ceph tell must retry on ENXIO

It is expected for ceph tell to fail with ENXIO if the daemon it is
trying to join is not ready for some reason. This should be handled as a
transient error instead of a fatal error.

Add two shell functions to help with retry. They may prove useful if
other cases requiring a few retries show up.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoCrush: Ensuring at most num-rep osds are selected 2599/head
Johnu George [Mon, 29 Sep 2014 17:07:44 +0000 (10:07 -0700)]
Crush: Ensuring at most num-rep osds are selected

Crush temporary buffers are allocated as per replica size configured
by the user.When there are more final osds (to be selected as per
rule) than the replicas, buffer overlaps and it causes crash.Now, it
ensures that at most num-rep osds are selected even if more number of
osds are allowed by indep rule. The fix for firstn rules is already
merged as part of bug #9492. Required test files are added.

Fixes: #9492
Signed-off-by: Johnu George johnugeo@cisco.com
10 years agoMerge remote-tracking branch 'gh/giant'
Sage Weil [Sat, 4 Oct 2014 00:56:31 +0000 (17:56 -0700)]
Merge remote-tracking branch 'gh/giant'

10 years agoMerge pull request #2640 from ceph/wip-9657
Sage Weil [Sat, 4 Oct 2014 00:02:56 +0000 (17:02 -0700)]
Merge pull request #2640 from ceph/wip-9657

messages: provide an explicit COMPAT_VERSION in MMDSBeacon

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agomessages: provide an explicit COMPAT_VERSION in MMDSBeacon 2640/head
Greg Farnum [Fri, 3 Oct 2014 23:06:53 +0000 (16:06 -0700)]
messages: provide an explicit COMPAT_VERSION in MMDSBeacon

We weren't setting an explicit compat version and so the Message
was setting it to the head version, breaking communication with
older daemons.

Fixes: #9657
Signed-off-by: Greg Farnum <greg@inktank.com>
10 years agodebian/control: BuildDepend on lsb-release
Sage Weil [Fri, 3 Oct 2014 20:45:48 +0000 (13:45 -0700)]
debian/control: BuildDepend on lsb-release

debian/rules uses it to make lttng build conditional.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2635 from dachary/wip-9653-ceph-disk-bootstrap-osd-giant
Sage Weil [Fri, 3 Oct 2014 18:58:54 +0000 (11:58 -0700)]
Merge pull request #2635 from dachary/wip-9653-ceph-disk-bootstrap-osd-giant

ceph-disk: bootstrap-osd keyring ignores --statedir (giant)

10 years agoMerge pull request #2633 from dachary/wip-9653-ceph-disk-bootstrap-osd
Sage Weil [Fri, 3 Oct 2014 18:58:32 +0000 (11:58 -0700)]
Merge pull request #2633 from dachary/wip-9653-ceph-disk-bootstrap-osd

ceph-disk: bootstrap-osd keyring ignores --statedir

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2637 from dachary/wip-9245-test-mon-pending-giant
Sage Weil [Fri, 3 Oct 2014 18:24:44 +0000 (11:24 -0700)]
Merge pull request #2637 from dachary/wip-9245-test-mon-pending-giant

mon: obsolete osdmonitor_prepare_command (giant)

10 years agotests: remove tests requiring osdmonitor_prepare_command 2637/head
Loic Dachary [Fri, 3 Oct 2014 14:12:12 +0000 (16:12 +0200)]
tests: remove tests requiring osdmonitor_prepare_command

Although they have been useful, their maintenance and fragility caused
more trouble than their benefits.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit 038de0031bc0892359201012dafb82ac1b1a4d0f)

10 years agomon: obsolete osdmonitor_prepare_command
Loic Dachary [Fri, 3 Oct 2014 14:10:30 +0000 (16:10 +0200)]
mon: obsolete osdmonitor_prepare_command

And the mon_advanced_debug_mode option that is only used in the context
of osdmonitor_prepare_command.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit 2abc8f400f7db256c2a30f1d0886a593e6c194eb)

10 years agotest: minor case fix
Loic Dachary [Sat, 6 Sep 2014 14:06:12 +0000 (16:06 +0200)]
test: minor case fix

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit 6f698374562de74806203c7b41072572b59bd256)

10 years agoMerge pull request #2636 from dachary/wip-9245-test-mon-pending
Sage Weil [Fri, 3 Oct 2014 16:27:27 +0000 (09:27 -0700)]
Merge pull request #2636 from dachary/wip-9245-test-mon-pending

mon: obsolete osdmonitor_prepare_command

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agotests: remove tests requiring osdmonitor_prepare_command 2636/head
Loic Dachary [Fri, 3 Oct 2014 14:12:12 +0000 (16:12 +0200)]
tests: remove tests requiring osdmonitor_prepare_command

Although they have been useful, their maintenance and fragility caused
more trouble than their benefits.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agomon: obsolete osdmonitor_prepare_command
Loic Dachary [Fri, 3 Oct 2014 14:10:30 +0000 (16:10 +0200)]
mon: obsolete osdmonitor_prepare_command

And the mon_advanced_debug_mode option that is only used in the context
of osdmonitor_prepare_command.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agotest: minor case fix
Loic Dachary [Sat, 6 Sep 2014 14:06:12 +0000 (16:06 +0200)]
test: minor case fix

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoceph-disk: bootstrap-osd keyring ignores --statedir 2635/head
Loic Dachary [Fri, 3 Oct 2014 12:08:57 +0000 (14:08 +0200)]
ceph-disk: bootstrap-osd keyring ignores --statedir

The STATEDIR variable is used to initialize the bootstrap-osd keyring
before it gets a chance to be overriden by --statedir. Replace it with
{statedir} so that it can be substituted after all options have been
parsed.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit fa0bd06b4657e5b84e237b76033ac3d3478b6a1f)

10 years agoMerge pull request #2577 from dachary/wip-9570-cpp-strerror
Loic Dachary [Fri, 3 Oct 2014 13:25:14 +0000 (15:25 +0200)]
Merge pull request #2577 from dachary/wip-9570-cpp-strerror

os: io_event.res is the size written

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
10 years agoceph-disk: bootstrap-osd keyring ignores --statedir 2633/head
Loic Dachary [Fri, 3 Oct 2014 12:08:57 +0000 (14:08 +0200)]
ceph-disk: bootstrap-osd keyring ignores --statedir

The STATEDIR variable is used to initialize the bootstrap-osd keyring
before it gets a chance to be overriden by --statedir. Replace it with
{statedir} so that it can be substituted after all options have been
parsed.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoMerge pull request #2627 from theanalyst/fix/mailmap
Loic Dachary [Thu, 2 Oct 2014 10:47:00 +0000 (12:47 +0200)]
Merge pull request #2627 from theanalyst/fix/mailmap

mailmap: Yehuda Sadeh name normalization

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agomailmap: Yehuda Sadeh name normalization 2627/head
Abhishek Lekshmanan [Thu, 2 Oct 2014 10:25:06 +0000 (15:55 +0530)]
mailmap: Yehuda Sadeh name normalization

Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
10 years agoMerge pull request #2625 from ceph/wip-ysw-mailmap
Loic Dachary [Thu, 2 Oct 2014 05:52:43 +0000 (07:52 +0200)]
Merge pull request #2625 from ceph/wip-ysw-mailmap

mailmap: update email address

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agomailmap: update email address 2625/head
Yehuda Sadeh [Thu, 2 Oct 2014 02:49:33 +0000 (19:49 -0700)]
mailmap: update email address

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agodoc/release-notes: fix attributions for 8702 fix
Sage Weil [Thu, 2 Oct 2014 01:01:51 +0000 (18:01 -0700)]
doc/release-notes: fix attributions for 8702 fix

Oops!

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodoc/release-notes: v0.80.6
Sage Weil [Thu, 2 Oct 2014 00:48:12 +0000 (17:48 -0700)]
doc/release-notes: v0.80.6

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2623 from ceph/wip-coverity-20141002
Sage Weil [Wed, 1 Oct 2014 23:20:09 +0000 (16:20 -0700)]
Merge pull request #2623 from ceph/wip-coverity-20141002

build and coverity fixes

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2622 from dachary/wip-osd-pool-ls
Sage Weil [Wed, 1 Oct 2014 23:18:36 +0000 (16:18 -0700)]
Merge pull request #2622 from dachary/wip-osd-pool-ls

qa: fix osd pool ls invalid test

10 years agoMerge pull request #2621 from ceph/wip-objecter-shutdown
Sage Weil [Wed, 1 Oct 2014 23:14:07 +0000 (16:14 -0700)]
Merge pull request #2621 from ceph/wip-objecter-shutdown

Fix Objecter shutdown races with message handling

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoqa: fix osd pool ls invalid test 2622/head
Loic Dachary [Wed, 1 Oct 2014 21:39:39 +0000 (23:39 +0200)]
qa: fix osd pool ls invalid test

expect_false does not extend past the pipe and fails because the command
succeeds

introduced in f05c977bbcd310a83e6df03344a72d4cc06e1cc3

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoBtrfsFileStoreBackend.cc: fix string overflow 2623/head
Danny Al-Gaaf [Wed, 1 Oct 2014 21:08:15 +0000 (23:08 +0200)]
BtrfsFileStoreBackend.cc: fix string overflow

Use strncpy() instead of strcpy and make sure the result
is '\0' terminated.

Fix for:

CID 1063700 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)
 fixed_size_dest: You might overrun the 4088 byte fixed-size string
 vol_args.name by copying the return value of c_str without checking
 the length.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest_librbd.cc: fix compiler warning, cast to size_t
Danny Al-Gaaf [Wed, 1 Oct 2014 21:07:36 +0000 (23:07 +0200)]
test_librbd.cc: fix compiler warning, cast to size_t

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoObjecter: check the 'initialized' atomic_t safely 2621/head
Josh Durgin [Tue, 30 Sep 2014 01:17:29 +0000 (18:17 -0700)]
Objecter: check the 'initialized' atomic_t safely

shutdown() resets initialized to 0, but we can still receive messages
after this point, so fix message handlers to skip messages in this
case instead of asserting.

Also read initialized while holding Objecter::rwlock to avoid races
where e.g. handle_osd_map() checks initialized -> 1, continues,
shutdown() is called, sets initialized to 0, then handle_osd_map()
goes about its business and calls op_submit(), which would fail the
assert(initialized.read()) check. Similar races existed in other
message handlers which change Objecter state.

The Objecter is not destroyed until after its Messenger in
the MDS, OSD, and librados, so this should be safe.

Fixes: #9617
Backport: giant
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
10 years agoMerge pull request #2525 from ceph/wip-9487
Samuel Just [Wed, 1 Oct 2014 20:45:27 +0000 (13:45 -0700)]
Merge pull request #2525 from ceph/wip-9487

RFC: initialize purged_snaps on backfill

Reviewed-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2620 from ceph/revert-2604-wip-9113
Sage Weil [Wed, 1 Oct 2014 20:23:21 +0000 (13:23 -0700)]
Merge pull request #2620 from ceph/revert-2604-wip-9113

Revert "ReplicatedPG: clean out completed trimmed objects as we go"

10 years agoRevert "ReplicatedPG: clean out completed trimmed objects as we go" 2620/head
Samuel Just [Wed, 1 Oct 2014 20:18:46 +0000 (13:18 -0700)]
Revert "ReplicatedPG: clean out completed trimmed objects as we go"

10 years agoMerge pull request #2619 from ceph/wip-8187
Josh Durgin [Wed, 1 Oct 2014 19:53:53 +0000 (12:53 -0700)]
Merge pull request #2619 from ceph/wip-8187

librbd: Skip tier pools in list_children and snap_unprotect

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
10 years agoceph.spec: fix typo
Sage Weil [Wed, 1 Oct 2014 19:33:38 +0000 (12:33 -0700)]
ceph.spec: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2614 from ceph/wip-rpm-epoch
Sage Weil [Wed, 1 Oct 2014 19:23:44 +0000 (12:23 -0700)]
Merge pull request #2614 from ceph/wip-rpm-epoch

rpm: set epoch 1 to match fedora

Reviewed-by: Boris Ranto <branto@redhat.com>
10 years agolibrbd: Skip tier pools in list_children and snap_unprotect 2619/head
Adam Crume [Tue, 23 Sep 2014 22:41:26 +0000 (15:41 -0700)]
librbd: Skip tier pools in list_children and snap_unprotect

Fixes: #8187
Signed-off-by: Adam Crume <adamcrume@gmail.com>
10 years agoMerge branch 'wip-9013' into giant
Yehuda Sadeh [Wed, 1 Oct 2014 17:28:38 +0000 (10:28 -0700)]
Merge branch 'wip-9013' into giant

10 years agorgw: add civetweb as a default frontend 2381/head
Yehuda Sadeh [Tue, 2 Sep 2014 16:18:47 +0000 (09:18 -0700)]
rgw: add civetweb as a default frontend

Fixes: #9013
Originally the configurable was empty, now setting explicitly both
fastcgi and civetweb (on port 7480).

Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #2552 from ceph/wip-8188
Sage Weil [Wed, 1 Oct 2014 16:52:47 +0000 (09:52 -0700)]
Merge pull request #2552 from ceph/wip-8188

librados: Add rados_pool_get_tiers call

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agolibrados: Add rados_pool_get_base_tier call 2552/head
Adam Crume [Mon, 22 Sep 2014 18:10:48 +0000 (11:10 -0700)]
librados: Add rados_pool_get_base_tier call

Fixes: #8188
Signed-off-by: Adam Crume <adamcrume@gmail.com>
10 years agoMerge pull request #2618 from ceph/wip-coverity-20141001
Sage Weil [Wed, 1 Oct 2014 16:23:01 +0000 (09:23 -0700)]
Merge pull request #2618 from ceph/wip-coverity-20141001

Fixes for Coverity issues

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2452 from ceph/wip-pool-ls
João Eduardo Luís [Wed, 1 Oct 2014 16:22:42 +0000 (16:22 +0000)]
Merge pull request #2452 from ceph/wip-pool-ls

mon: add 'osd pool ls [detail]' command

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
10 years agotest_librbd.cc: fix compiler warning 2618/head
Danny Al-Gaaf [Wed, 1 Oct 2014 15:05:32 +0000 (17:05 +0200)]
test_librbd.cc: fix compiler warning

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoclient/SyntheticClient.cc: remove dead code
Danny Al-Gaaf [Wed, 1 Oct 2014 15:01:17 +0000 (17:01 +0200)]
client/SyntheticClient.cc: remove dead code

Fix for:

const: At condition do_sync, the value of do_sync must be equal to 0.
dead_error_condition: The condition do_sync cannot be true.
CID 716893 (#1 of 1): Logically dead code (DEADCODE)
dead_error_begin: Execution cannot reach this statement op.OSDOp()

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agodoc: A couple of fixes to the CloudStack documentation
Wido den Hollander [Wed, 1 Oct 2014 15:01:07 +0000 (17:01 +0200)]
doc: A couple of fixes to the CloudStack documentation

10 years agoSyntheticClient.cc: remove dead code
Danny Al-Gaaf [Wed, 1 Oct 2014 13:49:17 +0000 (15:49 +0200)]
SyntheticClient.cc: remove dead code

Fix for coverity issue:

const: At condition unsafe > 0, the value of unsafe must be equal to 0.
dead_error_condition: The condition unsafe > 0 cannot be true.

CID 716892 (#1 of 1): Logically dead code (DEADCODE)
dead_error_begin: Execution cannot reach this statement

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoLogEntry.h: init LogEntry::prio in constructor
Danny Al-Gaaf [Thu, 25 Sep 2014 11:34:47 +0000 (13:34 +0200)]
LogEntry.h: init LogEntry::prio in constructor

CID 1240202 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
 uninit_member: Non-static class member prio is not initialized
 in this constructor nor in any functions that it calls.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd: fix need_journal call
Sage Weil [Wed, 1 Oct 2014 13:34:20 +0000 (06:34 -0700)]
osd: fix need_journal call

From 2955b3da4e2c472c18b45e81eba791f8ccd58061

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2607 from yuyuyu101/wip-9580
Sage Weil [Wed, 1 Oct 2014 13:11:10 +0000 (06:11 -0700)]
Merge pull request #2607 from yuyuyu101/wip-9580

ObjectStore: Add "need_journal" interface to make aware of journal devic...

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2608 from yuyuyu101/pipe-iovec
Sage Weil [Wed, 1 Oct 2014 13:10:24 +0000 (06:10 -0700)]
Merge pull request #2608 from yuyuyu101/pipe-iovec

Pipe: avoid redundancy new/delete for struct iovec

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoceph.spec.: add epoch 2614/head
Sage Weil [Wed, 1 Oct 2014 13:02:02 +0000 (06:02 -0700)]
ceph.spec.: add epoch

This is done in fedora packaging.  Do it here too so that you can move
between upstream packages (from ceph.com) and fedora and other derivatives
will builds.

Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2615 from ceph/wip-fsls-json
Sage Weil [Wed, 1 Oct 2014 12:54:45 +0000 (05:54 -0700)]
Merge pull request #2615 from ceph/wip-fsls-json

mon: fix JSON `fs ls` output

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agomon: fix JSON `fs ls` output 2615/head
John Spray [Wed, 1 Oct 2014 11:08:00 +0000 (12:08 +0100)]
mon: fix JSON `fs ls` output

A missing list terminator was causing unparseable output.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoObjectStore: Add "need_journal" interface to make aware of journal device 2607/head
Haomai Wang [Tue, 30 Sep 2014 05:45:10 +0000 (13:45 +0800)]
ObjectStore: Add "need_journal" interface to make aware of journal device

Impl feature #9580

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoPipe: avoid redundancy new/delete for struct iovec 2608/head
Haomai Wang [Tue, 30 Sep 2014 05:44:02 +0000 (13:44 +0800)]
Pipe: avoid redundancy new/delete for struct iovec

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoMerge pull request #2564 from ceph/wip-8587
Josh Durgin [Wed, 1 Oct 2014 00:24:02 +0000 (17:24 -0700)]
Merge pull request #2564 from ceph/wip-8587

rgw: subuser creation fixes

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
10 years agoMerge pull request #2613 from ceph/wip-8822
Sage Weil [Tue, 30 Sep 2014 21:45:27 +0000 (14:45 -0700)]
Merge pull request #2613 from ceph/wip-8822

osd: swap state spinlock for atomic_t

Reviewed-by: Samuel Just <sam.just@inktank.com>
10 years agoosd: swap state spinlock for atomic_t 2613/head
Sage Weil [Tue, 30 Sep 2014 18:56:30 +0000 (11:56 -0700)]
osd: swap state spinlock for atomic_t

We are hitting a strange issue with valgrind and pthread spinlocks. Avoid
the issue by using an atomic_t here (which is simpler anyway).

Avoids: #8822
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2612 from ceph/wip-9562-backport
Gregory Farnum [Tue, 30 Sep 2014 17:49:05 +0000 (10:49 -0700)]
Merge pull request #2612 from ceph/wip-9562-backport

osdc/Filer: drop probe/purge locks before calling objecter

Reviewed-by: Greg Farnum <greg@inktank.com>
10 years agoosdc/Filer: drop probe/purge locks before calling objecter 2612/head
John Spray [Wed, 24 Sep 2014 13:19:32 +0000 (14:19 +0100)]
osdc/Filer: drop probe/purge locks before calling objecter

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

10 years agoLocker: accept ctime updates from clients without dirty write caps 2606/head
Greg Farnum [Mon, 29 Sep 2014 23:10:36 +0000 (16:10 -0700)]
Locker: accept ctime updates from clients without dirty write caps

The ctime changes any time the inode does. That can happen even without
the file itself having changed, so we'd better accept the update whenever
the auth caps have dirtied, without worrying about the file caps!

Fixes: #9514
Backport: firefly

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #2605 from ceph/wip-osd-objecter
Gregory Farnum [Tue, 30 Sep 2014 17:14:38 +0000 (10:14 -0700)]
Merge pull request #2605 from ceph/wip-osd-objecter

osd: do not bind ms_objecter messenger

Reviewed-by: Greg Farnum <greg@inktank.com>
10 years agoMerge pull request #2597 from cchengleo/wip-test-shared-cache
Loic Dachary [Tue, 30 Sep 2014 14:59:05 +0000 (16:59 +0200)]
Merge pull request #2597 from cchengleo/wip-test-shared-cache

test shared cache

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agotest-shared-cache: 2597/head
Cheng Cheng [Mon, 29 Sep 2014 14:41:32 +0000 (10:41 -0400)]
test-shared-cache:
  Add test for "lower_bound" method.
  Add multithread tests for "lookup" and "lower_bound" methods.

Signed-off-by: Cheng Cheng <ccheng.leo@gmail.com>
               Loic Dachary <loic@dachary.org>

10 years agotest-shared-cache:
cchengleo [Mon, 8 Sep 2014 14:37:56 +0000 (10:37 -0400)]
test-shared-cache:
  Initial draft for the unit test of "common/shared_cache.hpp".

Signed-off-by: Cheng Cheng <ccheng.leo@gmail.com>
               Loic Dachary <loic@dachary.org>

10 years agoMerge pull request #2609 from dachary/wip-doc-context
Loic Dachary [Tue, 30 Sep 2014 13:03:15 +0000 (15:03 +0200)]
Merge pull request #2609 from dachary/wip-doc-context

common: document C_GatherBuilder and C_Gather

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agocommon: document C_GatherBuilder and C_Gather 2609/head
Loic Dachary [Tue, 30 Sep 2014 12:10:25 +0000 (14:10 +0200)]
common: document C_GatherBuilder and C_Gather

* Introduction explaining what they are used for
* Commented example to illustrate the abstract description

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoObjecter: init with a constant of the correct type
Josh Durgin [Tue, 30 Sep 2014 01:12:50 +0000 (18:12 -0700)]
Objecter: init with a constant of the correct type

Just a tiny cleanup.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
10 years agoMerge pull request #2556 from dachary/wip-9572-erasure-code-blaumroth
Loic Dachary [Mon, 29 Sep 2014 23:48:26 +0000 (01:48 +0200)]
Merge pull request #2556 from dachary/wip-9572-erasure-code-blaumroth

erasure-code: restore jerasure BlaumRoth default w

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2502 from yuyuyu101/kvstore-meta-cache
Sage Weil [Mon, 29 Sep 2014 23:43:29 +0000 (16:43 -0700)]
Merge pull request #2502 from yuyuyu101/kvstore-meta-cache

KeyValueStore: performance improvement and docs

10 years agoMerge pull request #2523 from ceph/wip-6926
Josh Durgin [Mon, 29 Sep 2014 23:41:47 +0000 (16:41 -0700)]
Merge pull request #2523 from ceph/wip-6926

rbd: Fix rbd diff for non-existent objects

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
10 years agoMerge pull request #2601 from ceph/wip-python-flask
Sage Weil [Mon, 29 Sep 2014 23:24:50 +0000 (16:24 -0700)]
Merge pull request #2601 from ceph/wip-python-flask

debian: python-flask is needed by ceph, not python-ceph

Reviewed-by: Loic Dachary <loic@dachary.org>
10 years agoMerge remote-tracking branch 'gh/giant'
Sage Weil [Mon, 29 Sep 2014 23:17:15 +0000 (16:17 -0700)]
Merge remote-tracking branch 'gh/giant'

Conflicts:
qa/workunits/cephtool/test.sh
src/test/erasure-code/TestErasureCodeIsa.cc

10 years agoosd: do not bind ms_objecter messenger 2605/head
Sage Weil [Mon, 29 Sep 2014 23:11:06 +0000 (16:11 -0700)]
osd: do not bind ms_objecter messenger

The objecter messenger is only used as a client to initiate client-side
connections to other OSDs.  It doesn't need to bind to a port.

This was added in 558d9fc956204b7a18001b148e171b893cb63d85 to push client
traffic to the cluster interface.  This doesn't actually help/work because
we are still connecting to our peers' client-facing addresses.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodebian: move ceph_rest_api.py into ceph 2601/head
Sage Weil [Mon, 29 Sep 2014 21:28:32 +0000 (14:28 -0700)]
debian: move ceph_rest_api.py into ceph

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph.spec.in: move ceph_rest_api.py into ceph
Sage Weil [Mon, 29 Sep 2014 21:24:01 +0000 (14:24 -0700)]
ceph.spec.in: move ceph_rest_api.py into ceph

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2602 from athanatos/wip-9574
Sage Weil [Mon, 29 Sep 2014 21:14:40 +0000 (14:14 -0700)]
Merge pull request #2602 from athanatos/wip-9574

PG: check full ratio again post-reservation

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2604 from athanatos/wip-9113
Sage Weil [Mon, 29 Sep 2014 21:02:15 +0000 (14:02 -0700)]
Merge pull request #2604 from athanatos/wip-9113

ReplicatedPG: clean out completed trimmed objects as we go

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2549 from ceph/wip-9545
Samuel Just [Mon, 29 Sep 2014 20:54:31 +0000 (13:54 -0700)]
Merge pull request #2549 from ceph/wip-9545

os/FileJournal: do not request sync while shutting down

Reviewed-by: Samuel Just <sam.just@inktank.com>
10 years agoMerge pull request #2550 from ceph/wip-8629
Samuel Just [Mon, 29 Sep 2014 20:52:21 +0000 (13:52 -0700)]
Merge pull request #2550 from ceph/wip-8629

osd: fix cache_evict vs make_writeable/finish_ctx snapdir bug #8629

Reviewed-by: Samuel Just <sam.just@inktank.com>
10 years agoMerge pull request #2510 from somnathr/wip-obj-delete-fix
Samuel Just [Mon, 29 Sep 2014 20:44:37 +0000 (13:44 -0700)]
Merge pull request #2510 from somnathr/wip-obj-delete-fix

FileStore: Race condition during object delete is fixed

Reviewed-by: Samuel Just <sam.just@inktank.com>
10 years agoceph.spec: fix python-flask dependency
Sage Weil [Mon, 29 Sep 2014 20:44:03 +0000 (13:44 -0700)]
ceph.spec: fix python-flask dependency

This is needed by ceph-rest-api, which is in ceph.rpm; it's not related to
python-ceph (except that ceph-rest-api happens to require that too).

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodebian: python-flask is needed by ceph, not python-ceph
Sage Weil [Mon, 29 Sep 2014 20:40:18 +0000 (13:40 -0700)]
debian: python-flask is needed by ceph, not python-ceph

It's used by ceph-rest-api which is in the 'ceph' (server) package.

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2598 from ceph/wip-9582
Sage Weil [Mon, 29 Sep 2014 20:08:10 +0000 (13:08 -0700)]
Merge pull request #2598 from ceph/wip-9582

librados: fix other timeout segfault

Reviewed-by: Greg Farnum <greg@inktank.com>
10 years agoMerge pull request #2458 from ceph/wip-9341
John Spray [Mon, 29 Sep 2014 20:02:58 +0000 (21:02 +0100)]
Merge pull request #2458 from ceph/wip-9341

client: trim unused inodes before reconnecting to recovering MDS

Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #2555 from theanalyst/wip/mailmap
Loic Dachary [Mon, 29 Sep 2014 18:25:08 +0000 (20:25 +0200)]
Merge pull request #2555 from theanalyst/wip/mailmap

mailmap updates

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agomailmap: Riccardo Ferretti affiliation 2555/head
Abhishek Lekshmanan [Tue, 23 Sep 2014 13:42:47 +0000 (19:12 +0530)]
mailmap: Riccardo Ferretti affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
10 years agomailmap: Casey Marshall affiliation
Abhishek Lekshmanan [Tue, 23 Sep 2014 12:06:07 +0000 (17:36 +0530)]
mailmap: Casey Marshall affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
10 years agomailmap: Feng Wang affiliation
Abhishek Lekshmanan [Tue, 23 Sep 2014 11:51:23 +0000 (17:21 +0530)]
mailmap: Feng Wang affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
10 years agomailmap: Scott A. Brandt affiliation
Abhishek Lekshmanan [Tue, 23 Sep 2014 11:46:12 +0000 (17:16 +0530)]
mailmap: Scott A. Brandt affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>