]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 29 Jun 2011 16:51:36 +0000 (09:51 -0700)]
qa: move file_layout into workunits/misc
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Wed, 29 Jun 2011 16:37:56 +0000 (09:37 -0700)]
radosgw_admin: fix cli test
Yehuda Sadeh [Tue, 28 Jun 2011 23:33:49 +0000 (16:33 -0700)]
Merge branch 'master' of ssh://ceph.newdream.net/git/ceph
Yehuda Sadeh [Tue, 28 Jun 2011 23:32:43 +0000 (16:32 -0700)]
Merge branch 'master' into rgw
Sage Weil [Tue, 28 Jun 2011 18:09:45 +0000 (11:09 -0700)]
qa: make kernel_untar_build.sh output more helpful
- rm -rv
- list remaining files on failure
to help debug #1230
Signed-off-by: Sage Weil <sage@newdream.net>
Greg Farnum [Tue, 28 Jun 2011 21:19:29 +0000 (14:19 -0700)]
testceph: test file opens with extra slashes
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 21:18:58 +0000 (14:18 -0700)]
testceph: expand test cases
Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 21:13:55 +0000 (14:13 -0700)]
filepath: don't parse multiple slashes as multiple dname bits.
This causes all kinds of trouble if it occurs because most of the
code isn't prepared for it. So prevent that from happening except
on messages that were explicitly created that way.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 19:37:29 +0000 (12:37 -0700)]
Resetter: Check return values from Journaler.
And clean up the shutdown a bit.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 19:36:00 +0000 (12:36 -0700)]
Journaler: pay attention to return codes from read head.
Previously we ignored them, except for printing them out. This could
lead to bad things like creating new journals for non-existent MDSes
if you entered an invalid rank during --reset-journal.
Also assert that the stripe unit is valid
before using it as a divisor.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Samuel Just [Tue, 28 Jun 2011 16:59:35 +0000 (09:59 -0700)]
ReplicatedPG: Fix some obc leaks
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 24 Jun 2011 21:47:19 +0000 (14:47 -0700)]
PG: simplify merge_log, remove old objects
Previously, some old objects could escape removal during a log merge.
This patch also simplifies merge_log somewhat.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 24 Jun 2011 00:06:02 +0000 (17:06 -0700)]
PG: fix add_next_event and merge add_event
Previously, we would assume that we had an object at the prior_version
in the log event if we encounter it but don't see the object in missing.
Now, if prior_version < log_tail, we assume that we do not have the
object.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Tue, 28 Jun 2011 17:54:53 +0000 (10:54 -0700)]
filestore: allow FIEMAP to be disabled via conf
The ext4 fiemap ioctl is buggy in some older kernels. Allow the admin to
disable it.
Fixes: #1222
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 17:35:05 +0000 (10:35 -0700)]
qa: add file_layout.sh workunit
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 16:37:23 +0000 (09:37 -0700)]
mds: make cast explicit to suppress compiler warning.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Tue, 28 Jun 2011 16:41:09 +0000 (09:41 -0700)]
Merge branch 'next'
Yehuda Sadeh [Tue, 28 Jun 2011 16:18:36 +0000 (09:18 -0700)]
testradospp: fix compilation
Greg Farnum [Tue, 28 Jun 2011 15:28:28 +0000 (08:28 -0700)]
mon: Guard injectargs parsing to prevent crashes on bad input
While we're at it, reply to injectargs commands instead of
doing it silently.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 28 Jun 2011 00:03:42 +0000 (17:03 -0700)]
mds: Explicitly initialize layout fields, and to the correct values.
We were previously encoding an fl_pg_preferred of 0, which did
horrible things to the kernel client since 0 is a valid osd to ask for!
To make such things easier to track down in the future, explicitly
fill in defaults when memsetting the struct here.
(There remain other places that memset the struct to zero without
a lot of checks. But we definitely don't want to force them all
to fill in the individual fields, as that's fragile, and since they
don't seem to be breaking anything yet I'm inclined to leave them as
they are.)
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Tue, 28 Jun 2011 03:06:29 +0000 (20:06 -0700)]
v0.30
Sage Weil [Tue, 28 Jun 2011 05:23:40 +0000 (22:23 -0700)]
debian: drop python-support version req
Yehuda Sadeh [Tue, 28 Jun 2011 00:20:34 +0000 (17:20 -0700)]
rados: encode bufferlist in watch-notify
Yehuda Sadeh [Tue, 28 Jun 2011 00:20:34 +0000 (17:20 -0700)]
rados: encode bufferlist in watch-notify
Yehuda Sadeh [Mon, 27 Jun 2011 19:20:22 +0000 (12:20 -0700)]
rgw: fix some issues with call to clone_range
Yehuda Sadeh [Fri, 24 Jun 2011 23:50:48 +0000 (16:50 -0700)]
rgw: fix clone_range
Yehuda Sadeh [Fri, 24 Jun 2011 22:20:46 +0000 (15:20 -0700)]
rgw: radosgw_admin --help typo
Yehuda Sadeh [Fri, 24 Jun 2011 21:50:01 +0000 (14:50 -0700)]
rgw: implement atomic multipart upload, atomic copy
Yehuda Sadeh [Fri, 24 Jun 2011 21:09:30 +0000 (14:09 -0700)]
rgw: atomic put
Yehuda Sadeh [Fri, 24 Jun 2011 19:55:25 +0000 (12:55 -0700)]
rgw: radosgw_admin user rm --purge-data
Josh Durgin [Mon, 27 Jun 2011 21:57:36 +0000 (14:57 -0700)]
config: remove unused iat options
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Greg Farnum [Mon, 27 Jun 2011 19:07:36 +0000 (12:07 -0700)]
testceph: actually call closedir on opened directory.
Otherwise testceph hangs because it's still got things open!
Fixes #1228
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Fri, 24 Jun 2011 01:06:01 +0000 (18:06 -0700)]
qa: initial commit of file_layout.sh
This tests the file layout functionality. Right now you need to
check the comparisons yourself. Expect that to change shortly.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Mon, 27 Jun 2011 18:40:09 +0000 (11:40 -0700)]
filer: no need for tid_t here
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 27 Jun 2011 17:10:35 +0000 (10:10 -0700)]
client: print cache size during trim for debug
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Sat, 25 Jun 2011 08:22:23 +0000 (01:22 -0700)]
FileStore: fix error in ALIGN and ALIGN_UP
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Sat, 25 Jun 2011 04:04:38 +0000 (21:04 -0700)]
radsogw_admin: fix clitest
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 25 Jun 2011 03:53:35 +0000 (20:53 -0700)]
testrados_delete_pool_while_open: fix printf args
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 03:51:26 +0000 (20:51 -0700)]
radosgw_admin: --help/-h
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Sat, 25 Jun 2011 00:18:16 +0000 (17:18 -0700)]
create testrados_delete_pool_while_open
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
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>
Sage Weil [Fri, 24 Jun 2011 18:19:48 +0000 (11:19 -0700)]
client: fix trim_caps
We can't blindly remove caps from inodes because we need at least one cap
for any inode in our cache. Try to trim non-essential caps (when there's
>1), otherwise try to drop referring dentries and indirectly release caps
that way.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 24 Jun 2011 17:51:36 +0000 (10:51 -0700)]
client: fix mds touch
Sage Weil [Fri, 24 Jun 2011 17:46:32 +0000 (10:46 -0700)]
client: prefer auth cap in caps_issued_mask()
If we have an auth cap, prefer to touch that one. This helps consolidate
caps on a single mds and allows mds replicas to eventually recall their
state.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 24 Jun 2011 17:45:46 +0000 (10:45 -0700)]
client: touch cap on lookup even if we use the dentry lease
Touch the dir cap for the lease's mds even if we use the lease to traverse.
This makes the trim_caps() behave better because it keeps the dentry and
session cap LRUs in sync.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 24 Jun 2011 17:38:50 +0000 (10:38 -0700)]
client: touch dentries during path traversal
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Fri, 24 Jun 2011 23:37:50 +0000 (16:37 -0700)]
testrados: add NUM_THREADS
We can now test librados access with multiple simultaneous threads from
a single process.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Josh Durgin [Fri, 24 Jun 2011 23:41:54 +0000 (16:41 -0700)]
.gitignore: update for test_libceph_build
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Colin Patrick McCabe [Fri, 24 Jun 2011 21:30:36 +0000 (14:30 -0700)]
global_init: make global_init_set_globals static
Now that the libraries have been de-globalized, this funtion should only
be used by global_init itself.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 24 Jun 2011 20:24:10 +0000 (13:24 -0700)]
CephFSInterface: de-globalize
CephFSInterface: de-globalize
liceph: add ceph_get_mount_context
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 24 Jun 2011 18:55:13 +0000 (11:55 -0700)]
Fix C_NotifyComplete::notify
C_NotifyComplete::notify was broken in an earlier change where I removed
a derr() without removing the if statement before it.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
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>
Sage Weil [Thu, 23 Jun 2011 23:08:08 +0000 (16:08 -0700)]
cleanup
Sage Weil [Thu, 23 Jun 2011 23:00:38 +0000 (16:00 -0700)]
mon: order degraded before unfound
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 23:00:19 +0000 (16:00 -0700)]
osd: clean up pool/pg_stat_t structs slightly
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Samuel Just [Thu, 23 Jun 2011 18:13:40 +0000 (11:13 -0700)]
FileStore: ensure that CLONE_RANGE ranges are aligned
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
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>
Samuel Just [Fri, 24 Jun 2011 18:03:34 +0000 (11:03 -0700)]
ReplicatedPG: make sure that rollback target is not degraded
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 24 Jun 2011 18:03:01 +0000 (11:03 -0700)]
ReplicatedPG,OSD: clone srces need to be non-degraded
do_op: check that clone_range src sobjects are present on
replicas as well. Also, clean up src_obc map if we encounter an error
before returning.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Fri, 24 Jun 2011 17:44:28 +0000 (10:44 -0700)]
libceph: build without globals
libceph, libosdc, libclient: depend on libcommon rather than libglobal.
No more globals in libceph.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 23 Jun 2011 22:51:39 +0000 (15:51 -0700)]
libceph: de-globalize
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Fri, 24 Jun 2011 17:44:54 +0000 (10:44 -0700)]
filestore: remove warning
Colin Patrick McCabe [Fri, 24 Jun 2011 17:32:35 +0000 (10:32 -0700)]
Filer, Journaler: deglobalize
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 24 Jun 2011 00:25:27 +0000 (17:25 -0700)]
ObjectCacher.cc: de-globalize
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Fri, 24 Jun 2011 00:04:47 +0000 (17:04 -0700)]
rgw: restructure permissions verification
apparently 100-continue was broken
Yehuda Sadeh [Thu, 23 Jun 2011 22:11:16 +0000 (15:11 -0700)]
filestore: don't bother doing fiemap on small ranges
Sage Weil [Thu, 23 Jun 2011 23:27:29 +0000 (16:27 -0700)]
Merge remote branch 'origin/osd_metrics'
Sage Weil [Thu, 23 Jun 2011 23:26:16 +0000 (16:26 -0700)]
update .gitignore
Colin Patrick McCabe [Thu, 23 Jun 2011 23:16:40 +0000 (16:16 -0700)]
client/Client.cc: deglobalize
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 22:55:58 +0000 (15:55 -0700)]
qa: wget -q for kenrel_untar_build.sh
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 23 Jun 2011 22:26:08 +0000 (15:26 -0700)]
librgw: eliminate globals
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 22:46:13 +0000 (15:46 -0700)]
update .gitignore
Colin Patrick McCabe [Thu, 23 Jun 2011 21:06:20 +0000 (14:06 -0700)]
librados, librbd, librgw: remove dep on libglobal
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 22:03:29 +0000 (15:03 -0700)]
osd: reorder, cleanup prologger metrics
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 21:57:07 +0000 (14:57 -0700)]
osd: rip out old peer stat sharing
This never really worked, and has bitrotted, and the stats it's calculating
are mostly redundant anyway.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 21:39:10 +0000 (14:39 -0700)]
osd: rename peer_stat_lock -> stat_lock
It protects osd_stat too.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 21:36:07 +0000 (14:36 -0700)]
osd: instrument osdmap updates
Messages, epochs, dup epochs.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 21:32:52 +0000 (14:32 -0700)]
osd: clean up numpg*, hb*
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 21:26:34 +0000 (14:26 -0700)]
osd: instrument readable latency too
Time before a write is readable (not necessarily on disk). Note that if we
get the commit first (e.g. writeahead journal) this value isn't calculated
or logged.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 20:45:02 +0000 (13:45 -0700)]
osd: remove lame rlsum/num
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 20:44:10 +0000 (13:44 -0700)]
osd: fix loadavg check
Use the syscall, stupid.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 20:39:11 +0000 (13:39 -0700)]
osd: instrument pushes, pull requests
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 20:34:53 +0000 (13:34 -0700)]
osd: add sub_op instrumentation
pull subop
push subop
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 20:32:59 +0000 (13:32 -0700)]
osd: fix up log_op_stats to actually work
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 19:53:49 +0000 (12:53 -0700)]
osd: rename push applied, committed completions
Be consistent.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 23 Jun 2011 18:12:43 +0000 (11:12 -0700)]
osd: clean up client op stats
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Yehuda Sadeh [Thu, 23 Jun 2011 20:32:22 +0000 (13:32 -0700)]
osd: fix compilation
Yehuda Sadeh [Thu, 23 Jun 2011 21:25:02 +0000 (14:25 -0700)]
Revert "osd: make it compile on older boost libraries"
This reverts commit
116241ef106e6a88a84482f7f0f21219a6d29e33 .
Colin Patrick McCabe [Thu, 23 Jun 2011 20:45:13 +0000 (13:45 -0700)]
test_ceph_argparse: fix build
When this was merged, libcommon.a was not changed to libcommon.la
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 23 Jun 2011 20:31:50 +0000 (13:31 -0700)]
push global_init_set_globals into preinit callers
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Thu, 23 Jun 2011 20:32:22 +0000 (13:32 -0700)]
osd: make it compile on older boost libraries
Sage Weil [Thu, 23 Jun 2011 20:24:35 +0000 (13:24 -0700)]
Merge branch 'next'
Conflicts:
src/librbd.cc
Sage Weil [Thu, 23 Jun 2011 20:16:29 +0000 (13:16 -0700)]
Merge remote branch 'origin/stable' into next
Conflicts:
src/librbd.cc
Colin Patrick McCabe [Thu, 23 Jun 2011 17:38:06 +0000 (10:38 -0700)]
create test_librados_build
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
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
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
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
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>
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>
Jim Schutt [Wed, 22 Jun 2011 18:26:25 +0000 (12:26 -0600)]
common/Throttle: Remove unused return type on Throttle::get()
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Sage Weil <sage@newdream.net>