Commit Graph

37901 Commits

Author SHA1 Message Date
Yann Dupont
9636dfca37 mailmap: Shishir Gowda affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:31 +01:00
Yann Dupont
eb659ce61a mailmap: David Anderson affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:31 +01:00
Yann Dupont
977db4fe86 mailmap: Matt Benjamin affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:31 +01:00
Yann Dupont
6cea1e3c98 mailmap: Yunchuan Wen affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:30 +01:00
John Spray
61126a2d71 Merge pull request #3199 from ceph/wip-qa-empty-xattr
qa: test zero size xattr

Reviewed-by: John Spray <john.spray@redhat.com>
2014-12-19 17:03:25 +00:00
Sage Weil
0a25bee539 Merge remote-tracking branch 'gh/wip-fs-quota'
Conflicts:
	src/client/Client.cc
2014-12-19 07:45:02 -08:00
Sage Weil
676ce2a58e Merge pull request #3218 from dachary/wip-10383-disable-unittest-msgr
tests: temporarily disable unittest_msgr
2014-12-19 07:42:48 -08:00
Loic Dachary
ecbdbb1629 tests: temporarily disable unittest_msgr
http://tracker.ceph.com/issues/10383 Refs: #10383

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-12-19 16:21:50 +01:00
Sage Weil
84ae9fd127 Merge pull request #2976 from ceph/wip-pgmeta
osd: move PG metadata to a per-PG object

Passed rados and upgrade tests.

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-19 07:19:05 -08:00
Sage Weil
531ed8a38c Merge pull request #3212 from ceph/wip-10255-wusui
Remove sepia dependency (use fqdn)

Backport: giant
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-19 07:09:33 -08:00
Sage Weil
c2951131bd Merge pull request #3214 from xinxinsh/wip-cleanup
cleanup : remove sync_epoch

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-19 07:02:39 -08:00
Wido den Hollander
49c2322160 doc: Instead of using admin socket, use 'ceph daemon' command. 2014-12-19 15:51:49 +01:00
Loic Dachary
11fa1dfbcb Merge pull request #3193 from nilamdyuti/wip-doc-ceph-disk
Changes format style in ceph-disk to improve readability as html

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-19 15:36:39 +01:00
Loic Dachary
71df64519d Merge pull request #3210 from ceph/wip-osdmap
osd: only verify OSDMap crc if it is known

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-19 15:07:56 +01:00
Loic Dachary
8c2c48d8d4 Merge pull request #3216 from cstavr/master
ceph-disk: Fix wrong string formatting

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-19 14:57:11 +01:00
Christos Stavrakakis
a302c44e9c ceph-disk: Fix wrong string formatting
Signed-off-by: Christos Stavrakakis <stavr.chris@gmail.com>
2014-12-19 13:46:44 +02:00
xinxin shu
2f63e54f0f cleanup : remove sync_epoch
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2014-12-19 09:19:26 +08:00
Warren Usui
19dafe1648 Remove sepia dependency (use fqdn)
Fixes: #10255
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-12-18 17:16:24 -08:00
Loic Dachary
af18cf8d61 Merge pull request #3209 from dmick/wip-stop.sh-me
stop.sh: only try killing processes that belong to me

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-19 01:54:42 +01:00
Sage Weil
1eb0cd5a14 osd: only verfy OSDMap crc if it is known
Only verify we encode a full map with the correct CRC if we actually
have the value in the Incremental.  Otherwise, any map from an old
mon will fail.  And we'll try to request a full map with a message the
old mon doesn't understand.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 16:49:06 -08:00
Dan Mick
1b7585b310 stop.sh: only try killing processes that belong to me
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2014-12-18 16:14:43 -08:00
Loic Dachary
8547d9baae Merge pull request #3207 from ceph/wip-cot-rename
ceph_objectstore_tool: Rename generated binary to ceph-objectstore-tool

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-19 01:12:10 +01:00
Dan Mick
2af416b80f Merge pull request #3208 from ceph/wip-10326
qa/workunits/rest/test.py: fix pg stat test
2014-12-18 16:10:34 -08:00
Sage Weil
0af2a1c1cc qa/workunits/rest/test.py: fix pg stat test
Back in e27b0d9e42 we changed pg stat to
not dump everything when a formatter is used.

