Joao Eduardo Luis
de6d0a222b
mon: Monitor: 'ceph df'
...
Fixes : #3484
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-03-04 11:37:17 +00:00
Gary Lowell
e3847986cf
README: Add libsnappy-dev to build requirements.
...
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2013-03-01 23:32:54 -08:00
Dan Mick
14daccc1fb
doc: missing blank line in radosgw/config-ref
2013-03-01 19:53:33 -08:00
Gary Lowell
83705e6497
Merge pull request #85 from dalgaaf/wip-da-spec-1
...
Fix package requirements to get sgdisk and merge some changes back from SUSE spec file.
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
2013-03-01 19:09:04 -08:00
Sage Weil
f8f2cb2da0
Merge pull request #88 from nmtadam/master
...
librados.hpp typo
2013-03-01 17:50:00 -08:00
Adam Manzanares
e01c15b23c
librados.hpp: replace paris with pairs
...
Signed-off-by: Adam Manzanares <nmtadam@gmail.com>
Working on a lua-rados library I noticed that paris was used
in the place of pairs in some comments.
2013-03-01 15:49:26 -08:00
John Wilkins
d5ec9cad4a
doc: Instruction should have been noout, not nodown.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-03-01 15:09:31 -08:00
John Wilkins
d54ded4991
doc: Fixed OSD pool config settings. Should be in [global], not [osd].
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-03-01 11:35:47 -08:00
Gary Lowell
ded94add32
ceph.spec.in: Require gptfdisk for Suse, gdisk for otherwise
...
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2013-03-01 10:38:49 -08:00
Sage Weil
84f48c3a8d
Merge pull request #87 from dalgaaf/wip-da-sca-style-2
...
Fix more issues found via cppcheck
Reviewed-by: Sage Weil <sage@inktank.com>
2013-03-01 10:18:57 -08:00
Danny Al-Gaaf
1de23b5d9d
osd/Watch.cc: init NotifyTimeoutCB::canceled in constructor with false
...
Initialize NotifyTimeoutCB::canceled in the constructor with
false as already done in onter cases.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 18:52:27 +01:00
Danny Al-Gaaf
7ee047c64e
osd/ReplicatedPG.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 18:44:59 +01:00
Danny Al-Gaaf
169552540c
ReplicatedPG.cc: remove unused variables
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:58:19 +01:00
Danny Al-Gaaf
91e24b8216
ReplicatedPG.cc: remove consecutive return/break statement
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:55:55 +01:00
Danny Al-Gaaf
79569f7d3b
osd/PG.cc: reduce scope of listed_collection in read_log_old()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:14:53 +01:00
Danny Al-Gaaf
75a265f2df
osd/PG.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:11:31 +01:00
Danny Al-Gaaf
b4276cbccb
osd/OSD.cc: remove unused variable 'map<int64_t, int> pool_resize'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:05:03 +01:00
Danny Al-Gaaf
e0308f34e4
osd/OSD.cc: reduce scope of "PG *pg" in OSD::handle_pg_query()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:57:13 +01:00
Danny Al-Gaaf
054424bade
osd/OSD.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:54:26 +01:00
Danny Al-Gaaf
3c96faa41a
os/IndexManager.cc: reduce scope of 'int r' in IndexManager::build_index()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:37:36 +01:00
Danny Al-Gaaf
b8711633e9
os/LevelDBStore.h: pass const string by reference to past_prefix()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:33:40 +01:00
Danny Al-Gaaf
ea7907fc2b
os/FileStore.cc: fix warning about comparing int with bool
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:27:38 +01:00
Danny Al-Gaaf
40aaf821b1
os/FileStore.cc: remove identical else branch
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:09:15 +01:00
Danny Al-Gaaf
a68411bd52
os/FileStore.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:04:24 +01:00
Danny Al-Gaaf
f1f1c77697
SimpleMessenger.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 15:54:21 +01:00
Danny Al-Gaaf
5009c77d60
msg/Pipe.cc: reduce scope of some variables
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 15:40:51 +01:00
Danny Al-Gaaf
bb172dd467
mon/Paxos.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 15:09:37 +01:00
Danny Al-Gaaf
8bfe3c6f89
mon/PGMonitor.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:37:29 +01:00
Danny Al-Gaaf
5376a139fe
mon/PGMap.cc: remove useless assigment to 'first', it's never used
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:33:39 +01:00
Danny Al-Gaaf
e13da07a5f
mon/OSDMonitor.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:32:09 +01:00
Danny Al-Gaaf
9b73448b07
mon/MonmapMonitor.cc: remove unused variable
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:25:55 +01:00
Danny Al-Gaaf
4d5e3dd167
mon/MonmapMonitor.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:22:20 +01:00
Danny Al-Gaaf
e2fe6f00ec
mon/Monitor.cc: reduce scope of reuse_caps in Monitor::_ms_dispatch()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:18:04 +01:00
Danny Al-Gaaf
0b73c31814
mon/Monitor.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:15:08 +01:00
Danny Al-Gaaf
0213806233
mon/MonClient.cc: use static_cast instead of C-Style cast
...
Use static_cast<T*>(m) instead of C-Style cast, add missing
include needed for static_cast.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 14:02:15 +01:00
Danny Al-Gaaf
f26fad2ab8
mon/MDSMonitor.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:57:39 +01:00
Danny Al-Gaaf
956408eaba
mon/LogMonitor.cc: move unused variable into related code block
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:53:54 +01:00
Danny Al-Gaaf
b232621bc1
mon/LogMonitor.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:51:57 +01:00
Danny Al-Gaaf
17bd157632
mon/Elector.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:49:37 +01:00
Danny Al-Gaaf
00b309cf93
mon/AuthMonitor.cc: remove unused 'std::stringstream ss'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:47:10 +01:00
Danny Al-Gaaf
17aa1b4092
mds/flock.cc: remove unused variable 'crossed_waiting_locks'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:41:48 +01:00
Danny Al-Gaaf
eedb463846
mds/Server.cc: reduce scope of some variables
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:38:11 +01:00
Danny Al-Gaaf
116d8d1fc0
mds/Server.cc: : use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:33:12 +01:00
Danny Al-Gaaf
146e457502
mds/Migrator.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:27:03 +01:00
Danny Al-Gaaf
cb31159de3
mds/MDS.cc: remove unused variable 'oldresolve'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:20:39 +01:00
Danny Al-Gaaf
7def48c306
mds/MDS.cc: : use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:20:03 +01:00
Danny Al-Gaaf
926e9960a8
mds/MDCache.cc: remove unused variables recover_q and check_q
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:10:32 +01:00
Danny Al-Gaaf
87a1773cf6
mds/MDCache.cc: reduce scope of 'in' in MDCache::open_root_inode()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:05:32 +01:00
Danny Al-Gaaf
ec0e6cb64d
mds/MDCache.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 13:03:19 +01:00
Danny Al-Gaaf
f40932d670
mds/MDBalancer.h: init some double variables in constructor
...
Initialize double variables my_load and target_load with 0.0 in
the constructor.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 12:49:37 +01:00