]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoclient: pin Inode during readahead 1557/head
Sage Weil [Thu, 27 Mar 2014 04:52:00 +0000 (21:52 -0700)]
client: pin Inode during readahead

Make sure the Inode does not go away while a readahead is in progress.  In
particular:

 - read_async
   - start a readahead
   - get actual read from cache, return
 - close/release
   - call ObjectCacher::release_set() and get unclean > 0, assert

Fixes: #7867
Backport: emperor, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoosdc/ObjectCacher: call read completion even when no target buffer
Sage Weil [Fri, 28 Mar 2014 19:34:07 +0000 (12:34 -0700)]
osdc/ObjectCacher: call read completion even when no target buffer

If we do no assemble a target bl, we still want to return a valid return
code with the number of bytes read-ahead so that the C_RetryRead completion
will see this as a finish and call the caller's provided Context.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1553 from ceph/wip-7874
Sage Weil [Fri, 28 Mar 2014 21:07:50 +0000 (14:07 -0700)]
Merge pull request #1553 from ceph/wip-7874

ReplicatedPG: disable clone subsets for cache pools

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1554 from ceph/wip-7828
Sage Weil [Fri, 28 Mar 2014 21:06:24 +0000 (14:06 -0700)]
Merge pull request #1554 from ceph/wip-7828

ReplicatedPG:: s/_delete_head/_delete_oid, adjust head_exists iff is_hea...

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1555 from ceph/wip-7835
Sage Weil [Fri, 28 Mar 2014 21:05:41 +0000 (14:05 -0700)]
Merge pull request #1555 from ceph/wip-7835

ReplicatedPG::make_writeable: fill in ssc on clone

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1549 from dachary/wip-doc
Sage Weil [Fri, 28 Mar 2014 15:23:46 +0000 (08:23 -0700)]
Merge pull request #1549 from dachary/wip-doc

doc: fix typos in tiering dev doc

11 years agodoc: fix typos in tiering dev doc 1549/head
Loic Dachary [Fri, 28 Mar 2014 13:01:53 +0000 (14:01 +0100)]
doc: fix typos in tiering dev doc

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoMerge pull request #1547 from ceph/wip-cache-scrub
Samuel Just [Fri, 28 Mar 2014 00:14:34 +0000 (17:14 -0700)]
Merge pull request #1547 from ceph/wip-cache-scrub

osd: improve scrub checks on clones; tolerate missing clones on cache pools

Fixes: #7885
Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agoMerge branch 'wip-7875'
Sage Weil [Thu, 27 Mar 2014 23:39:36 +0000 (16:39 -0700)]
Merge branch 'wip-7875'

Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agomon/OSDMonitor: require OSD_CACHEPOOL feature before using tiering features
Sage Weil [Thu, 27 Mar 2014 23:39:01 +0000 (16:39 -0700)]
mon/OSDMonitor: require OSD_CACHEPOOL feature before using tiering features

The OSDs need to support this feature before we allow users to turn it
on.  This is similar to what the erasure pool support does.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agomon/OSDMonitor: prevent setting hit_set unless all OSDs support it
Sage Weil [Thu, 27 Mar 2014 23:38:46 +0000 (16:38 -0700)]
mon/OSDMonitor: prevent setting hit_set unless all OSDs support it

We are using OSD_CACHEPOOL as a proxy for the support for the tiering
OSDMap infrastructure.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoosd/ReplicatedPG: tolerate missing clones in cache pools 1547/head
Sage Weil [Thu, 27 Mar 2014 22:12:25 +0000 (15:12 -0700)]
osd/ReplicatedPG: tolerate missing clones in cache pools

A few cases:

- As we are working through the list, if we see a clone that is lower than
  the next one we were expecting, we should be able to skip them.
