summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #85 from dalgaaf/wip-da-spec-1wip-da-spec-1Gary Lowell2013-03-011-2/+17
|\ | | | | | | | | | | Fix package requirements to get sgdisk and merge some changes back from SUSE spec file. Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
| * ceph.spec.in: merge fdupes support from SUSE packagesDanny Al-Gaaf2013-03-011-0/+7
| | | | | | | | | | | | | | | | Use fdupes to avoid duplicated files as done in the SUSE packages. Since it doesn't work as expected on Fedora/RHEL do this only on SUSE based distros. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * ceph.spec.in: add on non-RHEL sharutils to 'BuildRequires:'Danny Al-Gaaf2013-03-011-0/+3
| | | | | | | | | | | | Add sharutils to 'BuildRequires:', needed for configure. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * ceph.spec.in: fix 'Requires:' to get sgdisk into the systemDanny Al-Gaaf2013-03-011-2/+7
| | | | | | | | | | | | | | | | Fix package Requirements to get sgdisk. On RHEL/CentOS/Fedora the package is gdisk. On SUSE/openSUSE < 12.2 it's scsirastools on openSUSE >= 12.2 it's in gptfdisk. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* | doc: Fixed OSD pool config settings. Should be in [global], not [osd].John Wilkins2013-03-012-3/+3
| | | | | | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* | ceph.spec.in: Require gptfdisk for Suse, gdisk for otherwiseGary Lowell2013-03-011-1/+2
| | | | | | | | Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* | Merge pull request #87 from dalgaaf/wip-da-sca-style-2Sage Weil2013-03-0131-277/+260
|\ \ | |/ |/| | | | | Fix more issues found via cppcheck Reviewed-by: Sage Weil <sage@inktank.com>
| * osd/Watch.cc: init NotifyTimeoutCB::canceled in constructor with falseDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | | | | | | | 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>
| * osd/ReplicatedPG.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-21/+21
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * ReplicatedPG.cc: remove unused variablesDanny Al-Gaaf2013-03-011-2/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * ReplicatedPG.cc: remove consecutive return/break statementDanny Al-Gaaf2013-03-011-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * osd/PG.cc: reduce scope of listed_collection in read_log_old()Danny Al-Gaaf2013-03-011-1/+2
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * osd/PG.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-8/+8
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * osd/OSD.cc: remove unused variable 'map<int64_t, int> pool_resize'Danny Al-Gaaf2013-03-011-2/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * osd/OSD.cc: reduce scope of "PG *pg" in OSD::handle_pg_query()Danny Al-Gaaf2013-03-011-2/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * osd/OSD.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-24/+24
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * os/IndexManager.cc: reduce scope of 'int r' in IndexManager::build_index()Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * os/LevelDBStore.h: pass const string by reference to past_prefix()Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * os/FileStore.cc: fix warning about comparing int with boolDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * os/FileStore.cc: remove identical else branchDanny Al-Gaaf2013-03-011-3/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * os/FileStore.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * SimpleMessenger.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-6/+6
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * msg/Pipe.cc: reduce scope of some variablesDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/Paxos.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/PGMonitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-4/+4
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/PGMap.cc: remove useless assigment to 'first', it's never usedDanny Al-Gaaf2013-03-011-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/OSDMonitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-14/+14
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/MonmapMonitor.cc: remove unused variableDanny Al-Gaaf2013-03-011-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/MonmapMonitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-4/+4
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/Monitor.cc: reduce scope of reuse_caps in Monitor::_ms_dispatch()Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/Monitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-20/+20
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/MonClient.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-5/+6
| | | | | | | | | | | | | | 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>
| * mon/MDSMonitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-6/+6
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/LogMonitor.cc: move unused variable into related code blockDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/LogMonitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/Elector.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mon/AuthMonitor.cc: remove unused 'std::stringstream ss'Danny Al-Gaaf2013-03-011-2/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/flock.cc: remove unused variable 'crossed_waiting_locks'Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/Server.cc: reduce scope of some variablesDanny Al-Gaaf2013-03-011-4/+4
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/Server.cc: : use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-12/+12
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/Migrator.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-12/+12
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/MDS.cc: remove unused variable 'oldresolve'Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/MDS.cc: : use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-9/+9
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/MDCache.cc: remove unused variables recover_q and check_qDanny Al-Gaaf2013-03-011-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/MDCache.cc: reduce scope of 'in' in MDCache::open_root_inode()Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/MDCache.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-21/+16
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/MDBalancer.h: init some double variables in constructorDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | | | | | | | 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>
| * mds/MDBalancer.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * ESession.h: initialze 'open' in the constructor with falseDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * mds/LogEvent.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>