Commit Graph

32511 Commits

Author SHA1 Message Date
Samuel Just
b6a431b183 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>
2014-03-26 17:24:38 -07:00
Yehuda Sadeh
98654092fc rgw: configurable chunk size
Fixes: #7589

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-26 15:49:35 -07:00
Sage Weil
f1a1ac8243 Merge remote-tracking branch 'gh/firefly' 2014-03-25 22:39:05 -07:00
Sage Weil
18c3e9ec53 osd: fix tests due to no default erasure-code ruleset
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-25 22:38:05 -07:00
Sage Weil
29f7420269 Revert "osd: create the erasure-code ruleset in OSDMap::build_simple"
This reverts commit b85330eb1d.

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>
2014-03-25 22:38:05 -07:00
Sage Weil
fbbdbf0aae Merge pull request #1530 from onlyjob/fix-defaultweight
fix bug in 'defaultweight' calculation on OSD start.

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-25 21:44:19 -07:00
Dmitry Smirnov
4cf9a73bac 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>
2014-03-26 10:48:12 +11:00
Josh Durgin
f57cf56aea Merge branch 'wip-7676-firefly' into firefly
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-25 16:40:47 -07:00
SandonV
3f47f9e7a6 Merge pull request #1533 from ceph/wip-7863-wusui
Make sure s3_utilities are found.
2014-03-25 16:36:43 -07:00
Warren Usui
2779e2ab03 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>
2014-03-25 16:30:03 -07:00
Sage Weil
b9e29caff3 Merge pull request #1527 from ceph/wip-6465
be nitpicky about missing references

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-25 15:29:18 -07:00
Sage Weil
1234f768e8 Merge pull request #1531 from onlyjob/debian
minor corrections from Debian

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-25 14:59:46 -07:00
Gregory Farnum
83661c273e Merge pull request #1363 from ceph/wip-3863
Add ceph-client-debug inode lookup

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-03-25 10:49:51 -07:00
Dmitry Smirnov
4ac78087c4 minor corrections to package descriptions 2014-03-25 22:23:13 +11:00
Dmitry Smirnov
012bb5fb5b 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
2014-03-25 22:10:48 +11:00
Yehuda Sadeh
14b743ba6f 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>
2014-03-24 14:59:13 -07:00
Yehuda Sadeh
7989cbd418 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>
2014-03-24 14:58:05 -07:00
Yehuda Sadeh
f023f90091 rgw: zone placement info includes extra data pool
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-24 14:58:05 -07:00
Yehuda Sadeh
3677076bb4 rgw: add data_extra pool to bucket
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-24 14:58:05 -07:00
David Zafman
e5a4f5ed00 Merge pull request #1528 from ceph/wip-dz-watch-test
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-03-24 14:18:53 -07:00
David Zafman
01b99668ab qa: Add ceph_multi_stress_watch for rep and ec
Fixes: #7438

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-03-24 14:04:48 -07:00
Sage Weil
b1819fcbe8 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>
2014-03-24 13:54:14 -07:00
Alfredo Deza
6ec28fd92c ensure pybind is in the PYTHONPATH
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-03-24 14:52:45 -04:00
Gregory Farnum
afcf016a8a Merge pull request #1523 from ceph/wip-7827
msg: set recv stamp for local delivery

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-03-24 10:03:46 -07:00
Alfredo Deza
37899fa53e be nitpicky about missing references
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-03-24 13:01:38 -04:00
Sage Weil
230dfc6216 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>
2014-03-24 09:56:01 -07:00
Sage Weil
4186916c1d Revert "erasure-code: gf-complete detects SSE at runtime"
This reverts commit dbcf447183.
2014-03-24 09:21:26 -07:00
Sage Weil
b79ab0d8e1 Merge pull request #1524 from dachary/wip-sse
erasure-code: deactivate SSE optimizations
2014-03-24 08:32:57 -07:00
Joao Eduardo Luis
3f014dade0 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>
2014-03-24 14:43:21 +00:00
Joao Eduardo Luis
ed780adb16 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>
2014-03-24 14:41:22 +00:00
Yan, Zheng
08a3d6bd42 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>
2014-03-24 19:35:03 +08:00
Loic Dachary
1bc680ebff 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>
2014-03-24 09:14:57 +01:00
Sage Weil
904c870c38 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>
2014-03-23 21:50:07 -07:00
Sage Weil
8116394887 msg: set recv stamp for local delivery
Fixes: #7827
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-23 21:32:21 -07:00
Yan, Zheng
fb72330fb3 mds: reset connection priv after connection's session is removed
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-03-23 10:47:17 +08:00
Sage Weil
361b251e15 v0.78
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJTLLeZAAoJEH6/3V0X7TFtOTMP/Ru4Y8raF/yKFIKeqCu98l51
 CHYEQYHhLviDy6l0JJTZHVjkzYyfD1gf015ggIXGgQ45yp0dY2+Rv5kNJlRn9t+c
 HUyNO2Qaxe+9wmApkIIoNMrkmAcp2FVSNN0Vuri+LmlQkGJdRFwH1qfBnmqEMI22
 /4Zfca68LTFe2RzhE6sF1kqaHJAXx6YpApSyDJ5tzYNIk6JQ5sX4aObIBzPYYSZZ
 +VYbiQgV/UutiO0j2+V4Cg+Bm0tu0d4aoQam5rIYVDdzm17phzox4Y2r4XlTNe21
 5hz1MFGLbvi+gcwOiChQbOerGWa9MWhSstcAKuUmf8la1NHgG13rYVjbWnpiGNrH
 nOblSypZarCLkypOg8Ogv5wS8Q5d4j8MrU2lqciJTmMOVMtIonGg33qpS6WSelAa
 MetDgWqMCqnSeVj0kILE7rSRSZ0hnU4YRPu6mhHaahttdleb4jxQALT8YESp9Yep
 yH5BZHrfaUbqnSek/Pe+rNk+D4fsXMzsRI4YrqpLl/EWTmbtFWS5FXxCzfwQThA9
 SuhZtOCiKMykt/fyIkW9CxQyanGM1uZdRV5driu+2YbAtHQO7zT4sBV8RicEdX3M
 3HHDuuSWzjEN3ASkXUuJYncnXDLxYSiKvXCpTZ5+n5c/MtK7isQnmdt3PJRN5pKJ
 aQp3CL1bTrOue/yhNd/o
 =3q4f
 -----END PGP SIGNATURE-----

