Commit Graph

14800 Commits

Author SHA1 Message Date
Sage Weil 40f5ab9659 qa/workunits/direct_io: fit .gitignore
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:35:35 -07:00
Sage Weil 51b3651b54 radosgw_admin: fix clitest help 2011-06-14 12:27:41 -07:00
Sage Weil d2b7e291f2 crbdnamer: man page
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 22:22:25 -07:00
Sage Weil e64515257a crbdnamer: +x
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 22:19:04 -07:00
Sage Weil cca3da1fda qa: radosgw_admin: fix clitest
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 22:14:13 -07:00
Sage Weil 66229c7a54 qa: direct_io: fix warnings
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 22:11:51 -07:00
Sage Weil 71543246d3 configure: check for boost statechart header
Partially fixes: #1124
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 21:56:47 -07:00
Yehuda Sadeh e304fd0970 radosgw_admin: log show can dump info in xml, json 2011-06-13 16:48:19 -07:00
Yehuda Sadeh 28e1a89431 radosgw_admin: fix log show (with new poolid param) 2011-06-13 16:23:09 -07:00
Yehuda Sadeh efe1aa719c radosgw_admin: pool create command 2011-06-13 16:23:09 -07:00
Sage Weil 8684467153 Merge branch 'wip-workunits' 2011-06-13 16:25:13 -07:00
Sage Weil b91c2c99c4 librados: use empty(), not size()
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 16:24:58 -07:00
Sage Weil 8ce98b22de 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>
2011-06-13 16:23:28 -07:00
Sage Weil d89c9a1303 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>
2011-06-13 16:18:23 -07:00
Yehuda Sadeh bc8e120939 rgw: log pool id, and store/retrieve pool id info 2011-06-13 15:30:48 -07:00
Yehuda Sadeh 34098a39e2 librados: expose pool id
Conflicts:

	src/librados.cc
2011-06-13 15:30:37 -07:00
Sage Weil 1e96f71fba qa: fix test_shorT_dio_read
No args, hardcode filename.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 14:17:16 -07:00
Sage Weil 9d1e897107 qa: fix loopall, runallonce scripts
Run anything executable.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:31:35 -07:00
Sage Weil d5bba79ebb 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>
2011-06-13 13:29:30 -07:00
Sage Weil d851deeac1 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>
2011-06-13 13:22:06 -07:00
Sage Weil 8a12a01cf7 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>
2011-06-13 13:22:06 -07:00
Sage Weil 7087b2da91 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>
2011-06-13 13:22:06 -07:00
Sage Weil 8147076d98 qa: add direct and sync io workunits
Just run the test programs in ../src

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil adc98c0e0e qa: expand test_sync_io
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil f2aef3e1da qa: organize workunits a bit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil 953bb605e6 qa: move compiled items into qa/src/ 2011-06-13 13:22:06 -07:00
Sage Weil f3617e5105 osd: fix head_exists fix
Needs to default to false, or else deletions don't work.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:02:58 -07:00
Sage Weil 056a0c5a00 osd: don't update snapset head_exists unless full transaction succeeds
Make the update at the end of make_writeable, along with the other snapset
updates.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 12:05:24 -07:00
Sage Weil 11ad765879 osd: fix make_writeable
Look at the ObjectState to determine if the head exists, not the snapset
(which doesn't reflect the prior object state).

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 12:04:55 -07:00
Sage Weil 35663dee2f monc: protect msg source check with monc_lock
Push the locking up into ms_dispatch, so that we protect the source check
and don't race with session reopens.  Also simplifies things a bit.

Fixes: #1151
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 10:04:07 -07:00
Sage Weil 0f8fbd562c Merge branch 'mds_issue_caps' 2011-06-13 09:43:49 -07:00
Sage Weil 83a55f4dc7 Merge remote branch 'origin/stable'
Conflicts:
	src/dumpjournal.cc
2011-06-10 17:37:29 -07:00
Sage Weil 78012fde6f Merge remote branch 'origin/deb-pybind' 2011-06-10 17:35:05 -07:00
Tommi Virtanen aa5c224408 debian: Move python-ceph into section python.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 17:10:32 -07:00
Tommi Virtanen efb8282873 debian: Strip and do -dbg magic for librgw too.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 17:10:12 -07:00
Tommi Virtanen 061460b799 debian: Fix copy-pasto in librgw1 control paragraph.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 17:09:51 -07:00
Tommi Virtanen 6fc8819b1b debian: Depend on python-ceph in obsync.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:58:36 -07:00
Tommi Virtanen 822e777055 debian: Depend on librgw1 in python-ceph.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:58:15 -07:00
Tommi Virtanen 762c87e07e debian: Package librgw.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:43:55 -07:00
Tommi Virtanen ab9dda87cf pybind: Open shared libs by their major version.
The *.so files are only in the -dev packages, and normal
operation should not require those. The major version
numbers represent incompatible API/ABI changes anyway.
The debian dependencies were already correctly including
the major version.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:49 -07:00
Tommi Virtanen d444d5b886 debian: Make git ignore obsync, gceph* package dirs.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:46 -07:00
Tommi Virtanen ddf0263a91 debian: Prevent git ignore from recursing on *.substvars etc.
Should never have triggered but this is faster simpler
and correcter.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:44 -07:00
Tommi Virtanen 0a0493deb8 debian: Make git ignore all of the *.debhelper files.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:41 -07:00
Tommi Virtanen 5cf62c1cda debian: Dev packages no longer have soname in their names.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:38 -07:00
Tommi Virtanen 0da30c358b debian: Properly package the python bindings.
Build-depend on python-support. Add binary package
python-ceph, making it contain all the ceph python
packages, regardless of their name; the modules are
too small to deserve their own debs.

Make python-ceph depend only on librados2 for now.
librgw is not packaged yet.

Dropping unnecessary build-dep on python-dev, that's
only needed for compiling C extensions, and we're using
ctypes.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:34 -07:00
Yehuda Sadeh edc6659bb3 rgw: list bucket display the correct objects owners 2011-06-10 15:02:13 -07:00
Colin Patrick McCabe 3e284a729d boto_tool: add put_bucket_acl
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-10 14:55:35 -07:00
Yehuda Sadeh 7fa8b97328 rgw: don't allow handing out object ownership 2011-06-10 13:24:29 -07:00
Yehuda Sadeh b282603598 librados: remove useless reference holding 2011-06-10 11:55:03 -07:00
Yehuda Sadeh 98a3b54641 librados: get reference to the io context for the pending async ops 2011-06-10 11:55:03 -07:00