Commit Graph

38038 Commits

Author SHA1 Message Date
Loic Dachary
020983b0a5 Merge pull request #3223 from objoo/master
mailmap updates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-01-01 22:52:24 +01:00
Sage Weil
169e8bd2cf msg: fix factory error message
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-30 14:08:49 -08:00
Sage Weil
ec1f58a30d unittest_msgr: enable experiemntal async msgr
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-30 14:08:38 -08:00
Sage Weil
51f5f12ca4 Merge pull request #3219 from yuyuyu101/wip-10383
Wip 10383: Fix unittest_msgr with AsyncMessenger bug

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-30 10:46:58 -08:00
Sage Weil
ecdc9fb2ec Merge pull request #3279 from ceph/wip-mon-janitorial-list
src/doc: add monitor janitorial list
2014-12-30 10:44:17 -08:00
Haomai Wang
fd877e0152 Merge pull request #3278 from mslovy/wip-y04
KeyValueStore:: do_transactions: clean up code which is never used

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-30 20:30:34 +08:00
Ning Yao
cef7a82584 KeyValueStore:: do_transactions: clean up code which is never used
clean up ops and bytes which is never used in do_transactions()

Signed-off-by: Ning Yao <zay11022@gmail.com>
2014-12-30 10:53:21 +00:00
Joao Eduardo Luis
dfd6a382cd src/doc: add monitor janitorial list
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-30 10:10:52 +00:00
Sage Weil
dfee5e5337 Merge pull request #3274 from ceph/wip-10341
tools: ceph-monstore-tool: refactor cli parsing

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-29 16:28:57 -08:00
Sage Weil
af03583c25 Merge pull request #3275 from liewegas/wip-experimental
mark some features experimental and warn accordingly

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2014-12-29 14:22:17 -08:00
Sage Weil
b7b4534d78 common: log which experimental features are enabled.
This will appear in the logs regardless of whether or not the features
get used/enabled via other config options.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-29 14:19:14 -08:00
Sage Weil
55405db537 ms: mark async messenger experimental
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-29 14:19:14 -08:00
Sage Weil
44ce7cc1de os: rename keyvaluestore-dev -> keyvaluestore; mark experimental
Use a clean name for keyvaluestore (no -dev suffix), but mark as
experimental to ensure users know what they are signing up for.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-29 14:19:14 -08:00
Sage Weil
8a559720fb common: add 'enable experimental data corrupting features'
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-29 14:19:13 -08:00
Sage Weil
d54295e5a8 Merge pull request #3265 from yuyuyu101/coverify-fix
Event: Avoid illegal multiplication for memset

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-29 10:56:23 -08:00
John Wilkins
9b3c0b6140 Merge pull request #3260 from nilamdyuti/wip-doc-ceph-object-gateway
doc: Updates information for SSL configuration in Ceph Object Gateway installation.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-29 10:39:24 -08:00
Joao Eduardo Luis
783956ccb6 tools: ceph-monstore-tool: validate start/stop vals
on commands that use 'start' and 'stop'/'end' values, we should validate
them and inform the user when 'stop' > 'start'.

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-29 17:50:28 +00:00
Joao Eduardo Luis
60e9c3f003 tools: ceph-monstore-tool: output number of paxos versions dumped
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-29 17:50:28 +00:00
Joao Eduardo Luis
b27ca4c024 tools: ceph-monstore-tool: raw map to stdout if outfile not specified
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-29 17:50:28 +00:00
Joao Eduardo Luis
68f3b77ddd tools: ceph-monstore-tool: use subcmd parser helper
reduces the noise in the code

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-29 17:50:28 +00:00
Joao Eduardo Luis
a186ee1229 tools: ceph_monstore_tool: add sub-command parser helper function
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-29 17:50:28 +00:00
Joao Eduardo Luis
fe662c5ae2 tools: ceph-monstore-tool: a cli that works
Fixes: #10341

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-12-29 17:50:28 +00:00
Haomai Wang
793c32d5f1 Event: Avoid illegal multiplication for memset
Because "file_events" is "FileEvent" type and adding an integral value to
this pointer automatically scales that value by the size.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-28 21:31:35 +08:00
Yann Dupont
4193594cff mailmap: Chris Holcombe affiliation 2014-12-27 01:11:31 +01:00
Yann Dupont
bb09b20e53 mailmap: Alfredo Deza affiliation : Fix Typo.
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:31 +01:00
Yann Dupont
f3fd07cb23 mailmap: Christos Stavrakakis affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:31 +01:00
Yann Dupont
a8542d0e11 mailmap: Ning Yao affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2014-12-27 01:11:31 +01:00
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
Haomai Wang
3f83e88008 Merge pull request #3255 from tchaikov/async-leak
AsyncMessenger: fix the leak of file_events
2014-12-26 22:42:33 +08:00
Nilamdyuti Goswami
fe44cd3199 doc: Updates information for SSL configuration in Ceph Object Gateway installation.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-26 19:58:57 +05:30
Kefu Chai
25cf82e2c8 AsyncMessenger: reset newly allocated file_events
* otherwise there is chance that Event could take them as already
  initialized ones even they are filled with random bits from heap.
