Commit Graph

39603 Commits

Author SHA1 Message Date
Noah Watkins
de6b53aba7 qa: hadoop plays nice with new teuthology task
This brings the hadoop wordcount up-to-date with the new teuthology
hadoop task.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-02-11 16:03:32 -08:00
Ken Dreyer
1914b90a8a Merge pull request #3683 from dachary/wip-10845-python-flask
tests: no need for python-flask at build time

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-02-11 16:57:30 -07:00
Loic Dachary
3c05c9c829 tests: no need for python-flask at build time
http://tracker.ceph.com/issues/10845 Refs: #10845

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-12 00:55:49 +01:00
Gregory Farnum
81b8c3744a Merge pull request #3699 from ceph/wip-early-adopters
doc: Early adopter notes for CephFS

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-02-11 15:01:06 -08:00
Gregory Farnum
0feee20b21 Merge pull request #3617 from ceph/wip-10737
mds: disallow layout changes for files with data

Reviewed-by: John Spray <john.spray@redhat.com>
2015-02-11 14:47:41 -08:00
Gregory Farnum
890f5b6bd4 Merge pull request #3683 from ceph/wip-10791-stopping
MDSMonitor: do not allow MDS to transition from STATE_STOPPING

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2015-02-11 14:39:29 -08:00
Gregory Farnum
b0176297ad Merge pull request #3599 from ceph/wip-traceless-reply
Wip traceless reply

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-02-11 14:26:17 -08:00
Josh Durgin
f16ff13d3b Merge pull request #3700 from ceph/wip-librbd-maint-tests
tests: add simple tests for proxied maintenance operations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-02-11 14:04:09 -08:00
Sage Weil
a79c9bdae8 Merge pull request #3706 from dachary/wip-10839-shec-uninitialized-hammer
erasure-code: fix uninitialized data members on SHEC

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-11 13:56:02 -08:00
Loic Dachary
b24a01b50a erasure-code: initialize all data members
As a safeguard against unitialized memory in isa and jerasure
plugins. Since the init method is supposed to be called before the
plugin is used, it is mostly not relevant. However it can lead to
problems that are non trivial to figure out.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-11 22:45:49 +01:00
Loic Dachary
1a9d717d16 erasure-code: fix uninitialized data members on SHEC
Also fix the tests that verify the result when init is not called and
factorize the two tests that were almost identical for simplicity.

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

Backport: hammer
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-11 22:44:49 +01:00
Samuel Just
e2a508573f ReplicatedPG::on_change: requeue in_progress_async_reads close to last
Fixes: 10768
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-02-11 10:30:51 -08:00
Samuel Just
efccb758cb Merge pull request #3692 from athanatos/wip-8753
ReplicatedPG::on_change: clean up callbacks_for_degraded_object

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-11 10:29:47 -08:00
Samuel Just
a5ecaa189d ReplicatedPG::on_change: clean up callbacks_for_degraded_object
Backport: dumpling, firefly, giant
Fixes: 8753
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-02-11 10:28:42 -08:00
Sage Weil
714fe73414 Merge pull request #3643 from athanatos/wip-10734
ObjectStore: fix Transaction encoding version number

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-11 10:26:25 -08:00
Sage Weil
aa03d6a84c Merge remote-tracking branch 'gh/master' into hammer 2015-02-11 09:21:36 -08:00
Sage Weil
f65cb09e17 Merge pull request #3092 from abartlet/ceph-dmcrypt-plain
Ceph dmcrypt with LUKS (split into 4 patches)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-02-11 09:21:53 -08:00
Sage Weil
1d306ad015 Merge branch 'hammer' of github.com:ceph/ceph into hammer
mon bits
Reviewed-by: Sage Weil <sage@redhat.com>

cli bits
Reviewed-by: Dan Mick <dmick@redhat.com>
2015-02-11 09:20:19 -08:00
Sage Weil
2d2dc13858 mon/PGMonitor: drop pg ls debug line
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-11 07:58:38 -08:00
Haomai Wang
956d8e7a70 AsyncConnection: Clean up unused variables
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-11 22:40:51 +08:00
Danny Al-Gaaf
65ce7b731a fix configure to reflect the missing libs for xio
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-02-11 14:37:01 +01:00
John Spray
a5804c45f1 doc: add a page for CephFS early adopters
This is where we should point people who are
trying out CephFS in evaluation environments.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-11 13:24:13 +00:00
Sage Weil
d2376497e7 doc/cephfs: Ceph FS -> CephFS
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-11 13:24:13 +00:00
Sage Weil
65dfd5d4ea doc/cephfs: clarify the 'not production ready' warning
Continue to run into people who see this and run away (occasionally to
less robust solutions) without understanding why.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-11 13:24:13 +00:00
John Spray
700459bdf5 build-doc: package checks for fedora
Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-11 13:24:13 +00:00
John Spray
c5a74a73d2 build-doc: don't ignore errors
It's hard to see what went wrong when e.g. a pip
install fails, if it just steams right past.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-11 13:24:13 +00:00
Loic Dachary
94f9f60b1b tests: clone ceph-erasure-code-corpus from ceph
Instead of the http://github.com/dachary namespace. It is not an issue
in the common case because it should be cloned because it is in the
.gitmodules file with the proper namespace.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-11 13:34:15 +01:00
Vu Pham
807cf57abd xio: Fix out-of-order responses
Without this clients received out-of-order responses from xio messenger