Fixes: #10326
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 15:49:58 -08:00
John Wilkins
3b46995c97 Merge pull request #3195 from nilamdyuti/wip-doc-ceph-deploy
doc: Changes format style in ceph-deploy to improve readability as html.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-18 15:01:50 -08:00
John Wilkins
3450220be5 Merge pull request #3201 from nilamdyuti/wip-doc-ceph
doc: Changes format style in ceph to improve readability as html.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-18 15:00:37 -08:00
Sage Weil
5439d9ee70 Merge pull request #3057 from ceph/wip-crush-straw
crush: fix straw bucket scaler bugs

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2014-12-18 14:13:33 -08:00
Sage Weil
2a1bd761e9 .gitmodules: update ceph-object-corpus auth repo to github
It's annoying having ceph.com for only this repo, and it's not that big.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 14:09:21 -08:00
Sage Weil
e3f370f246 Merge pull request #3101 from yuyuyu101/wip-10147
Messenger Unit Tests

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-18 14:05:16 -08:00
Gregory Farnum
cc504694bf Merge pull request #3205 from ceph/wip-caps-init
messages/MClientCaps: init peer.flags

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2014-12-18 11:36:49 -08:00
Samuel Just
a2112fd072 Merge pull request #3123 from linuxbox2/wip-claim-3
Wip claim 3

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-18 11:23:23 -08:00
Samuel Just
2474a7854c Merge pull request #3111 from yuyuyu101/wip-10193
WBThrottle: make bytes/ios/inode_wb's perf counter effective

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-18 11:21:28 -08:00
Samuel Just
0a6d5aef16 Merge pull request #3133 from XinzeChi/wip-2
OSD: FileJournal: call writeq_cond.Signal if necessary in submit_entry

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-18 11:20:24 -08:00
Samuel Just
a9aaea7709 Merge pull request #3132 from mslovy/optimazation_collection_map
os: IndexManager:: optimize map<coll_t, CollectionIndex* > col_indices to unordered_map

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-18 11:19:34 -08:00
Loic Dachary
916a211aac Merge pull request #3204 from ceph/wip-osdmap-leak
osd: fix leaked OSDMap

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-18 19:32:41 +01:00
Haomai Wang
1f9c087421 AsyncConnection: Fix time event is called after AsyncMessenger destruction
AsyncConnection uses time event to handle async event partially, but it's not
very effective so here use dispatch_event_external instead.

And if client try to connect to server after a period, it may be call
AsyncConnection::process which will reference to AsyncMessenger. Since
AsyncMessenger doesn't use reference count, it will result in segment
fault. Now we record time event id and delete these registered time events
when stopping connection.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-18 23:36:27 +08:00
Haomai Wang
20ea086722 PipeConnection: Avoid deadlock when calling is_connected
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-18 22:51:33 +08:00
Haomai Wang
9783a5cb64 test/msgr/test_msgr: Fix potential unsafe cond wakeup and wrap check
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-18 22:50:57 +08:00
Sage Weil
2cd9dc0804 messages/MClientCaps: init peer.flags
*** CID 1258789:  Uninitialized scalar field  (UNINIT_CTOR)
/messages/MClientCaps.h: 132 in MClientCaps::MClientCaps(int, inodeno_t,
inodeno_t, unsigned long, int, unsigned int)()
126         head.ino = ino;
127         head.realm = realm;
128         head.cap_id = id;
129         head.migrate_seq = mseq;
130         peer.cap_id = 0;
131         inline_version = 0;
>>>     CID 1258789:  Uninitialized scalar field  (UNINIT_CTOR)
>>>     Non-static class member field "peer.flags" is not initialized in this
constructor nor in any functions that it calls.
132       }
133     private:
134       ~MClientCaps() {}
135
136     public:
137       const char *get_type_name() const { return "Cfcap";}

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 06:29:40 -08:00
Sage Weil
679652ab36 osd: fix leaked OSDMap
*** CID 1258787:  Resource leak  (RESOURCE_LEAK)
/osd/OSD.cc: 6118 in OSD::handle_osd_map(MOSDMap *)()
6112                    << dendl;
6113            clog->warn() << "failed to encode map e" << e << " with expecte
crc\n";
6114            MMonGetOSDMap *req = new MMonGetOSDMap;
6115            req->request_full(e, last);
6116            monc->send_mon_message(req);
6117            last = e - 1;
>>>     CID 1258787:  Resource leak  (RESOURCE_LEAK)
>>>     Variable "o" going out of scope leaks the storage it points to.
6118            break;
6119           }
6120
6121
6122           hobject_t fulloid = get_osdmap_pobject_name(e);
6123           t.write(META_COLL, fulloid, 0, fbl.length(), fbl);

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 06:24:49 -08:00
Haomai Wang
001ea29386 Messenger: Create an Messenger implementation by name.
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-18 21:51:12 +08:00
Yan, Zheng
2d76bc2d98 Merge pull request #3202 from ceph/wip-fix-asok
mds: fix asok on rank 0
2014-12-18 20:22:40 +08:00
John Spray
3a2cb7148a mds: fix asok on rank 0
Broken by:
1b2b34431 (MDS: do not allow invocation of most commands on an inactive MDS)

MDS::whoami is a rank, so check for inactive is <0, not <=0

Signed-off-by: John Spray <john.spray@redhat.com>
2014-12-18 12:16:13 +00:00
Nilamdyuti Goswami
8de9a0f437 doc: Adds updated man page for ceph under man/
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-18 17:13:27 +05:30
Nilamdyuti Goswami
8b79617306 doc: Changes format style in ceph to improve readability as html.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-18 17:11:22 +05:30
Nilamdyuti Goswami
7093cb3725 doc: Adds updated man page for ceph-disk under man/
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-18 16:50:22 +05:30
Nilamdyuti Goswami
62b3fcdd24 doc: Updates man page for ceph-disk with suggested changes.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-18 16:48:50 +05:30
Nilamdyuti Goswami
2862a49483 doc: Adds updated man page for ceph-disk under man/
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-18 16:31:35 +05:30
Nilamdyuti Goswami
3f6be22f64 doc: Updates man page for ceph-disk.
Changes format style to improve readability as html.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-18 16:31:35 +05:30
Wido den Hollander
883e1aea96 doc: Show how new data pools can be added to CephFS for file layouts 2014-12-18 10:59:31 +01:00