Commit Graph

14930 Commits

Author SHA1 Message Date
Wido den Hollander
648e50e616 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>
2011-06-30 09:58:41 -07:00
Sage Weil
64b1b2c70f v0.30 2011-06-27 22:23:56 -07:00
Sage Weil
842ec2263a debian: drop python-support version req 2011-06-27 22:23:56 -07:00
Samuel Just
8ba05c44ec PG: assemble_backlog - fix comparison error, tail is non-inclusive
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-24 16:51:25 -07:00
Sage Weil
0115855abb debian: obsync depends on python-xattr
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-24 11:05:23 -07:00
Sage Weil
7cef392380 Merge remote branch 'origin/stable' into next
Conflicts:
	src/librbd.cc
2011-06-23 13:16:29 -07:00
Yehuda Sadeh
39da107674 librados: fix end_block calculation for aio_read
Conflicts:

	src/librbd.cc
2011-06-23 12:32:10 -07:00
Yehuda Sadeh
44759452d4 librbd: track block_ofs instead of ofs in aio_sparse_read callback 2011-06-23 12:31:00 -07:00
Colin Patrick McCabe
e477e65b71 Add ceph_argparse unit test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 11:29:41 -07:00
Colin Patrick McCabe
f1f75dffb9 ceph_argparse_witharg: fix dashes in args
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 10:45:54 -07:00
Yehuda Sadeh
5da066286c librados: fix end_block calculation for aio_read 2011-06-22 17:13:22 -07:00
Sage Weil
823a05c94f 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>
2011-06-22 16:40:18 -07:00
Sage Weil
6a1572c787 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>
2011-06-22 13:57:25 -07:00
Yehuda Sadeh
30c47566d1 librbd: track block_ofs instead of ofs in aio_sparse_read callback 2011-06-22 12:37:24 -07:00
Sage Weil
59ea9f8b20 Revert "debian: ceph-client-tools depends on librados2, librbd"
This reverts commit 96ef8a67bc.
2011-06-22 11:04:22 -07:00
Yehuda Sadeh
9edb566c49 librbd: fix read_iterate for the case where block ofs is not 0
Conflicts:

	src/librbd.cc
2011-06-22 11:05:59 -07:00
Yehuda Sadeh
b34e195a46 librbd: fix read_iterate for the case where block ofs is not 0 2011-06-22 11:01:28 -07:00
Sage Weil
0fe6a15d7b Merge remote branch 'origin/stable' into next
Conflicts:
	src/librbd.cc
2011-06-22 10:09:48 -07:00
Sage Weil
1635bff4a9 osd: fix merge
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-22 08:56:47 -07:00
Yehuda Sadeh
e214420518 librbd: sparse read cleanup, fixes
Conflicts:

	src/librbd.cc
2011-06-21 23:09:52 -07:00
Yehuda Sadeh
6ddee81eb5 librbd: fix and cleanup a bit read_iterate 2011-06-21 22:45:11 -07:00
Sage Weil
bdb7991c29 Merge branch 'stable' into next
Conflicts:
	src/osd/OSD.cc
2011-06-21 15:54:54 -07:00
Sage Weil
f94e2ab61a 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>
2011-06-21 15:54:13 -07:00
Sage Weil
4c1cb28cb6 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>
2011-06-21 12:29:15 -07:00
Yehuda Sadeh
c48540aec6 filestore: fix fiemap 2011-06-21 11:31:39 -07:00
Yehuda Sadeh
39e2c6e853 rbd: fix read_iterate for sparse read 2011-06-21 11:31:26 -07:00
Sage Weil
7f92d370a3 osd: warn instead of error if cluster addr specified but not public addr
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-21 09:51:22 -07:00
Sage Weil
cc644b8422 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>
2011-06-20 14:06:18 -07:00
Sage Weil
f78de01ab6 encoding: add list<shared_ptr<T>> macros
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-20 14:06:18 -07:00
Sage Weil
96ef8a67bc debian: ceph-client-tools depends on librados2, librbd
It contains rados and rbd command line tools.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-20 14:02:09 -07:00
Sage Weil
29e64df93e Merge remote branch 'origin/stable' 2011-06-20 11:28:29 -07:00
Yehuda Sadeh
7335fbbf2d librados: return value on non void function 2011-06-17 16:20:27 -07:00
Sage Weil
93623fba99 common: fix descriptinos for -i, -n too
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 16:17:27 -07:00
Colin Patrick McCabe
830f48d23a update clitests with new usage
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-17 16:18:47 -07:00
Sage Weil
1b9575ea2f common: fix generic usage for -D vs -d
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 16:01:55 -07:00
Yehuda Sadeh
b9c367299a rgw: suspend/enable buckets through pool async api 2011-06-17 16:00:59 -07:00
Yehuda Sadeh
e2150a0890 librados: add async pool op operations 2011-06-17 16:00:45 -07:00
Sage Weil
6fb971ffdb qa: organize workunits
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-17 15:01:56 -07:00
Colin Patrick McCabe
b2c803db33 secret.c: use safe_read when appropriate
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-17 10:24:49 -07:00
Sage Weil
7b8bf550d0 mds: fix use-after-free on ESession replay
Reported by: Sam Lang <samlang@gmail.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:59:02 -07:00
Sage Weil
9e4adf0de9 qa: make snap-rm-diff workunit clean up
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:22:24 -07:00
Sage Weil
e9f308df87 qa: wget -q
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:22:17 -07:00
Sage Weil
4efdc52ad8 rgw: remove stray semicolon
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-17 09:26:55 -07:00
Sage Weil
4ca8054c5a rgw: cast RGW_SUSPENDED_USER_AUID
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-17 09:26:32 -07:00
Sage Weil
20e3ac2ce5 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>
2011-06-17 09:21:51 -07:00
Sage Weil
ad5ff230d5 mount.ceph: specify full path for /sbin/modprobe
Fixes: #1188
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-16 20:02:03 -07:00
Sage Weil
f5f563ddaa radosgw_admin: fix cli test
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-16 20:01:41 -07:00
Sage Weil
ca4e2877af Merge branch 'stable' 2011-06-16 19:44:19 -07:00
Sage Weil
bc1782a1ce osd: fix find_object_context debug output
Erroneously said get_object_context, confusing developers everywhere.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-16 19:44:06 -07:00
Sage Weil
447ea1dc31 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>
2011-06-16 19:44:06 -07:00