Commit Graph

36156 Commits

Author SHA1 Message Date
Wido den Hollander
3184a20733 doc: A couple of fixes to the CloudStack documentation 2014-10-01 17:02:29 +02:00
Sage Weil
7d6e21d8d1 osd: fix need_journal call
From 2955b3da4e

Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-01 06:34:20 -07:00
Sage Weil
2b441e5a0b 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>
2014-10-01 06:11:10 -07:00
Sage Weil
ee194c2a31 Merge pull request #2608 from yuyuyu101/pipe-iovec
Pipe: avoid redundancy new/delete for struct iovec

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-01 06:10:24 -07:00
Haomai Wang
2955b3da4e ObjectStore: Add "need_journal" interface to make aware of journal device
Impl feature #9580

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-10-01 10:40:09 +08:00
Haomai Wang
05fd5077dd Pipe: avoid redundancy new/delete for struct iovec
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-10-01 10:36:21 +08:00
Gregory Farnum
70406edc33 Merge pull request #2605 from ceph/wip-osd-objecter
osd: do not bind ms_objecter messenger

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-09-30 10:14:38 -07:00
Loic Dachary
58961d97d7 Merge pull request #2597 from cchengleo/wip-test-shared-cache
test shared cache

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-30 16:59:05 +02:00
Cheng Cheng
2e9c7c9a45 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>
2014-09-30 10:54:18 -04:00
cchengleo
d34c21ce48 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>
2014-09-30 10:53:19 -04:00
Loic Dachary
172db92c95 Merge pull request #2609 from dachary/wip-doc-context
common: document C_GatherBuilder and C_Gather

Reviewed-by: John Spray <john.spray@redhat.com>
2014-09-30 15:03:15 +02:00
Loic Dachary
de87d5451f 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>
2014-09-30 15:01:22 +02:00
Sage Weil
ccf3e06a7c Merge pull request #2502 from yuyuyu101/kvstore-meta-cache
KeyValueStore: performance improvement and docs
2014-09-29 16:43:29 -07:00
Josh Durgin
1daf0551fd Merge pull request #2523 from ceph/wip-6926
rbd: Fix rbd diff for non-existent objects

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-09-29 16:41:47 -07:00
Sage Weil
f36e8540d0 Merge remote-tracking branch 'gh/giant'
Conflicts:
	qa/workunits/cephtool/test.sh
	src/test/erasure-code/TestErasureCodeIsa.cc
2014-09-29 16:17:15 -07:00
Sage Weil
46d5518644 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 558d9fc956 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>
2014-09-29 16:11:06 -07:00
Sage Weil
0d1a4171c1 Merge pull request #2602 from athanatos/wip-9574
PG: check full ratio again post-reservation

Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 14:14:40 -07:00
Sage Weil
acd49892df Merge pull request #2604 from athanatos/wip-9113
ReplicatedPG: clean out completed trimmed objects as we go

Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 14:02:15 -07:00
Samuel Just
78fc7b8198 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>
2014-09-29 13:54:31 -07:00
Samuel Just
f91c571ef6 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>
2014-09-29 13:52:21 -07:00
Samuel Just
ffda34c4be 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>
2014-09-29 13:44:37 -07:00
Sage Weil
614157c288 Merge pull request #2598 from ceph/wip-9582
librados: fix other timeout segfault

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-09-29 13:08:10 -07:00
John Spray
9d2481c7ea 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>
2014-09-29 21:02:58 +01:00
Loic Dachary
2974c7b88a Merge pull request #2555 from theanalyst/wip/mailmap
mailmap updates 

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 20:25:08 +02:00
Abhishek Lekshmanan
984a14763a mailmap: Riccardo Ferretti affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
8d9fcbca8e mailmap: Casey Marshall affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
26941eac69 mailmap: Feng Wang affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
23c8fe52c7 mailmap: Scott A. Brandt affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
eedcd9cc02 mailmap: Gerben Meijer affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Gerben Meijer <gerben@daybyday.nl>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
91af25f6c2 mailmap: John Wilkins name normalization
Also adding John Wilkins to .peoplemap to track org change

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
242f334472 mailmap: John Spray name normalization
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
75716656d4 mailmap: Samuel Just name normalization
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
5d3c025580 mailmap: Pavan Rallabhandi name normalization
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
214e6cda88 mailmap: Swami Reddy name normalization
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Swami Reddy <swamireddy@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
d0a220256c mailmap: Volker Voigt affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
dc601c7949 mailmap: Laurent Guerby affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
1a963484f5 mailmap: Johnu George affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Johnu George <johnugeo@cisco.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
f0bbbadd3c mailmap: Janne Grunau affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:29 +05:30
Abhishek Lekshmanan
f8179353ef mailmap: Daniel Schepler affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
29efada5e1 mailmap: Cheng Cheng affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
b167f7047c mailmap: Sahid Ferdjaoui affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
4b33b584ba mailmap: Jiang Heng affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
b386b5981a mailmap: JuanJose Galvez affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
e6bba0d5db mailmap: Roman Haritonov affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-09-29 21:32:28 +05:30
Abhishek Lekshmanan
e133a92ecb mailmap: Yongyue Sun affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 21:31:29 +05:30
Sage Weil
9af9df42f2 Merge pull request #2594 from dachary/wip-9620-test-mon-thrash
qa/workunits/cephtool/test.sh: fix thrash (ultimate)

Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 08:18:36 -07:00
Loic Dachary
584a54a078 Merge pull request #2582 from ceph/wip-crush-location
crushtool: add --location <id> command

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 14:27:23 +02:00
Loic Dachary
beade63a17 qa/workunits/cephtool/test.sh: fix thrash (ultimate)
Keep the osd trash test to ensure it is a valid command but make it a
noop by giving it a zero argument (meaning thrash 0 OSD maps).

Remove the loops that were added after the command in an attempt to wait
for the cluster to recover and not pollute the rest of the tests. Actual
testing of osd thrash would require a dedicated cluster because it the
side effects are random and it is unnecessarily difficult to ensure they
are finished.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 13:47:06 +02:00
Loic Dachary
9ced13789c Merge pull request #2590 from dachary/wip-9592-librados-large-object
librados large object early check

Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 08:38:34 +02:00
Loic Dachary
5d1d9dba60 librados: cap the IoCtxImpl::{aio_}*{write,append} buffer length
If the value of the len parameter is greater than UINT_MAX/2,
IoCtxImpl::aio_write, IoCtxImpl::aio_write_full, IoCtxImpl::aio_append,
IoCtxImpl::write, IoCtxImpl::append will fail with E2BIG.

IoCtxImpl::write_full is the exception because it does not have a
length argument to check.

For more information see 33501d2426

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-29 08:35:54 +02:00