Signed-off-by: Raju.Kurunkad@sandisk.com
2015-02-11 02:36:11 -08:00
Vu Pham
807af4cdbf cmake: Fix cmakelist to compile librbd
Signed-off-by: Vu Pham <vu@melanox.com>
2015-02-11 02:21:19 -08:00
Haomai Wang
79c018d4c2 AsyncConnection: Remove useless inject delay in _stop
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-11 17:48:28 +08:00
Haomai Wang
a70c1111d3 AsyncConnection: Upper read_until log level
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-11 17:39:29 +08:00
Haomai Wang
a640ca9330 AsyncConnection: Use retry_global tag instead of retry_session
Via two qa lab tests, it's hard to use retry_session which will cause connect_seq
increase, it will let reset_check harder. So use retry_global should avoid side
effect for replacing.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-11 17:37:34 +08:00
Swami Reddy
ce7e95da28 mailmap: add Mykola Golub to organizationmap
Signed-off-by: Swami Reddy M R <swami.reddy@ril.com>

Reviwed-by: Mykola Golub <mgolub@mirantis.com>
2015-02-11 13:54:32 +05:30
Haomai Wang
2ff5ce623e AsyncConnection: kick out connection if half accept
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-11 14:55:31 +08:00
Haomai Wang
7cc109a5e9 AsyncConnection: close socket ASAP for standby connection
If we have lots of connection standby, it may cause lots of fd leak.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-11 12:27:12 +08:00
David Zafman
418ca0c3a5 osd: Update object state after removing watch from object info
Fixes: #10784

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-02-10 20:25:05 -08:00
David Zafman
27905fdb80 osd: Simplify handle_watch_timeout() using existing support functions
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-02-10 20:24:22 -08:00
Josh Durgin
45c388f220 objecter: protect linger_op last_error and registered fields
These are read and updated in places where using the session lock or
objecter->rwlock wouldn't make sense, so protect them with watch_lock
instead. last_error was already mostly protected by this lock, it was
just missing in tick().

Fixes: #10831
Backport: giant
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-02-10 20:19:32 -08:00
Josh Durgin
69ee5ec7dd objecter: remove unused RWLock::Context
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-02-10 19:24:44 -08:00
Sage Weil
1ff8f769c3 Merge pull request #3691 from athanatos/wip-6003
FileJournal: fix journalq population in do_read_entry()

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-10 17:42:21 -08:00
Sage Weil
38428b4495 Merge pull request #3690 from athanatos/wip-10817
Wip 10817

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-10 17:36:35 -08:00
Sage Weil
8ee43796c5 Merge pull request #3689 from athanatos/wip-10771
ReplicatedPG::eval_repop: check waiting_for_* even if !m

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-10 17:33:18 -08:00
Sage Weil
a6035aee32 Merge branch 'wip-7701' of git://github.com/xinxinsh/ceph into hammer
Conflicts:
	src/osd/osd_types.h
2015-02-10 17:19:44 -08:00
Josh Durgin
e01c93df9e objecter: clarify a few lock assertions
These are always called with the rwlock locked for write.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-02-10 16:36:39 -08:00
Ken Dreyer
7df0556210 Merge branch 'dachary-wip-10728-fedora-junit'
ceph.spec.in: junit always except for EPEL 6

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-02-10 16:47:51 -07:00
Josh Durgin
a60d5fab0b objecter: remove dead race handling code
The only caller of _get_osd_session() holds rwlock for write, so
_get_session() cannot race. The only caller of _get_session() which
may possibly race is _op_submit(), which handles the race more simply
inline.

Call _get_session() inline in place of _get_osd_session(), and remove
the unused functions _get_osd_session() and
_promote_lock_check_race().

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-02-10 15:42:26 -08:00
Josh Durgin
1b2da9b949 objecter: remove dead _get_op_target_session() method
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-02-10 15:28:15 -08:00
Loic Dachary
4f36eaee9e ceph.spec.in: junit always except for EPEL 6
The package was renamed a long time ago (around the Fedora 15
timeframe). The "junit4" name is only relevant for EPEL 6. For EPEL 7
and Fedora 20, the "junit" package has "Provides: junit4". And most
recently, in the junit package that ships in Fedora 21 and 22, the
package maintainer dropped the old Provides: line.

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

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-11 00:02:28 +01:00
Greg Farnum
9656018592 MDSMonitor: do not allow MDS to transition from STATE_STOPPING
They can only go into STATE_STOPPED. I was a little concerned
that some of the rejoin code might inadvertently allow a stopping
MDS to end up active, but after a little auditing it looks like
that all behaves properly and this is an invariant we maintain.

Fixes: #10791

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-02-10 14:18:52 -08:00
Dmytro Iurchenko
6898f0b27f rgw: Swift API. The second way of specifying desirable response format.
OpenStack Object Storage API v1 defines two ways for the client to tell which response format it understands.
Until now RGW looked at query variable 'format' only. This commit implements the second way of setting the format by
providing 'Accept' HTTP-header with the desirable response mime-type.

Backport: hammer
Fixes: #10746

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
2015-02-10 14:07:40 -08:00