2014-12-26 16:28:26 +08:00
Sage Weil
ec3b0e1166 Merge pull request #3257 from mslovy/wip-y02
PG:: filter_snapc: Return immediately if no snapc need to trim

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-25 20:52:06 -08:00
Sage Weil
3b14321536 Merge pull request #3256 from majianpeng/fix4
FileJournal: Don't cache journal data if journal w/o directio mode

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-25 20:48:40 -08:00
Ning Yao
852aab64f6 PG:: filter_snapc: Return immediately if no snapc need to trim
we can return immediately if no snapc need to trim. Do not iterater snapc vector and do extra judgement and ops.

Signed-off-by: Ning Yao <zay11022@gmail.com>
2014-12-26 04:20:35 +00:00
Jianpeng Ma
45fb9a3b5d FileJournal: Don't cache journal data if journal w/o directio mode
Only read journal data in osd starting.So no need to keep journal
data in kernel cache/buffer.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-26 09:58:24 +08:00
Kefu Chai
e4e1777894 AsyncMessenger: fix the leak of file_events
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2014-12-25 21:45:00 +08:00
Sage Weil
203d549ddc Merge pull request #3241 from ceph/wip-10415
libcephfs/test.cc: close fd before umount

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-23 08:17:34 -08:00
Sage Weil
678a5cf78b Merge pull request #3245 from trociny/fix-10132
10132: osd: tries to set ioprio when the config option is blank

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-23 08:13:35 -08:00
Haomai Wang
ee6529b47d AsyncMessenger: Fix leak memory
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 21:09:09 +08:00
Mykola Golub
b41a739f68 10132: osd: tries to set ioprio when the config option is blank
According to documentation, ioprio params will only be used if both
osd disk thread ioprio class and osd disk thread ioprio priority are
set to a non default value.

So, add a proper check and do not generate "set_disk_tp_priority(22)
Invalid argument" warning for the default settings.
2014-12-23 13:39:33 +02:00
Haomai Wang
9aa65aa9aa Makefile: Restore check
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 19:22:10 +08:00
Haomai Wang
69dbfce5f3 AsyncConnection: Init peer_global_seq
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 19:22:10 +08:00
Haomai Wang
917ed9665b test_msgr: Avoid deadlock between send_message and dispatch
If connection holds Connection's lock and try to acquire
FakeDispatcher's lock while gtest thread try to send_message with
FakeDispatcher's lock and try to acquire Connection's lock,
it will be deadlock.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 19:22:09 +08:00
Haomai Wang
1cb78eeb73 AsyncMessenger: Make learn_addr async to avoid destroying lock rule
Make learn_addr become a async op, otherwise holding connection's
lock then acquire messenger's lock will destroy lock rule.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 19:22:09 +08:00
Haomai Wang
1c0af36c0f AsyncConnection:: Avoid getting stopping connection
Now AsyncConnection::_stop may consume a little time on deleting time events,
it may occur that accepting a connection get this stopping connection
because unregister call isn't met.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 19:22:09 +08:00
Haomai Wang
6b01b5e06f AsyncConnection: Ensure reply connect_seq larger than sent
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-23 19:22:09 +08:00
Loic Dachary
bb01f9e930 Merge pull request #3243 from yuyuyu101/wip-10424
librados: only call watch_flush if necessary

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-23 12:12:12 +01:00