- If we see a head, we can skip all of the rest of the clones.
- If we get to the end and next_clone was set, we can ignore it.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoosd/ReplicatedPG: improve clone vs head checking
Sage Weil [Thu, 27 Mar 2014 20:51:15 +0000 (13:51 -0700)]
osd/ReplicatedPG: improve clone vs head checking

- notice when we are missing a clone (that isn't at the end of the list)
- notice when we are missing a clone on the last object in the scrub map
- do not assert when we are missing a clone

There is still more we could do to improve this (like noticing one missing
clone but still checking the others), but we'll leave that aside for just
a moment...

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoosd/ReplicatedPG: do not assert on clone_size mismatch
Sage Weil [Thu, 27 Mar 2014 20:37:23 +0000 (13:37 -0700)]
osd/ReplicatedPG: do not assert on clone_size mismatch

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoceph_test_rados_api_tier: scrub while cache tier is missing clones
Sage Weil [Thu, 27 Mar 2014 20:28:10 +0000 (13:28 -0700)]
ceph_test_rados_api_tier: scrub while cache tier is missing clones

Trigger a scrub to verify that we can handle a cache tier that is missing
some clones.  We rely on the test harness to notice the error, and we do
not confirm that the scrub happened.  In practice this is plenty of time,
however.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1546 from ceph/wip-fix-pools
Dan Mick [Thu, 27 Mar 2014 20:01:05 +0000 (13:01 -0700)]
Merge pull request #1546 from ceph/wip-fix-pools

fix pool ops test

11 years agoqa/workunits/mon/pool_ops.sh: fix test 1546/head
Sage Weil [Thu, 27 Mar 2014 19:57:40 +0000 (12:57 -0700)]
qa/workunits/mon/pool_ops.sh: fix test

The pool create command doesn't take k/v pairs any more.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoqa/workunits/mon/pool_ops.sh: use expect_false
Sage Weil [Thu, 27 Mar 2014 19:44:31 +0000 (12:44 -0700)]
qa/workunits/mon/pool_ops.sh: use expect_false

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1545 from ceph/wip-7849-b
Josh Durgin [Thu, 27 Mar 2014 19:35:50 +0000 (12:35 -0700)]
Merge pull request #1545 from ceph/wip-7849-b

ceph-conf: do not log

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoceph-conf: no admin_socket 1545/head
Sage Weil [Thu, 27 Mar 2014 19:30:39 +0000 (12:30 -0700)]
ceph-conf: no admin_socket

We don't need to worry about pidfile because that is done by the fork
functions, which ceph-conf doesn't call.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1522 from themgt/patch-1
Josh Durgin [Thu, 27 Mar 2014 19:03:25 +0000 (12:03 -0700)]
Merge pull request #1522 from themgt/patch-1

document adding dev key for custom Apache/FCGI install

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agojerasure: fix up .gitignore
Sage Weil [Thu, 27 Mar 2014 18:41:57 +0000 (11:41 -0700)]
jerasure: fix up .gitignore

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoceph-conf: do not log
Sage Weil [Thu, 27 Mar 2014 18:36:42 +0000 (11:36 -0700)]
ceph-conf: do not log

If you are querying the conf for an osd and it has a log configured, we
should not generate any log activity.

This isn't super pretty, but it is much less intrusive that wiring a 'do
not log' flag down into CephContext and a zillion other places.

Fixes: #7849
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1542 from onlyjob/debian
Josh Durgin [Thu, 27 Mar 2014 18:33:58 +0000 (11:33 -0700)]
Merge pull request #1542 from onlyjob/debian

logrotate: do not rotate empty logs (2nd logrotate file)

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoMerge pull request #1544 from ceph/wip-7876
Sage Weil [Thu, 27 Mar 2014 18:15:27 +0000 (11:15 -0700)]
Merge pull request #1544 from ceph/wip-7876

rgw: use s->content_length instead of s->length

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1534 from dachary/wip-sse-fix
Sage Weil [Thu, 27 Mar 2014 18:14:30 +0000 (11:14 -0700)]
Merge pull request #1534 from dachary/wip-sse-fix

erasure code sse optimized jerasure plugin

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agorgw: use s->content_length instead of s->length 1544/head
Yehuda Sadeh [Thu, 27 Mar 2014 17:53:25 +0000 (10:53 -0700)]
rgw: use s->content_length instead of s->length

Fixes: #7876
Need to use the actual content length, not the pointer to the string.
This was probably working because there's correlation to when
content_length > 0 to whether s->length is not null.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoMerge pull request #1540 from ceph/wip-7860
Sage Weil [Thu, 27 Mar 2014 17:21:10 +0000 (10:21 -0700)]
Merge pull request #1540 from ceph/wip-7860

test: Wait for tier removal before next test starts

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agologrotate: do not rotate empty logs (2nd logrotate file) 1542/head
Dmitry Smirnov [Thu, 27 Mar 2014 16:42:45 +0000 (03:42 +1100)]
logrotate: do not rotate empty logs (2nd logrotate file)

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
11 years agoMerge pull request #1541 from onlyjob/debian
Sage Weil [Thu, 27 Mar 2014 14:02:46 +0000 (07:02 -0700)]
Merge pull request #1541 from onlyjob/debian

logrotate improvement: do not rotate empty logs

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoerasure-code: test encode/decode of SSE optimized jerasure plugins 1534/head
Loic Dachary [Thu, 27 Mar 2014 10:07:11 +0000 (11:07 +0100)]
erasure-code: test encode/decode of SSE optimized jerasure plugins

If the machine running make check has the required CPU features
available, load the SSE optimized plugin and check that it can encode /
decode a simple payload. If the CPU features are not available, only
test the generic plugin and display an informative message about the
tests that were skipped.

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoerasure-code: test jerasure SSE optimized plugins selection
Loic Dachary [Thu, 27 Mar 2014 10:06:24 +0000 (11:06 +0100)]
erasure-code: test jerasure SSE optimized plugins selection

Test the selection of the plugin depending on the CPU features. The
prefix of the plugin is "jerasure" by default (jerasure_generic,
jerasure_sse3, jerasure_sse4) and can be modified with the
"jerasure-name" parameter. A test plugin is created for each
variant (test_jerasure_generic, test_jerasure_sse3, test_jerasure_sse4).
The flags set by ceph_probe are modified by the test to check if the
expected plugin suffix is appended.

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoosd: increase osd verbosity during functional tests
Loic Dachary [Wed, 26 Mar 2014 22:57:28 +0000 (23:57 +0100)]
osd: increase osd verbosity during functional tests

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoerasure-code: SSE optimized jerasure plugins
Loic Dachary [Wed, 26 Mar 2014 10:16:01 +0000 (11:16 +0100)]
erasure-code: SSE optimized jerasure plugins

The jerasure plugin is compiled with three sets of flags:

* jerasure_generic with no SSE optimization
* jerasure_sse3 with SSE2, SSE3 and SSSE3 optimizations
* jerasure_sse4 with SSE2, SSE3, SSSE3, SSE41, SSE42 and PCLMUL optimizations

The jerasure plugin loads the appropriate plugin depending on the CPU
features detected at runtime.

http://tracker.ceph.com/issues/7826 fixes #7826

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoarch: add SSE3, SSSE3, SSSE41 and PCLMUL intel features
Loic Dachary [Wed, 26 Mar 2014 10:14:11 +0000 (11:14 +0100)]
arch: add SSE3, SSSE3, SSSE41 and PCLMUL intel features

And add a note about valgrind forcing a fake cpuid.

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoautotools: intel cpu features detection
Loic Dachary [Wed, 26 Mar 2014 10:11:48 +0000 (11:11 +0100)]
autotools: intel cpu features detection

Rename SIMD to INTEL for clarity.

Instead of agregating all flags in INTEL_FLAGS, create individual flags
for each feature (INTEL_SSE2_FLAGS etc.) for finer control in the
makefiles.

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoerasure-code: gf-complete / jerasure modules updates
Loic Dachary [Wed, 26 Mar 2014 10:09:43 +0000 (11:09 +0100)]
erasure-code: gf-complete / jerasure modules updates

To avoid confusion, the jerasure v1 branch that contains commits pending
review upstream is named v2-ceph and the gf-complete v2 branch is named
v2-ceph.

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoerasure-code: allow loading a plugin from factory()
Loic Dachary [Sat, 25 Jan 2014 21:35:34 +0000 (22:35 +0100)]
erasure-code: allow loading a plugin from factory()

The Mutex scope is restricted to only protect the load() method and not
the factory() method. This allows a plugin to load another plugin from
within the factory() method.

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoMerge remote-tracking branch 'gh/firefly'
Sage Weil [Thu, 27 Mar 2014 04:44:45 +0000 (21:44 -0700)]
Merge remote-tracking branch 'gh/firefly'

11 years agologrotate improvement: do not rotate empty logs 1541/head
Dmitry Smirnov [Thu, 27 Mar 2014 01:12:19 +0000 (12:12 +1100)]
logrotate improvement: do not rotate empty logs

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
11 years agoosd: do not make pg_pool_t incompat when hit_sets are enabled
Sage Weil [Thu, 27 Mar 2014 00:47:06 +0000 (17:47 -0700)]
osd: do not make pg_pool_t incompat when hit_sets are enabled

If we enable HitSet tracking, the OSD needs to know this, but clients do
not care.  Setting the compat version is too heavyweight as it locks out
older kernels (*any* currents, currently) who are unaffected by the new
fields.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoReplicatedPG: disable clone subsets for cache pools 1553/head
Samuel Just [Thu, 27 Mar 2014 00:24:38 +0000 (17:24 -0700)]
ReplicatedPG: disable clone subsets for cache pools

To do this properly, we need to take appropriate read
locks on clone sources and handle evicted clones.

Fixes: #7874
Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoMerge pull request #1537 from ceph/wip-7871
Sage Weil [Thu, 27 Mar 2014 00:16:08 +0000 (17:16 -0700)]
Merge pull request #1537 from ceph/wip-7871

RadosModel: allow --no-omap to be specified seperately from --ec-pool

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1536 from ceph/wip-7870
Sage Weil [Thu, 27 Mar 2014 00:14:07 +0000 (17:14 -0700)]
Merge pull request #1536 from ceph/wip-7870

ReplicatedPG::do_osd_ops: only return ENOTSUP on OMAP write ops

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agotest: Wait for tier removal before next test starts 1540/head
David Zafman [Wed, 26 Mar 2014 23:04:40 +0000 (16:04 -0700)]
test: Wait for tier removal before next test starts

Fixes: #7860
Signed-off-by: David Zafman <david.zafman@inktank.com>
11 years agoReplicatedPG:: s/_delete_head/_delete_oid, adjust head_exists iff is_head 1554/head
Samuel Just [Wed, 26 Mar 2014 21:08:23 +0000 (14:08 -0700)]
ReplicatedPG:: s/_delete_head/_delete_oid, adjust head_exists iff is_head

Fixes: #7872
Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agorgw: configurable chunk size
Yehuda Sadeh [Tue, 4 Mar 2014 01:07:03 +0000 (17:07 -0800)]
rgw: configurable chunk size

Fixes: #7589
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoMerge pull request #1535 from ceph/wip-7823
Samuel Just [Wed, 26 Mar 2014 18:48:07 +0000 (11:48 -0700)]
Merge pull request #1535 from ceph/wip-7823

osd: trim copy-get backend read to object size

Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agoRadosModel: allow --no-omap to be specified seperately from --ec-pool 1537/head
Samuel Just [Mon, 24 Mar 2014 18:37:44 +0000 (11:37 -0700)]
RadosModel: allow --no-omap to be specified seperately from --ec-pool

Fixes: #7871
Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG::do_osd_ops: only return ENOTSUP on OMAP write ops 1536/head
Samuel Just [Mon, 24 Mar 2014 19:08:25 +0000 (12:08 -0700)]
ReplicatedPG::do_osd_ops: only return ENOTSUP on OMAP write ops

This way, redirected omap reads will work correctly by returning
empty maps and buffers.

Fixes: #7870
Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG::make_writeable: fill in ssc on clone 1555/head
Samuel Just [Mon, 24 Mar 2014 22:38:11 +0000 (15:38 -0700)]
ReplicatedPG::make_writeable: fill in ssc on clone

ssc should always be filled in on live ObjectContexts.

Fixes: #7835
Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd: trim copy-get backend read to object size 1535/head
Sage Weil [Sat, 22 Mar 2014 22:39:26 +0000 (15:39 -0700)]
osd: trim copy-get backend read to object size

We are passing a big number to the backend to read and it is trimming it
to the stripe boundary, and then setting the cursor at a slightly smaller
offset bound by oi.size.  This is invalid, and will trigger an assert in
the _write_copy_chunk code:

     0> 2014-03-21 15:12:23.761509 7f8dd2324700 -1 osd/ReplicatedPG.cc: In function 'void ReplicatedPG::_write_copy_chunk(ReplicatedPG::CopyOpRef, PGBackend::PGTransaction*)' thread 7f8dd2324700 time 2014-03-21 15:12:23.758866
osd/ReplicatedPG.cc: 5554: FAILED assert(cop->data.length() + cop->temp_cursor.data_offset == cop->cursor.data_offset)

To fix this, trim the buffer to the correct length in the completion
context.

Fixes: #7823
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1518 from dachary/wip-mailmap
Loic Dachary [Wed, 26 Mar 2014 15:47:08 +0000 (16:47 +0100)]
Merge pull request #1518 from dachary/wip-mailmap

mailmap updates

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
11 years agoMerge remote-tracking branch 'gh/firefly'
Sage Weil [Wed, 26 Mar 2014 05:39:05 +0000 (22:39 -0700)]
Merge remote-tracking branch 'gh/firefly'

11 years agoosd: fix tests due to no default erasure-code ruleset
Sage Weil [Wed, 26 Mar 2014 00:35:01 +0000 (17:35 -0700)]
osd: fix tests due to no default erasure-code ruleset

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoRevert "osd: create the erasure-code ruleset in OSDMap::build_simple"
Sage Weil [Tue, 25 Mar 2014 23:55:02 +0000 (16:55 -0700)]
Revert "osd: create the erasure-code ruleset in OSDMap::build_simple"

This reverts commit b85330eb1d62632a1c3f2025b1f309816d54bd5a.

We can't have this in the OSDMap by default or else all clients will require
the new features.

[Fixed up #include for strmap]

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1530 from onlyjob/fix-defaultweight
Sage Weil [Wed, 26 Mar 2014 04:44:19 +0000 (21:44 -0700)]
Merge pull request #1530 from onlyjob/fix-defaultweight

fix bug in 'defaultweight' calculation on OSD start.

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agofix bug in 'defaultweight' calculation on OSD start. 1530/head
Dmitry Smirnov [Tue, 25 Mar 2014 10:51:01 +0000 (21:51 +1100)]
fix bug in 'defaultweight' calculation on OSD start.

  awk: cmd. line:1: { d=$2/1073741824 ; r = sprintf(\"%.2f\", d); print r }
  awk: cmd. line:1:                                 ^ backslash not last character on line
  awk: cmd. line:1: { d=$2/1073741824 ; r = sprintf(\"%.2f\", d); print r }
  awk: cmd. line:1:                                 ^ syntax error

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
11 years agoMerge branch 'wip-7676-firefly' into firefly
Josh Durgin [Tue, 25 Mar 2014 23:40:47 +0000 (16:40 -0700)]
Merge branch 'wip-7676-firefly' into firefly

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoMerge pull request #1533 from ceph/wip-7863-wusui
SandonV [Tue, 25 Mar 2014 23:36:43 +0000 (16:36 -0700)]
Merge pull request #1533 from ceph/wip-7863-wusui

Make sure s3_utilities are found.

11 years agoMake sure s3_utilities are found. 1533/head
Warren Usui [Tue, 25 Mar 2014 23:30:03 +0000 (16:30 -0700)]
Make sure s3_utilities are found.

Add FindBin code to rgw/s3 tests to include s3_utilites.pm properly.

Fixes: 7863
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #1527 from ceph/wip-6465
Sage Weil [Tue, 25 Mar 2014 22:29:18 +0000 (15:29 -0700)]
Merge pull request #1527 from ceph/wip-6465

be nitpicky about missing references

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1531 from onlyjob/debian
Sage Weil [Tue, 25 Mar 2014 21:59:46 +0000 (14:59 -0700)]
Merge pull request #1531 from onlyjob/debian

minor corrections from Debian

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1363 from ceph/wip-3863
Gregory Farnum [Tue, 25 Mar 2014 17:49:51 +0000 (10:49 -0700)]
Merge pull request #1363 from ceph/wip-3863

Add ceph-client-debug inode lookup

Reviewed-by: Greg Farnum <greg@inktank.com>
11 years agominor corrections to package descriptions 1531/head
Dmitry Smirnov [Tue, 25 Mar 2014 11:23:13 +0000 (22:23 +1100)]
minor corrections to package descriptions

11 years agominor init.d scripts lintianisation:
Dmitry Smirnov [Tue, 25 Mar 2014 11:10:48 +0000 (22:10 +1100)]
minor init.d scripts lintianisation:

 * init.d-script-does-not-source-init-functions
 * init.d-script-does-not-implement-required-option
 * init.d-script-missing-lsb-description

11 years agorgw: don't modify rgw_bucket for data extra pool
Yehuda Sadeh [Tue, 11 Mar 2014 22:05:07 +0000 (15:05 -0700)]
rgw: don't modify rgw_bucket for data extra pool

This cleans up the interface, as we don't have this ugly implicit
structure modification when we deal with object that resides on the data
extra pool. Replcae lot's of calls to get_obj_bucket_and_oid_key() to a
cleaner get_obj_ref() that uses a struct to hold the updated fields, and
update the relevant callers.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: multipart meta object uses extra data pool
Yehuda Sadeh [Tue, 11 Mar 2014 20:24:55 +0000 (13:24 -0700)]
rgw: multipart meta object uses extra data pool

Fixes: #7676
We need the extra data pool since EC backends cannot handle the omap
operations that are needed for the multipart meta object.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: zone placement info includes extra data pool
Yehuda Sadeh [Tue, 11 Mar 2014 19:26:23 +0000 (12:26 -0700)]
rgw: zone placement info includes extra data pool

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: add data_extra pool to bucket
Yehuda Sadeh [Tue, 11 Mar 2014 19:01:31 +0000 (12:01 -0700)]
rgw: add data_extra pool to bucket

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoMerge pull request #1528 from ceph/wip-dz-watch-test
David Zafman [Mon, 24 Mar 2014 21:18:53 +0000 (14:18 -0700)]
Merge pull request #1528 from ceph/wip-dz-watch-test

Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agomailmap: Inktank jenkins bot 1518/head
Loic Dachary [Sun, 23 Mar 2014 14:15:34 +0000 (15:15 +0100)]
mailmap: Inktank jenkins bot

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Huang Jun name normalization
Loic Dachary [Fri, 21 Mar 2014 23:55:40 +0000 (00:55 +0100)]
mailmap: Huang Jun name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Tyler Brekke name normalization
Loic Dachary [Fri, 21 Mar 2014 23:02:31 +0000 (00:02 +0100)]
mailmap: Tyler Brekke name normalization

Reviewed-by: Tyler Brekke <tyler.brekke@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Guang Yang affiliation
Loic Dachary [Fri, 21 Mar 2014 22:59:04 +0000 (23:59 +0100)]
mailmap: Guang Yang affiliation

and name normalization

Reviewed-by: Guang Yang <yguang@yahoo-inc.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: James Ryan Cresawn affiliation
Loic Dachary [Fri, 21 Mar 2014 22:53:55 +0000 (23:53 +0100)]
mailmap: James Ryan Cresawn affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Mohammad Salehe affiliation
Loic Dachary [Fri, 21 Mar 2014 22:50:05 +0000 (23:50 +0100)]
mailmap: Mohammad Salehe affiliation

Reviewed-by: Mohammad Salehe <salehe+dev@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Sharif Olorin affiliation
Loic Dachary [Fri, 21 Mar 2014 22:44:11 +0000 (23:44 +0100)]
mailmap: Sharif Olorin affiliation

Reviewed-by: Sharif Olorin <sio@tesser.org>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Stephan Renatus affiliation
Loic Dachary [Fri, 21 Mar 2014 22:36:04 +0000 (23:36 +0100)]
mailmap: Stephan Renatus affiliation

Reviewed-by: Stephan Renatus <s.renatus@x-ion.de>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoqa: Add ceph_multi_stress_watch for rep and ec 1528/head
David Zafman [Fri, 21 Mar 2014 22:13:41 +0000 (15:13 -0700)]
qa: Add ceph_multi_stress_watch for rep and ec

Fixes: #7438
Signed-off-by: David Zafman <david.zafman@inktank.com>
11 years agoMerge pull request #1525 from ceph/wip-listxattr
Sage Weil [Mon, 24 Mar 2014 20:54:14 +0000 (13:54 -0700)]
Merge pull request #1525 from ceph/wip-listxattr

client: don't include ceph.{file,dir}.layout vxattr in listxattr()

Reviwed-by: Sage Weil <sage@inktank.com>
11 years agoensure pybind is in the PYTHONPATH 1527/head
Alfredo Deza [Mon, 24 Mar 2014 18:23:54 +0000 (14:23 -0400)]
ensure pybind is in the PYTHONPATH

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
11 years agoMerge pull request #1523 from ceph/wip-7827
Gregory Farnum [Mon, 24 Mar 2014 17:03:46 +0000 (10:03 -0700)]
Merge pull request #1523 from ceph/wip-7827

msg: set recv stamp for local delivery

Reviewed-by: Greg Farnum <greg@inktank.com>
11 years agobe nitpicky about missing references
Alfredo Deza [Fri, 13 Dec 2013 14:27:39 +0000 (09:27 -0500)]
be nitpicky about missing references

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
11 years agoMerge pull request #1526 from ceph/wip-status-function-names
Sage Weil [Mon, 24 Mar 2014 16:56:01 +0000 (09:56 -0700)]
Merge pull request #1526 from ceph/wip-status-function-names

mon: Monitor: change 'status' function names for clarity's sake

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoRevert "erasure-code: gf-complete detects SSE at runtime"
Sage Weil [Mon, 24 Mar 2014 01:58:55 +0000 (18:58 -0700)]
Revert "erasure-code: gf-complete detects SSE at runtime"

This reverts commit dbcf4471838fbf5dce2ee06fc73493f513dbf9f0.

11 years agoMerge pull request #1524 from dachary/wip-sse
Sage Weil [Mon, 24 Mar 2014 15:32:57 +0000 (08:32 -0700)]
Merge pull request #1524 from dachary/wip-sse

erasure-code: deactivate SSE optimizations

11 years agomon: Monitor: s/_mon_status()/get_mon_status()/ 1526/head
Joao Eduardo Luis [Mon, 24 Mar 2014 10:48:37 +0000 (10:48 +0000)]
mon: Monitor: s/_mon_status()/get_mon_status()/

'Monitor::_mon_status()' provides status specific to the monitor being
poked.  This is information that does not necessarily relate with
cluster status, and can even be obtained when there's no quorum (via the
admin socket).

We change the function name to make the distinction between mon-specific
status and cluster-status, which is obtained via a different function.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
11 years agomon: Monitor: s/get_status()/get_cluster_status()/
Joao Eduardo Luis [Mon, 24 Mar 2014 10:47:20 +0000 (10:47 +0000)]
mon: Monitor: s/get_status()/get_cluster_status()/

Monitor::get_status() is actually used to obtain 'cluster status' (i.e.,
status about *all* the monitors, maps, IO, overall healthiness).

Just make that clear in the function name, avoiding confusion between
multiple 'status-related' functions in the monitor.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
11 years agoclient: don't include ceph.{file,dir}.layout vxattr in listxattr() 1525/head
Yan, Zheng [Mon, 24 Mar 2014 11:33:52 +0000 (19:33 +0800)]
client: don't include ceph.{file,dir}.layout vxattr in listxattr()

This avoids 'cp -a' modifying layout of new files/directories.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
11 years agoerasure-code: deactivate SSE optimizations 1524/head
Loic Dachary [Mon, 24 Mar 2014 08:14:22 +0000 (09:14 +0100)]
erasure-code: deactivate SSE optimizations

Workaround until the bug is diagnosed and fixed

http://tracker.ceph.com/issues/7826 refs #7826

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoMerge pull request #1521 from ceph/wip-7810
Sage Weil [Mon, 24 Mar 2014 04:50:07 +0000 (21:50 -0700)]
Merge pull request #1521 from ceph/wip-7810

mds: reset connection priv after connection's session is removed

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agomsg: set recv stamp for local delivery 1523/head
Sage Weil [Mon, 24 Mar 2014 04:32:21 +0000 (21:32 -0700)]
msg: set recv stamp for local delivery

Fixes: #7827
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agomailmap: Allen Samuels affiliation
Loic Dachary [Fri, 21 Mar 2014 22:34:47 +0000 (23:34 +0100)]
mailmap: Allen Samuels affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Warren Usui is with Inktank
Loic Dachary [Fri, 21 Mar 2014 22:32:37 +0000 (23:32 +0100)]
mailmap: Warren Usui is with Inktank

Reviewed-by: Warren Usui <warren.usui@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agodocument adding dev key for custom Apache/FCGI install 1522/head
Paul Meserve [Sun, 23 Mar 2014 04:58:09 +0000 (00:58 -0400)]
document adding dev key for custom Apache/FCGI install

following the docs will only get you the release key and the install of custom Apache/FCGI fails w/ key error

11 years agomds: reset connection priv after connection's session is removed 1521/head
Yan, Zheng [Sun, 23 Mar 2014 02:42:25 +0000 (10:42 +0800)]
mds: reset connection priv after connection's session is removed

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
11 years agoMerge tag 'v0.78'
Sage Weil [Sat, 22 Mar 2014 17:24:25 +0000 (10:24 -0700)]
Merge tag 'v0.78'

v0.78

11 years agodoc/release-notes: 0.78 final notes
Sage Weil [Fri, 21 Mar 2014 23:57:09 +0000 (16:57 -0700)]
doc/release-notes: 0.78 final notes

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1515 from ceph/wip-rgw-less-alloc
Sage Weil [Fri, 21 Mar 2014 23:32:27 +0000 (16:32 -0700)]
Merge pull request #1515 from ceph/wip-rgw-less-alloc

Wip rgw less alloc

Reviewed-by: Sage Weil <sage@inktank.com>