summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ignore jni package when generating shlibswip-debhelper-8James Page2013-02-271-1/+3
|
* Migrate packaging to debhelper 8James Page2013-02-273-100/+58
| | | | | | | Update packaging to debhelper 8 standard for more magic/simple build process. Added -dbg package and improved package descriptions for libcephfs-java.
* doc: fixed link and form edit.John Wilkins2013-02-271-2/+2
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Added auth entry to index.John Wilkins2013-02-271-0/+1
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Removed auth entries from general. Part of an auth-specific section now.John Wilkins2013-02-271-55/+0
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Added comment to enable message. Added link to Auth Config Reference.John Wilkins2013-02-271-2/+5
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Added Auth Config Reference as standalone config reference.John Wilkins2013-02-271-0/+217
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* osd: allow log trimming during recoverySage Weil2013-02-271-11/+7
| | | | | | | | | We rely on min_last_complete_ondisk being accurate; as long as we have logs from that point, the current replicas will be able to safely recovery via their logs. Bump the target size, just as we do with degraded. Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Samuel Just <sam.just@inktank.com>
* ceph-fuse: add ceph options for all current fuse optionsSage Weil2013-02-272-9/+16
| | | | | | | This will make it easier to disable these for end users, and for platforms with old libfuse versions that don't support them. Signed-off-by: Sage Weil <sage@inktank.com>
* Merge pull request #81 from dalgaaf/wip-da-sca-style-1Sage Weil2013-02-2718-49/+29
|\ | | | | | | | | Fix some smaller style issues Reviewed-by: Sage Weil <sage@inktank.com>
| * kv_flat_btree_async.cc: remove unused variablesDanny Al-Gaaf2013-02-271-6/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * kv_flat_btree_async.cc: remove some unreachable break statementsDanny Al-Gaaf2013-02-271-3/+0
| | | | | | | | | | | | Remove unreachable break statements after return calls in a switch. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * key_value_store/cls_kvs.cc: remove unused variable dupmapDanny Al-Gaaf2013-02-271-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * bloom_filter.hpp: check for self assignmentDanny Al-Gaaf2013-02-271-11/+13
| | | | | | | | | | | | | | Check for self assignment in operator= to avoid problems with dynamic memory (cppcheck). Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * crush/builder.c: reduce scope of oldsize in crush_add_rule()Danny Al-Gaaf2013-02-271-1/+1
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * CrushCompiler.cc: remove duplicate if/else branchesDanny Al-Gaaf2013-02-271-6/+3
| | | | | | | | | | | | | | Fix duplicate content of a if/else branch. Remove the complete if/else around the content. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * common/secret.c: reduce the scope of some variablesDanny Al-Gaaf2013-02-271-2/+2
| | | | | | | | | | | | Reduce the scope of error_buf to the place where it's used. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * pick_address.cc: pass const string by refrenceDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | Pass 'const string networks' by reference to find_ip_in_subnet_list(). Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * obj_bencher.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | Use static_cast<T>() instead of C-Style cast. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * config.cc: remove unused variable 'val' from parse_injectargs()Danny Al-Gaaf2013-02-271-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * code_environment.cc: move variable ret in get_process_name()Danny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | | | Move 'ret' in get_process_name() to the correct block to suppress warning about unused variable in cppcheck. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * ceph_context.cc: remove unused variable 'args' from do_commandDanny Al-Gaaf2013-02-271-1/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * cls_crypto.cc: remove some unused variablesDanny Al-Gaaf2013-02-271-5/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * cls_acl.cc: remove unused variablesDanny Al-Gaaf2013-02-271-4/+0
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * common/armor.c: reduce scope of some variablesDanny Al-Gaaf2013-02-271-1/+3
| | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * TextTable: pass const string by refrence to define_column()Danny Al-Gaaf2013-02-272-2/+2
| | | | | | | | | | | | Pass 'const string heading' by reference to define_column(). Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * CephBroker.h: use static_cast instead of C-Style castDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | Use static_cast<T>() instead of C-Style cast. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * SyntheticClient.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | Use static_cast<T>() instead of C-Style cast. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* | debian: let dpkg calculate the shlibs dep for leveldb (if any)Sage Weil2013-02-271-1/+1
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | Merge pull request #79 from dalgaaf/wip-da-leveldbSage Weil2013-02-277-7/+9
|\ \ | | | | | | | | | | | | Some fixes related to switch to system leveldb Reviewed-by: Sage Weil <sage@inktank.com>
| * | debian/control: fix DependsDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove request for libleveldb1 version > 1.2. Every libleveldb1 package should work, otherwise the SO name/version of the library should change. Fixes: #3945 Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | debian/control: add libleveldb-dev to Build-Depends:Danny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | README: add leveldb-dev to package list needed for buildDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | ceph.spec.in: fix leveldb handlingDanny Al-Gaaf2013-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no need to add leveldb as 'Requires:'. The RPM build system will find this dependency by itself. Add leveldb-devel to BuildRequires: since this is what the package really needs to build ceph correctly with libleveldb1. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | configure.ac: check for libsnappyDanny Al-Gaaf2013-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | Since libsnappy is needed by leveldb, check if the lib is installed before check for leveldb. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | add src/leveldb to .gitignoreDanny Al-Gaaf2013-02-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add src/leveldb to .gitignore in master, since the directory may get checked out by older branches. Ignore it since it's not needed in master. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | remove leveldb from master branchDanny Al-Gaaf2013-02-272-3/+0
| |/ | | | | | | | | | | | | Since we now build against system leveldb and no longer against a git submodule, drop the submodule from git master. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* | Merge pull request #80 from dalgaaf/wip-da-4261Sage Weil2013-02-271-2/+2
|\ \ | |/ |/| | | | | ceph_argparse.cc: accept also 0/1 for boolean injectargs Reviewed-by: Sage Weil <sage@inktank.com>
| * ceph_argparse.cc: accept also 0/1 for boolean injectargsDanny Al-Gaaf2013-02-271-2/+2
|/ | | | | | | | | Accept also 0 (as false) and 1 (true) as arguments for boolean option on injectargs. Fixes: #4261 Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* Build: Change build to always use system leveldbGary Lowell2013-02-265-20/+6
| | | | | | | | | Dynamically link to the leveldb installed on the system rather than statically linking ceph copy. Remove the --with-system-leveldb config option, and add a requirement for leveldb libraries for rpm and debian packages. Bug 3945. Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* ceph-test.install: remove cepkfs-test.jarGary Lowell2013-02-261-1/+0
| | | | | | This was merged prematurely to mast. Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* doc: fix rst for watch/notify internalsSage Weil2013-02-261-7/+10
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* OpRequest: rmw_flags may actually be 0Samuel Just2013-02-261-1/+0
| | | | | | | | If the operation includes only an invalid method, the flags will be 0. Reviewed-by: Yehuda Sadeh <yehuda@inktank.com> Signed-off-by: Samuel Just <sam.just@inktank.com>
* Merge branch 'next'Sage Weil2013-02-262-2/+2
|\
| * librbd: fix rollback sizeJosh Durgin2013-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | The duplicate calls to get_image_size() and get_snap_size() replaced by 5806226cf0743bb44eaf7bc815897c6846d43233 uncovered this. The first call was using the currently set snap_id instead of the snapshot being rolled back to. Fixes: #4272 Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
| * msg: fix entity_addr_t::is_same_host() for IPv6Sage Weil2013-02-261-1/+1
| | | | | | | | | | | | | | We weren't checking the memcmp return value properly! Aie... Backport: bobtail Signed-off-by: Sage Weil <sage@inktank.com>
* | ceph-test.install: Add libcephfs-test.jar.Gary Lowell2013-02-261-0/+1
| | | | | | | | Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* | Merge pull request #78 from Elbandi/masterSage Weil2013-02-264-21/+85
|\ \ | | | | | | | | | | | | Some fixes and functions for libcephfs and client Reviewed-by: Sage Weil <sage@inktank.com>
| * | client: add some new functions: lchmod, fsetattr, lutimeAndras Elso2013-02-272-0/+53
| | | | | | | | | | | | Signed-off-by: Andras Elso <elso.andras@gmail.com>
| * | client: allow change file owner or group onlyAndras Elso2013-02-274-15/+24
| | | | | | | | | | | | Signed-off-by: Andras Elso <elso.andras@gmail.com>