Commit Graph

32483 Commits

Author SHA1 Message Date
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
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
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
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
David Zafman
5a3f6c7c8a test: Add erasure coding to stress watch test
Fixes: #7438

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-03-20 23:12:47 -07:00
David Zafman
6fb65882a9 test: Reorg multi_stress_watch to prepare for ec option
If old options are specified maintain backward compatibility

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-03-20 23:10:14 -07:00
David Zafman
b110275de2 test: Fix ceph_filestore_dump.sh test for new EC pool creation
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-03-20 20:22:30 -07:00
Sage Weil
bcc254fe50 Merge pull request #1500 from ceph/wip-tid_t
Change tid_t to ceph_tid_t to avoid conflicts with a popular type

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 16:07:29 -07:00
Sage Weil
c9b4e7d9be Merge pull request #1465 from ceph/wip-s3pm-wusui
Remove code duplication from s3 tests.
2014-03-20 16:05:48 -07:00
Sage Weil
f13c6421a6 Merge pull request #1511 from dachary/wip-exclamation
tests: use ^ instead of ! as invalid char

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 16:04:59 -07:00
Loic Dachary
dad0faf1a1 tests: use ^ instead of ! as invalid char
Because !!! is incorrectly interpreted as an error by gitbuilder.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-20 23:29:29 +01:00
Sage Weil
d4d77d71d0 doc/release-notes: stop confusing sphinx
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/release-notes.rst:594: Unknown target name: "debug".

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-20 14:43:13 -07:00
Sage Weil
f50d208cc5 Merge pull request #1503 from dachary/wip-jerasure-submodules
erasure-code: add gf-complete / jerasure submodules

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 14:11:44 -07:00
Samuel Just
5158f1544f Merge pull request #1505 from ceph/wip-7728
Wip 7728

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 14:05:47 -07:00
Sage Weil
513e4ad8ec Merge remote-tracking branch 'gh/firefly' 2014-03-20 10:42:26 -07:00
Samuel Just
048ca96c4d Merge pull request #1509 from guangyy/wip-folder-merge
Make it possible for FileStore to be in a state which never do merge and keep it backward compatible

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-03-20 10:13:05 -07:00
Sage Weil
d1f8742db1 Merge pull request #1506 from ceph/wip-7755
PG::find_best_info: fix log_tail component

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 09:24:26 -07:00
Sage Weil
b395cb1951 Merge pull request #1507 from ceph/wip-7733
PG::start_peering_interval: always send_notify if !primary

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 09:19:58 -07:00
Sage Weil
bf68dabaaa Merge pull request #1508 from ceph/wip-7777
ReplicatedPG::do_op: delay if snapdir is unreadable

Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-20 09:19:10 -07:00
Josh Durgin
cffcf10ff6 Merge pull request #1312 from cernceph/master
rados.py: add aio_remove

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-19 11:00:58 -07:00
Josh Durgin
c647a03fff Merge pull request #1504 from ceph/wip-7780
objecter: waive OSDMAP_FULL check for MDS

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-19 10:47:05 -07:00
Samuel Just
72093f97a9 Merge pull request #1476 from ceph/wip-scrub-lock
osd: do not queue scrub for non-primary

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-03-19 10:46:32 -07:00
Josh Durgin
cb744ca382 Merge pull request #1502 from ceph/wip-flush-journal-asok
wip-flush-journal-asok

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-19 10:40:47 -07:00
John Spray
78ede90c4e objecter: waive OSDMAP_FULL check for MDS
The MDS expects to be able to perform writes to OSDs even
if the full ratio has been reached, in order to journal
file deletions to free space.

Fixes: #7780

Signed-off-by: John Spray <john.spray@inktank.com>
2014-03-19 16:22:37 +00:00
Ilya Dryomov
a4849fb914 qa: test_alloc_hint: flush journal before prodding the FS
OSDs that for some reason get behind on processing their op queue break
expect_alloc_hint_eq(), as it pokes the FS and not the journal.  Fix it
by flushing the journal before proceeding with anything else.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-19 10:59:27 +02:00
Ilya Dryomov
9d31c1be1f osd: add flush_journal admin socket command
Add flush_journal admin socket command to be able to flush journal to
the permanent store for online osds.  (For offline osds we already have
ceph-osd --flush-journal.)

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-19 10:59:26 +02:00
Yan, Zheng
b444e88650 mds: fix typo in MDCache::handle_cache_rejoin_strong
It should invent dirfrags according to the dirfragtree

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-03-19 16:25:26 +08:00
Loic Dachary
ddbb2f7b0a erasure-code: add gf-complete / jerasure submodules
Instead of copying the files in the ceph repository, which is less
convenient.

When building the headers are ignored, even though they do
not exist. When creating the tarbal with make dist, it fails because
they cannot be found. I misread src/gf_int.h to be include/gf_int.h and
wrongfully thought the submodules were to blame. This is why they were
removed shortly after being added.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-19 08:02:12 +01:00