summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ceph.spec.in: Need to cread radosgw log directory.wip-6475-glGary Lowell2013-10-171-1/+1
| | | | Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* radosgw: create /var/log/radosgw in package, not init scriptSage Weil2013-10-164-18/+8
| | | | | Fixes: #6475 Signed-off-by: Sage Weil <sage@inktank.com>
* Merge remote-tracking branch 'gh/next'Sage Weil2013-10-1618-135/+642
|\
| * debian, specfile: fix ceph-kvstore-tool packagingSage Weil2013-10-162-2/+2
| | | | | | | | | | | | See da69fa09c8274585225471c68c1acc788a3881f4 Signed-off-by: Sage Weil <sage@inktank.com>
| * Merge pull request #732 from ceph/wip-kvstore-toolSage Weil2013-10-163-14/+125
| |\ | | | | | | | | | | | | tools: ceph-kvstore-tool: Access & manipulate leveldb store using the KeyValueDB interface Reviewed-by: Sage Weil <sage@inktank.com>
| | * ceph-kvstore-tool: copy one leveldb store to some other placeJoao Eduardo Luis2013-10-161-4/+90
| | | | | | | | | | | | | | | | | | | | | Iterates over the provided source store's keys and copies them to the provided destination store. Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| | * ceph-kvstore-tool: calc store crcJoao Eduardo Luis2013-10-161-5/+29
| | | | | | | | | | | | | | | | | | | | | Reuse 'list()' function to traverse the store and calc not only version's crcs, but also calc the store's crc. Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| | * tools: move 'test_store_tool' to 'tools/ceph-kvstore-tool'Joao Eduardo Luis2013-10-163-5/+6
| | | | | | | | | | | | | | | | | | ceph-kvstore-tool allows for lower-level access to leveldb stores. Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * | Merge pull request #729 from ceph/wip-5716Josh Durgin2013-10-152-26/+60
| |\ \ | | | | | | | | | | | | | | | | rgw: gracefully handle bad root pool names Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
| | * | rgw: gracefully handle bad root pool nameswip-5716Yehuda Sadeh2013-10-152-26/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #5716 When invalid root pools specified (don't start with a period) we return with an error instead of asserting. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | | test/filestore/run_seed_to.sh: avoid obsolete --filestore-xattr-use-omapSage Weil2013-10-151-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | This option no longer exists. Signed-off-by: Sage Weil <sage@inktank.com>
| * | | MonCommands: note that pg dump options don't work in plaintextGreg Farnum2013-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Greg Farnum <greg@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
| * | | ceph_test_rados: fix snap remove vs rollback fixSage Weil2013-10-151-6/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 55d279b98553ba4542219b126fc7159b20b18b1f we tried to fix a race between rollback and snap removal, but got the logic wrong: we need to prevent *snap removal* on in-use snaps, not prevent multiple rollbacks on the same snap. Fixes: #6254 (again) Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Samuel Just <sam.just@inktank.com>
| * | os/LevelDBStore: handle deletion race when checking store sizeSage Weil2013-10-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the fix in 64774e5792f136df2bc78db686440fc2f3a7643f which mixed up the return value and errno. Fixes: #6550 Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * | Merge pull request #718 from ceph/wip-6553Sage Weil2013-10-151-1/+1
| |\ \ | | | | | | | | | | | | | | | | rgw: fix authenticated users acl group check Reviewed-by: Sage Weil <sage@inktank.com>
| | * | rgw: fix authenticated users acl group checkwip-6553Yehuda Sadeh2013-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #6553 Backport: bobtail, cuttlefish, dumpling Authenticated users group acl bit was not working correctly. Check to test whether user is anonymous was wrong. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | | rgw: change default log levelYehuda Sadeh2013-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #6554 Backport: cuttlefish, dumpling Default log level was just too high, bring it down a bit. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
| * | | Merge pull request #720 from liewegas/wip-6521Sage Weil2013-10-152-1/+5
| |\ \ \ | | |/ / | |/| | | | | | | | | | mon/PGMonitor: set floor below which we do not warn about objects/pg Reviewed-by: Greg Farnum <greg@inktank.com>
| | * | mon/PGMonitor: set floor below which we do not warn about objects/pgSage Weil2013-10-152-1/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a cluster has very few objects, do not generate warnings when the objects/pg for a pool diverges from the cluster average. This avoids spurious errors when you have a relatively empty cluster and a lone pool with a modest number of objects is too far off the (mostly meaningless) cluster-wide average. Also include a per-pool min so we ignore mostly-empty pools. Fixes: #6521 Signed-off-by: Sage Weil <sage@inktank.com>
| * | Merge pull request #596 from ceph/wip-6147Sage Weil2013-10-145-77/+433
| |\ \ | | | | | | | | | | | | | | | | mon: keep track of per-pool stats Reviewed-by: Sage Weil <sage@inktank.com>
| | * | mon: OSDMonitor: add 'osd pool stats' commandJoao Eduardo Luis2013-10-152-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #6147 Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| | * | mon: PGMap: rework client IO rate calc and outputJoao Eduardo Luis2013-10-152-33/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a function so we can use the same format when outputting per-pool stats Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| | * | mon: PGMap: reuse existing summary functions to output pool statsJoao Eduardo Luis2013-10-153-25/+71
| | | | | | | | | | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| | * | mon: PGMap: keep track of per-pool stats deltasJoao Eduardo Luis2013-10-153-19/+181
| |/ / | | | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
* | | Merge pull request #655 from ceph/wip-cache-crcSage Weil2013-10-1612-16/+1207
|\ \ \ | | | | | | | | | | | | | | | | | | | | buffer: cache crc values in buffer::raw Reviewed-by: Yehuda Sadeh <yehuda@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
| * | | common/buffer: behave when cached crc stats don't start at 0Sage Weil2013-10-161-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | In particular, this helps when we set CEPH_BUFFER_TRACK=true Signed-off-by: Sage Weil <sage@inktank.com>
| * | | crc32c: expand unit testYehuda Sadeh2013-10-161-0/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Verify crc on a buffer range, and on a NULL buffer (with various sizes). Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | | sctp_crc32c: fix crc calculation in the NULL buffer caseYehuda Sadeh2013-10-161-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | | crc32c: add a special case crc32c NULL buffer handlingYehuda Sadeh2013-10-163-1/+652
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a special case crc32c NULL buffer handling for the intel assembly code. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | | common/buffer: pass NULL buffer instead of a zero-filled oneSage Weil2013-10-161-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is about 2x faster on my box using the sctp code. Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/crc32c: document interfaceSage Weil2013-10-161-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/crc32c_intel_baseline: accept null data bufferSage Weil2013-10-161-5/+13
| | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/sctp_crc32: accept NULL buffer pointerSage Weil2013-10-161-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | If we get NULL we behave as if it were a zero-filled buffer. Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/buffer: explicitly init zbuf to zerosSage Weil2013-10-161-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | This might not be necessary? Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/buffer: add crc caching performance testSage Weil2013-10-161-1/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On my old box: - matching cached values is a big win (free), obviously - the adjustment is the same speed as redoing the calculation. this is probably because the data is already in L1/L2 cache; we still save memory bandwidth. Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/buffer: instrument utilization of cached crcsSage Weil2013-10-162-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to the alloc tracking, but I've added a method to let you enable it easily (in this case, from the unit test). Signed-off-by: Sage Weil <sage@inktank.com>
| * | | common/buffer: cache crcs in buffer::rawSage Weil2013-10-162-5/+81
| | | | | | | | | | | | | | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
| * | | include: add SpinlockSage Weil2013-10-162-0/+58
| | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | | | Merge pull request #709 from ceph/wip-filerecoverGregory Farnum2013-10-162-10/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch prevents us from inadvertently reducing sparse file sizes during recovery. We also reduce some code duplication by using eval() directly in do_file_recover() instead of reproducing the parts we care about. Reviewed-by: Greg Farnum <greg@inktank.com>
| * | | | mds: don't decrease file size when recovering filewip-filerecoverYan, Zheng2013-10-112-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we may truncate sparse file to wrong size Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
* | | | | Merge pull request #724 from ceph/wip-4047Josh Durgin2013-10-161-2/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | cls_rbd: do not make noise in osd log on rbd removal Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
| * | | | cls_rbd: do not make noise in osd log on rbd removalSage Weil2013-10-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ubuntu@burnupi06:~$ tail -f /var/log/ceph/ceph-osd.1.log 2013-02-07 17:00:30.565749 7fdb09e6b700 0 <cls> cls/rbd/cls_rbd.cc:1615: error reading id for name 'sds': -2 2013-02-07 17:00:30.566301 7fdb0a66c700 0 <cls> cls/rbd/cls_rbd.cc:1521: error reading name to id mapping: -2 2013-02-07 17:03:54.085700 7fdb0a66c700 0 <cls> cls/rbd/cls_rbd.cc:1615: error reading id for name 'sdfsd': -2 2013-02-07 17:03:54.086143 7fdb09e6b700 0 <cls> cls/rbd/cls_rbd.cc:1521: error reading name to id mapping: -2 Fixes: #4047 Signed-off-by: Sage Weil <sage@inktank.com>
* | | | | Merge pull request #728 from ceph/wip-6059athanatos2013-10-150-0/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Sage Weil <sage@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com> Reviewed-by: David Zafman <david.zafman@inktank.com>
| * | | | | ReplicatedPG: remove the other backfill related flushesSamuel Just2013-10-152-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
| * | | | | RadosModel: send racing read on writeSamuel Just2013-10-151-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
| * | | | | ReplicatedPG: block reads on an object until the write is committedSamuel Just2013-10-152-23/+194
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* | | | | | test_ceph_argparse: fix typoSage Weil2013-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | | | | | test_ceph_argparse: fix mds {add,remove}_data_pool testsSage Weil2013-10-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | | | | | common: fix non-daemon initSage Weil2013-10-152-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 4f403c26dc0048ad63e20d20369fa86bfb31c50e we broke the general non-daemon case. Also make a note in the release notes. Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
* | | | | | test/librados/cmd: fix compile errorSage Weil2013-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From commit f0805cb61fccf9ffaa905b8477a131b4d46379fa. Signed-off-by: Sage Weil <sage@inktank.com>