Merge tag 'v0.78'

v0.78
2014-03-22 10:24:25 -07:00
Sage Weil
e4f2d9fe16 doc/release-notes: 0.78 final notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-21 16:57:09 -07:00
Sage Weil
b742f94e4e Merge pull request #1515 from ceph/wip-rgw-less-alloc
Wip rgw less alloc

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-21 16:32:27 -07:00
Sage Weil
185bcc42d5 doc/release-notes: final 0.78
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-21 15:43:39 -07:00
Yehuda Sadeh
1817c23c2c rgw: get rid of a memory allocation
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-21 15:16:23 -07:00
Yehuda Sadeh
1e7cd10d39 rgw: remove memory allocation
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-21 15:16:23 -07:00
Jenkins
f6c746c314 0.78 2014-03-21 22:05:12 +00:00
Sage Weil
e4e8dc5081 Merge pull request #1512 from dachary/wip-jerasure-sse
erasure-code: gf-complete detects SSE at runtime

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-21 14:51:30 -07:00
Loic Dachary
fed2ed1acc Merge pull request #1513 from ceph/wip-7438
Reviewed-by: Loic Dachary <loic@dachary.org>
2014-03-21 22:06:30 +01:00
Samuel Just
a8f59a383a Merge pull request #1510 from ceph/wip-pq
osd: some PrioritizedQueue cleanups; dump locking fix; debug pqueue state at high debug level

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-03-21 13:39:50 -07:00
Sage Weil
28d8e7f567 Revert "ReplicatedPG: disallow trans which atomically create and remove an object"
This reverts commit 9ee1084281.

This appears to break rgw in its current state; test and fix soon.
2014-03-21 11:57:03 -07:00
Sage Weil
49a0190068 doc/release-notes: 0.78 notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-21 08:59:10 -07:00
Sage Weil
8012ba4313 Merge remote-tracking branch 'gh/wip-multimds-fixes'
Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-21 08:21:21 -07:00
Loic Dachary
dbcf447183 erasure-code: gf-complete detects SSE at runtime
And the gf-complete code has been updated to rely on the
gf_internal_t::sse flag instead of #if conditionals.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-21 14:56:30 +01:00
Loic Dachary
8c7f6c11d4 autotools: AX_SSE detects the compiler SSE capabilities
For each SSE feature supported by the compiler

* add the corresponding -msse* flag
* define HAVE_SSE*

Remove AX_EXT because it decides based on the CPU capabilities of the
machine compiling the binary which may or may not be the one running
them.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-21 13:07:32 +01:00