]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agoMove stat/*.log to the end of logrotate.conf
Alexandre Oliva [Mon, 4 Jul 2011 16:14:11 +0000 (13:14 -0300)]
Move stat/*.log to the end of logrotate.conf

Logrotate ignores entries after a rule that doesn't match any files.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: fix file_excl assert
Sage Weil [Tue, 5 Jul 2011 15:58:26 +0000 (08:58 -0700)]
mds: fix file_excl assert

If we are in XSYN state and want to move to anything else, we must go via
EXCL, but we may not be loner anymore.  Weaken the file_excl() assert so we
don't crash.

Reported-by: Fyodor Ustinov <ufm@ufm.su>
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorgw: fix of users are created suspended
Yehuda Sadeh [Thu, 30 Jun 2011 21:45:32 +0000 (14:45 -0700)]
rgw: fix of users are created suspended

14 years agoobsync: Depend on python-lxml on Debian derived platforms
Wido den Hollander [Thu, 30 Jun 2011 11:07:12 +0000 (13:07 +0200)]
obsync: Depend on python-lxml on Debian derived platforms

Signed-off-by: Wido den Hollander <wido@widodh.nl>
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agov0.30 v0.30
Sage Weil [Tue, 28 Jun 2011 03:06:29 +0000 (20:06 -0700)]
v0.30

14 years agodebian: drop python-support version req
Sage Weil [Tue, 28 Jun 2011 05:23:40 +0000 (22:23 -0700)]
debian: drop python-support version req

14 years agoPG: assemble_backlog - fix comparison error, tail is non-inclusive
Samuel Just [Wed, 22 Jun 2011 00:49:24 +0000 (17:49 -0700)]
PG: assemble_backlog - fix comparison error, tail is non-inclusive

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agodebian: obsync depends on python-xattr
Sage Weil [Fri, 24 Jun 2011 18:05:23 +0000 (11:05 -0700)]
debian: obsync depends on python-xattr

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoMerge remote branch 'origin/stable' into next
Sage Weil [Thu, 23 Jun 2011 20:16:29 +0000 (13:16 -0700)]
Merge remote branch 'origin/stable' into next

Conflicts:
src/librbd.cc

14 years agolibrados: fix end_block calculation for aio_read
Yehuda Sadeh [Thu, 23 Jun 2011 00:13:22 +0000 (17:13 -0700)]
librados: fix end_block calculation for aio_read

Conflicts:

src/librbd.cc

14 years agolibrbd: track block_ofs instead of ofs in aio_sparse_read callback
Yehuda Sadeh [Wed, 22 Jun 2011 19:37:24 +0000 (12:37 -0700)]
librbd: track block_ofs instead of ofs in aio_sparse_read callback

14 years agoAdd ceph_argparse unit test
Colin Patrick McCabe [Thu, 23 Jun 2011 18:13:49 +0000 (11:13 -0700)]
Add ceph_argparse unit test

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoceph_argparse_witharg: fix dashes in args
Colin Patrick McCabe [Thu, 23 Jun 2011 17:45:54 +0000 (10:45 -0700)]
ceph_argparse_witharg: fix dashes in args

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agolibrados: fix end_block calculation for aio_read
Yehuda Sadeh [Thu, 23 Jun 2011 00:13:22 +0000 (17:13 -0700)]
librados: fix end_block calculation for aio_read

14 years agoproflogger: only register one event for all loggers
Sage Weil [Wed, 22 Jun 2011 23:39:45 +0000 (16:39 -0700)]
proflogger: only register one event for all loggers

If we already did logger_start(), don't schedule a new event.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoclient: always use get_snap_context() accessor
Sage Weil [Wed, 22 Jun 2011 19:45:35 +0000 (12:45 -0700)]
client: always use get_snap_context() accessor

There were a few places where we were using the member directly and not the
accessor, which rebuilds the internal value when needed.  This caused
inconsistent behavior based on whether debugging was enabled or not, since
we used the accessor to print the regenerated value.

Passes all snaps workunits with debugging off.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agolibrbd: track block_ofs instead of ofs in aio_sparse_read callback
Yehuda Sadeh [Wed, 22 Jun 2011 19:37:24 +0000 (12:37 -0700)]
librbd: track block_ofs instead of ofs in aio_sparse_read callback

14 years agoRevert "debian: ceph-client-tools depends on librados2, librbd"
Sage Weil [Wed, 22 Jun 2011 18:04:22 +0000 (11:04 -0700)]
Revert "debian: ceph-client-tools depends on librados2, librbd"

This reverts commit 96ef8a67bcf4a4a43f0a5c38224314abdd88a12c.

14 years agolibrbd: fix read_iterate for the case where block ofs is not 0
Yehuda Sadeh [Wed, 22 Jun 2011 17:51:18 +0000 (10:51 -0700)]
librbd: fix read_iterate for the case where block ofs is not 0

Conflicts:

src/librbd.cc

14 years agolibrbd: fix read_iterate for the case where block ofs is not 0
Yehuda Sadeh [Wed, 22 Jun 2011 17:51:18 +0000 (10:51 -0700)]
librbd: fix read_iterate for the case where block ofs is not 0

14 years agoMerge remote branch 'origin/stable' into next
Sage Weil [Wed, 22 Jun 2011 17:09:48 +0000 (10:09 -0700)]
Merge remote branch 'origin/stable' into next

Conflicts:
src/librbd.cc

14 years agoosd: fix merge
Sage Weil [Wed, 22 Jun 2011 15:56:47 +0000 (08:56 -0700)]
osd: fix merge

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agolibrbd: sparse read cleanup, fixes
Yehuda Sadeh [Wed, 22 Jun 2011 05:40:28 +0000 (22:40 -0700)]
librbd: sparse read cleanup, fixes

Conflicts:

src/librbd.cc

14 years agolibrbd: fix and cleanup a bit read_iterate
Yehuda Sadeh [Tue, 21 Jun 2011 23:31:44 +0000 (16:31 -0700)]
librbd: fix and cleanup a bit read_iterate

14 years agoMerge branch 'stable' into next
Sage Weil [Tue, 21 Jun 2011 22:54:54 +0000 (15:54 -0700)]
Merge branch 'stable' into next

Conflicts:
src/osd/OSD.cc

14 years agoosd: do misdirected request checks before pg active test
Sage Weil [Tue, 21 Jun 2011 22:54:13 +0000 (15:54 -0700)]
osd: do misdirected request checks before pg active test

We can process+discard a misdirected or invalid request without the pg
being active.  Reorder a few other checks too.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomon: fix log state trimming
Sage Weil [Tue, 21 Jun 2011 19:13:04 +0000 (12:13 -0700)]
mon: fix log state trimming

We need to stash last_consumed in order for trimming to work.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agofilestore: fix fiemap
Yehuda Sadeh [Mon, 20 Jun 2011 18:00:51 +0000 (11:00 -0700)]
filestore: fix fiemap

14 years agorbd: fix read_iterate for sparse read
Yehuda Sadeh [Mon, 20 Jun 2011 17:58:26 +0000 (10:58 -0700)]
rbd: fix read_iterate for sparse read

14 years agoosd: warn instead of error if cluster addr specified but not public addr
Sage Weil [Tue, 21 Jun 2011 16:51:22 +0000 (09:51 -0700)]
osd: warn instead of error if cluster addr specified but not public addr

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: avoid EMetaBlob::fullbit copying with shared_ptr
Sage Weil [Mon, 20 Jun 2011 20:56:09 +0000 (13:56 -0700)]
mds: avoid EMetaBlob::fullbit copying with shared_ptr

The fullbit subclass has a pointer, making it unsafe to copy around.  Fix
by adding a undefined copy constructor and operator, and using a shared_ptr
to reference it in the containing STL list<>.

Tested-by: Sam Lang <samlang@gmail.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoencoding: add list<shared_ptr<T>> macros
Sage Weil [Mon, 20 Jun 2011 20:54:41 +0000 (13:54 -0700)]
encoding: add list<shared_ptr<T>> macros

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agodebian: ceph-client-tools depends on librados2, librbd
Sage Weil [Mon, 20 Jun 2011 21:02:09 +0000 (14:02 -0700)]
debian: ceph-client-tools depends on librados2, librbd

It contains rados and rbd command line tools.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoMerge remote branch 'origin/stable'
Sage Weil [Mon, 20 Jun 2011 18:28:29 +0000 (11:28 -0700)]
Merge remote branch 'origin/stable'

14 years agolibrados: return value on non void function
Yehuda Sadeh [Fri, 17 Jun 2011 23:20:27 +0000 (16:20 -0700)]
librados: return value on non void function

14 years agocommon: fix descriptinos for -i, -n too
Sage Weil [Fri, 17 Jun 2011 23:04:56 +0000 (16:04 -0700)]
common: fix descriptinos for -i, -n too

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoupdate clitests with new usage
Colin Patrick McCabe [Fri, 17 Jun 2011 23:18:47 +0000 (16:18 -0700)]
update clitests with new usage

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon: fix generic usage for -D vs -d
Sage Weil [Fri, 17 Jun 2011 23:01:55 +0000 (16:01 -0700)]
common: fix generic usage for -D vs -d

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agorgw: suspend/enable buckets through pool async api
Yehuda Sadeh [Fri, 17 Jun 2011 22:30:41 +0000 (15:30 -0700)]
rgw: suspend/enable buckets through pool async api

14 years agolibrados: add async pool op operations
Yehuda Sadeh [Fri, 17 Jun 2011 22:30:30 +0000 (15:30 -0700)]
librados: add async pool op operations

14 years agoqa: organize workunits
Sage Weil [Fri, 17 Jun 2011 22:01:56 +0000 (15:01 -0700)]
qa: organize workunits

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agosecret.c: use safe_read when appropriate
Colin Patrick McCabe [Fri, 17 Jun 2011 17:18:32 +0000 (10:18 -0700)]
secret.c: use safe_read when appropriate

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agomds: fix use-after-free on ESession replay
Sage Weil [Fri, 17 Jun 2011 16:59:02 +0000 (09:59 -0700)]
mds: fix use-after-free on ESession replay

Reported by: Sam Lang <samlang@gmail.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: make snap-rm-diff workunit clean up
Sage Weil [Fri, 17 Jun 2011 16:22:24 +0000 (09:22 -0700)]
qa: make snap-rm-diff workunit clean up

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: wget -q
Sage Weil [Fri, 17 Jun 2011 16:22:17 +0000 (09:22 -0700)]
qa: wget -q

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agorgw: remove stray semicolon
Sage Weil [Fri, 17 Jun 2011 16:26:55 +0000 (09:26 -0700)]
rgw: remove stray semicolon

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorgw: cast RGW_SUSPENDED_USER_AUID
Sage Weil [Fri, 17 Jun 2011 16:26:32 +0000 (09:26 -0700)]
rgw: cast RGW_SUSPENDED_USER_AUID

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: CDir::log_mark_dirty needs to flush before waiting
Sage Weil [Fri, 17 Jun 2011 16:21:34 +0000 (09:21 -0700)]
mds: CDir::log_mark_dirty needs to flush before waiting

We need to flush before waiting or else our completion (and mark_diryt())
will be out of order with respect to other dir updates.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomount.ceph: specify full path for /sbin/modprobe
Sage Weil [Wed, 15 Jun 2011 03:46:26 +0000 (20:46 -0700)]
mount.ceph: specify full path for /sbin/modprobe

Fixes: #1188
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoradosgw_admin: fix cli test
Sage Weil [Fri, 17 Jun 2011 03:01:41 +0000 (20:01 -0700)]
radosgw_admin: fix cli test

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoMerge branch 'stable'
Sage Weil [Fri, 17 Jun 2011 02:44:19 +0000 (19:44 -0700)]
Merge branch 'stable'

14 years agoosd: fix find_object_context debug output
Sage Weil [Fri, 17 Jun 2011 02:42:48 +0000 (19:42 -0700)]
osd: fix find_object_context debug output

Erroneously said get_object_context, confusing developers everywhere.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoosd: fix snap_trimmer obc ref
Sage Weil [Fri, 17 Jun 2011 02:40:25 +0000 (19:40 -0700)]
osd: fix snap_trimmer obc ref

As of fc4cc39 new_repop claims the obc reference (from the clonerange
branch) but this caller didn't get fixed.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: when prodding head inode on snapped behalf, avoid XSYN
Sage Weil [Fri, 17 Jun 2011 02:27:50 +0000 (19:27 -0700)]
mds: when prodding head inode on snapped behalf, avoid XSYN

If we try to rdlock a snapped inode in snap->sync state, we need to prod
the head inode into SYNC to get the data flushed.  Make sure we avoid
XSYN by passing as_anon=true to rdlock_start(head).

Also fix the waiting code.  If it succeeds, continue around the loop.  If
not, the rdlock_start will add the waiter for us--don't do it again!

Fixes workunit snaps/snaptest-snap-rm-cmp.sh.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: fix transitions away from XSYN state
Sage Weil [Fri, 17 Jun 2011 02:00:41 +0000 (19:00 -0700)]
mds: fix transitions away from XSYN state

If we are in XSYN, we need to transition first to EXCL before moving on.
Simply going to the other unstable state isn't enough, because if gather
is zero at the end of the method we end up jumping directly to the wrong
state without passing EXCL.   Instead, call file_excl(), and continue only
if we got there immediately.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorgw: user suspension
Yehuda Sadeh [Thu, 16 Jun 2011 23:53:38 +0000 (16:53 -0700)]
rgw: user suspension

14 years agoMerge branch 'rgw-multipart'
Yehuda Sadeh [Thu, 16 Jun 2011 21:20:33 +0000 (14:20 -0700)]
Merge branch 'rgw-multipart'

14 years agoMerge remote-tracking branch 'origin/master' into rgw-multipart
Yehuda Sadeh [Thu, 16 Jun 2011 21:19:47 +0000 (14:19 -0700)]
Merge remote-tracking branch 'origin/master' into rgw-multipart

Conflicts:
src/os/FileStore.cc
src/rgw/rgw_admin.cc
src/rgw/rgw_fs.h
src/rgw/rgw_log.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_user.cc
src/rgw/rgw_user.h

14 years agoqa: pjd must run as root
Sage Weil [Thu, 16 Jun 2011 21:07:15 +0000 (14:07 -0700)]
qa: pjd must run as root

14 years agorgw: get multipart list marker to work
Yehuda Sadeh [Thu, 16 Jun 2011 20:26:19 +0000 (13:26 -0700)]
rgw: get multipart list marker to work

14 years agov0.29.1 v0.29.1
Sage Weil [Thu, 16 Jun 2011 20:10:59 +0000 (13:10 -0700)]
v0.29.1

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoMerge remote branch 'origin/mds_xsyn'
Sage Weil [Thu, 16 Jun 2011 18:30:45 +0000 (11:30 -0700)]
Merge remote branch 'origin/mds_xsyn'

14 years agorgw: some multipart cleanups, fixes
Yehuda Sadeh [Thu, 16 Jun 2011 18:17:01 +0000 (11:17 -0700)]
rgw: some multipart cleanups, fixes

14 years agoMerge remote branch 'origin/stable'
Josh Durgin [Thu, 16 Jun 2011 00:43:35 +0000 (17:43 -0700)]
Merge remote branch 'origin/stable'

14 years agolibrbd: fix block_completion race condition
Josh Durgin [Tue, 14 Jun 2011 19:38:14 +0000 (12:38 -0700)]
librbd: fix block_completion race condition

If block completions finished before all of them were scheduled, the
pending_count could reach 0, and the callback could be called more
than once. This caused the reference counting to be off, so the next
call to the callback passed an invalid pointer, resulting in crashes
like this (or more mysterious ones):

common/Mutex.h: In function 'void Mutex::Lock(bool)', in thread '0x7f5f37e62700'
common/Mutex.h: 118: FAILED assert(r == 0)
 1: (librbd::RBD::AioCompletion::get_return_value()+0x19c) [0x7f5f408835bc]
 2: /usr/bin/kvm() [0x4629fd]
 3: (librbd::AioCompletion::complete_block(librbd::AioBlockCompletion*, long)+0x13c) [0x7f5f4088ab5c]
 4: (librbd::rados_aio_sparse_read_cb(void*, void*)+0x8d) [0x7f5f4088b40d]
 5: (librados::RadosClient::C_aio_sparse_read_Ack::finish(int)+0x12e) [0x7f5f4050beee]
 6: (Objecter::handle_osd_op_reply(MOSDOpReply*)+0x783) [0x7f5f40517863]
 7: (librados::RadosClient::_dispatch(Message*)+0x3c) [0x7f5f404ffe8c]
 8: (librados::RadosClient::ms_dispatch(Message*)+0x33) [0x7f5f404fff53]
 9: (SimpleMessenger::dispatch_entry()+0x69d) [0x7f5f405bf5bd]
 10: (SimpleMessenger::DispatchThread::entry()+0x1c) [0x7f5f4050052c]
 11: (()+0x6d8c) [0x7f5f40c9dd8c]
 12: (clone()+0x6d) [0x7f5f3e0b904d]

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
14 years agorgw: implement list multiparts
Yehuda Sadeh [Thu, 16 Jun 2011 00:06:55 +0000 (17:06 -0700)]
rgw: implement list multiparts

doesn't work completely, getting there

14 years agolibrbd: add AioCompletion debugging
Josh Durgin [Wed, 15 Jun 2011 19:04:23 +0000 (12:04 -0700)]
librbd: add AioCompletion debugging

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
14 years agouclient: path_walk should notice when it gets absolute paths.
Greg Farnum [Wed, 15 Jun 2011 21:24:43 +0000 (14:24 -0700)]
uclient: path_walk should notice when it gets absolute paths.

Previously it assumed everything was relative, but we need to handle
absolute paths on occasion, and already have the code to do so!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agovstart: put .journal outside of osd data dir
Sage Weil [Wed, 15 Jun 2011 19:11:13 +0000 (12:11 -0700)]
vstart: put .journal outside of osd data dir

This prevents it from getting cleaned up during mkfs.  Then we can make it
a symlink, or at the very least avoid deleting + reallocating it.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoqa: Make snaptest-git-ceph.sh clean up after itself.
Tommi Virtanen [Wed, 15 Jun 2011 18:27:54 +0000 (11:27 -0700)]
qa: Make snaptest-git-ceph.sh clean up after itself.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
14 years agorgw: fix abort multipart upload
Yehuda Sadeh [Wed, 15 Jun 2011 17:16:42 +0000 (10:16 -0700)]
rgw: fix abort multipart upload

14 years agoauth: remove CephCryptoManager
Colin Patrick McCabe [Tue, 14 Jun 2011 23:27:02 +0000 (16:27 -0700)]
auth: remove CephCryptoManager

It doesn't do anything.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agolibrbd: fix AioCompletion race condition
Josh Durgin [Tue, 14 Jun 2011 19:38:14 +0000 (12:38 -0700)]
librbd: fix AioCompletion race condition

If block completions finished before all of them where scheduled, the
pending_count would reach 0, and the AioCompletion would be destroyed
since the refcount would also reach 0. To fix this, hold a reference
to the AioCompletion while scheduling more block completions.

This caused a crash like this when running qemu:

1: ceph::__ceph_assert_fail (assertion=<value optimized out>, file=<value optimized out>, line=<value optimized out>, func=<value optimized out>) at common/assert.cc:86
2: Lock (ictx=0x7f83d0001f00, off=5368705024, len=0, buf=0x2fac000 "", c=0x2cebe00) at common/Mutex.h:118
3: add_block_completion (ictx=0x7f83d0001f00, off=5368705024, len=0, buf=0x2fac000 "", c=0x2cebe00) at librbd.cc:159
4: librbd::aio_read (ictx=0x7f83d0001f00, off=5368705024, len=0, buf=0x2fac000 "", c=0x2cebe00) at librbd.cc:1368
5: rbd_aio_rw_vector (bs=<value optimized out>, sector_num=10485752, qiov=<value optimized out>, nb_sectors=<value optimized out>, cb=<value optimized out>, opaque=<value optimized out>, write=0) at block/rbd.c:626
6: qemu_rbd_aio_readv (bs=<value optimized out>, sector_num=<value optimized out>, qiov=<value optimized out>, nb_sectors=<value optimized out>, cb=<value optimized out>, opaque=<value optimized out>) at block/rbd.c:649
7: bdrv_aio_readv (bs=0x2ce92e0, sector_num=10485752, qiov=0x2de08f0, nb_sectors=8, cb=<value optimized out>, opaque=<value optimized out>)

Fixes: #998
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
14 years agomonmaptool: implement --help
Colin Patrick McCabe [Tue, 14 Jun 2011 21:47:03 +0000 (14:47 -0700)]
monmaptool: implement --help

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agotest/bufferlist: don't alloc large array on stack
Colin Patrick McCabe [Tue, 14 Jun 2011 21:43:02 +0000 (14:43 -0700)]
test/bufferlist: don't alloc large array on stack

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years ago.gitignore man/Makefile
Sage Weil [Tue, 14 Jun 2011 20:58:05 +0000 (13:58 -0700)]
.gitignore man/Makefile

blech

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: do not use automake for workunit makefiles
Sage Weil [Tue, 14 Jun 2011 19:53:33 +0000 (12:53 -0700)]
qa: do not use automake for workunit makefiles

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa/workunits/direct_io: fit .gitignore
Sage Weil [Tue, 14 Jun 2011 19:35:35 +0000 (12:35 -0700)]
qa/workunits/direct_io: fit .gitignore

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoradosgw_admin: fix clitest help
Sage Weil [Tue, 14 Jun 2011 19:27:41 +0000 (12:27 -0700)]
radosgw_admin: fix clitest help

14 years agocrbdnamer: man page
Sage Weil [Tue, 14 Jun 2011 05:22:25 +0000 (22:22 -0700)]
crbdnamer: man page

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agocrbdnamer: +x
Sage Weil [Tue, 14 Jun 2011 05:19:04 +0000 (22:19 -0700)]
crbdnamer: +x

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: radosgw_admin: fix clitest
Sage Weil [Tue, 14 Jun 2011 05:14:13 +0000 (22:14 -0700)]
qa: radosgw_admin: fix clitest

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: direct_io: fix warnings
Sage Weil [Tue, 14 Jun 2011 05:11:51 +0000 (22:11 -0700)]
qa: direct_io: fix warnings

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoconfigure: check for boost statechart header
Sage Weil [Tue, 14 Jun 2011 04:56:47 +0000 (21:56 -0700)]
configure: check for boost statechart header

Partially fixes: #1124
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoradosgw_admin: log show can dump info in xml, json
Yehuda Sadeh [Mon, 13 Jun 2011 23:47:52 +0000 (16:47 -0700)]
radosgw_admin: log show can dump info in xml, json

14 years agoradosgw_admin: fix log show (with new poolid param)
Yehuda Sadeh [Mon, 13 Jun 2011 23:21:36 +0000 (16:21 -0700)]
radosgw_admin: fix log show (with new poolid param)

14 years agoradosgw_admin: pool create command
Yehuda Sadeh [Mon, 13 Jun 2011 23:18:32 +0000 (16:18 -0700)]
radosgw_admin: pool create command

14 years agoMerge branch 'wip-workunits'
Sage Weil [Mon, 13 Jun 2011 23:25:13 +0000 (16:25 -0700)]
Merge branch 'wip-workunits'

14 years agolibrados: use empty(), not size()
Sage Weil [Mon, 13 Jun 2011 21:07:48 +0000 (14:07 -0700)]
librados: use empty(), not size()

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoqa: test_sync_io: zero buffers prior to read
Sage Weil [Mon, 13 Jun 2011 23:23:28 +0000 (16:23 -0700)]
qa: test_sync_io: zero buffers prior to read

Be extra paranoid to ensure we read back the correct data and didn't
just find it in undefined memory.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoqa: test_sync_io improvements
Sage Weil [Mon, 13 Jun 2011 23:18:23 +0000 (16:18 -0700)]
qa: test_sync_io improvements

Exit (without removing foo) on error.

Allow read- or write-only operation.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorgw: log pool id, and store/retrieve pool id info
Yehuda Sadeh [Mon, 13 Jun 2011 22:27:38 +0000 (15:27 -0700)]
rgw: log pool id, and store/retrieve pool id info

14 years agolibrados: expose pool id
Yehuda Sadeh [Mon, 13 Jun 2011 18:29:30 +0000 (11:29 -0700)]
librados: expose pool id

Conflicts:

src/librados.cc

14 years agoqa: fix test_shorT_dio_read
Sage Weil [Mon, 13 Jun 2011 21:17:16 +0000 (14:17 -0700)]
qa: fix test_shorT_dio_read

No args, hardcode filename.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoPG: clear scrub_received_maps in scrub_clear_state
Samuel Just [Mon, 13 Jun 2011 20:32:18 +0000 (13:32 -0700)]
PG: clear scrub_received_maps in scrub_clear_state

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoqa: fix loopall, runallonce scripts
Sage Weil [Mon, 13 Jun 2011 20:31:35 +0000 (13:31 -0700)]
qa: fix loopall, runallonce scripts

Run anything executable.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoqa: move compiled workunits into organized directory
Sage Weil [Mon, 13 Jun 2011 20:29:30 +0000 (13:29 -0700)]
qa: move compiled workunits into organized directory

No need for a separate qa/src/ dir; just put them where we want them.  We
need to ignore non-executable files when doing the bulk runs anyway.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoqa: add short directio read test
Sage Weil [Fri, 10 Jun 2011 04:53:28 +0000 (21:53 -0700)]
qa: add short directio read test

This tests for the bug fixed by linux commit:c3cd628.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: add henry's direct io tests
Sage Weil [Fri, 10 Jun 2011 04:47:44 +0000 (21:47 -0700)]
qa: add henry's direct io tests

Not sure what the second one is testing, actually, but including it anyway.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoqa: include $basedir/src/ (qa/src/) in path
Sage Weil [Fri, 10 Jun 2011 04:40:15 +0000 (21:40 -0700)]
qa: include $basedir/src/ (qa/src/) in path

This lets the workunits find stuff build in qa/src/, in case you are
running using these (old) scripts.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>