Josh Durgin
008e02f5ea
.gitignore: update for test_libceph_build
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-06-24 16:41:54 -07:00
Colin Patrick McCabe
13909c2423
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>
2011-06-24 14:30:36 -07:00
Colin Patrick McCabe
7dd919c2b4
CephFSInterface: de-globalize
...
CephFSInterface: de-globalize
liceph: add ceph_get_mount_context
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-24 14:08:10 -07:00
Colin Patrick McCabe
1ddc5521c6
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>
2011-06-24 11:55:13 -07:00
Sage Weil
a1c9bb3570
cleanup
2011-06-24 11:00:11 -07:00
Sage Weil
5c65661bb0
mon: order degraded before unfound
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-24 11:00:10 -07:00
Sage Weil
b00eb9f9a2
osd: clean up pool/pg_stat_t structs slightly
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-24 11:00:10 -07:00
Samuel Just
178d63e44e
FileStore: ensure that CLONE_RANGE ranges are aligned
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-24 11:15:28 -07:00
Samuel Just
2fbf215b5b
PG: assemble_backlog - fix comparison error, tail is non-inclusive
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-24 11:15:27 -07:00
Samuel Just
5175851af2
ReplicatedPG: make sure that rollback target is not degraded
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-06-24 11:15:27 -07:00
Samuel Just
f6320fee3c
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>
2011-06-24 11:15:27 -07:00
Colin Patrick McCabe
6696b0ff69
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>
2011-06-24 10:52:25 -07:00
Colin Patrick McCabe
5af5b9f05e
libceph: de-globalize
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-24 10:52:25 -07:00
Yehuda Sadeh
bfef6c86b9
filestore: remove warning
2011-06-24 10:44:54 -07:00
Colin Patrick McCabe
00c5539dec
Filer, Journaler: deglobalize
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-24 10:35:42 -07:00
Colin Patrick McCabe
86b41ff96e
ObjectCacher.cc: de-globalize
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 17:25:50 -07:00
Yehuda Sadeh
757926a19f
rgw: restructure permissions verification
...
apparently 100-continue was broken
2011-06-23 17:06:30 -07:00
Yehuda Sadeh
1fc60a2baa
filestore: don't bother doing fiemap on small ranges
2011-06-23 17:06:30 -07:00
Sage Weil
bd5b62aacf
Merge remote branch 'origin/osd_metrics'
2011-06-23 16:27:29 -07:00
Sage Weil
c260b2541e
update .gitignore
2011-06-23 16:26:23 -07:00
Colin Patrick McCabe
f347ea14d9
client/Client.cc: deglobalize
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 16:17:27 -07:00
Sage Weil
81900994f8
qa: wget -q for kenrel_untar_build.sh
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-23 15:57:35 -07:00
Colin Patrick McCabe
d1a755597c
librgw: eliminate globals
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 15:46:46 -07:00
Sage Weil
88e9004fcf
update .gitignore
2011-06-23 15:46:13 -07:00
Colin Patrick McCabe
76dae02db7
librados, librbd, librgw: remove dep on libglobal
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 15:04:27 -07:00
Sage Weil
089255eba6
osd: reorder, cleanup prologger metrics
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 15:03:29 -07:00
Sage Weil
d37948407a
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>
2011-06-23 14:57:26 -07:00
Sage Weil
dfa6c8d256
osd: rename peer_stat_lock -> stat_lock
...
It protects osd_stat too.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
2506500f92
osd: instrument osdmap updates
...
Messages, epochs, dup epochs.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
560c082605
osd: clean up numpg*, hb*
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
6a3741a69e
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>
2011-06-23 14:57:26 -07:00
Sage Weil
a9b107ff4e
osd: remove lame rlsum/num
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
13b0289034
osd: fix loadavg check
...
Use the syscall, stupid.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
6e78e2455c
osd: instrument pushes, pull requests
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
74aaa022dd
osd: add sub_op instrumentation
...
pull subop
push subop
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:26 -07:00
Sage Weil
74f4b4fe14
osd: fix up log_op_stats to actually work
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:25 -07:00
Sage Weil
c72cfe05bb
osd: rename push applied, committed completions
...
Be consistent.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:25 -07:00
Sage Weil
6c5a7d5f32
osd: clean up client op stats
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-23 14:57:18 -07:00
Yehuda Sadeh
09f6d9f1d9
osd: fix compilation
2011-06-23 14:25:06 -07:00
Yehuda Sadeh
d593b39454
Revert "osd: make it compile on older boost libraries"
...
This reverts commit 116241ef10
.
2011-06-23 14:25:02 -07:00
Colin Patrick McCabe
cbc06f0cfa
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>
2011-06-23 13:45:13 -07:00
Colin Patrick McCabe
80df03d8ec
push global_init_set_globals into preinit callers
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 13:39:49 -07:00
Yehuda Sadeh
116241ef10
osd: make it compile on older boost libraries
2011-06-23 13:32:22 -07:00
Sage Weil
c01a734d3b
Merge branch 'next'
...
Conflicts:
src/librbd.cc
2011-06-23 13:24:35 -07:00
Sage Weil
7cef392380
Merge remote branch 'origin/stable' into next
...
Conflicts:
src/librbd.cc
2011-06-23 13:16:29 -07:00
Colin Patrick McCabe
7e33d122bf
create test_librados_build
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-23 13:13:29 -07:00
Yehuda Sadeh
ede3a0a3e0
librados: fix end_block calculation for aio_read
...
Conflicts:
src/librbd.cc
2011-06-23 12:33:38 -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