Sage Weil
8ac00cb15c
osd: include ondisk magic in encoding for key ondisk state structs
...
This will eventually allow us to incrementally migrate to
updated ondisk structures by making the decoding conditional
(dependent on the encoded version). At least in some cases.
2009-06-09 20:36:44 -07:00
Sage Weil
aed778a64a
rados: remove testradoscio[pp] targets
2009-06-09 20:36:44 -07:00
Sage Weil
5052dc8e3a
rados: add helper to header
2009-06-09 20:36:44 -07:00
Sage Weil
931b0d7972
buffer: remove unused field
2009-06-09 20:36:43 -07:00
Sage Weil
8502be2188
osd: fix up OSDOp printing
2009-06-09 20:36:43 -07:00
Greg Farnum
109ed973e7
radostool now includes benchmarking functionality from testradosciopp.cc
2009-06-09 17:02:00 -07:00
Sage Weil
0660c2ca6e
osd: rev osd protocol
2009-06-09 16:48:41 -07:00
Sage Weil
70efc45883
kclient: include tid in osdc debugfs dump
2009-06-09 16:34:48 -07:00
Yehuda Sadeh
7a624a4a8a
osd: hold op data on the specific op
2009-06-09 16:33:30 -07:00
Sage Weil
82e14ae4a1
msgr: calculate data crc after encode_payload, in worker thread
...
Faster (bc crc calc is in msgr worker thread). Also allows
encode_payload() to manipulate data.
2009-06-09 16:02:36 -07:00
Greg Farnum
5317718464
Removed time_t -> int conversion warnings.
2009-06-09 16:01:58 -07:00
Sage Weil
01d91acbce
mds: fix dir frag split replay
...
is_complete() may not be set, but split is still allowed.
2009-06-09 15:22:55 -07:00
Sage Weil
399f22cb18
osd: don't clobber pg_stats.reported when repairing stats
2009-06-09 15:22:18 -07:00
Sage Weil
ef5f8f61e1
mds: do not fragment dirs if mds_bal_fragment_interval <= 0
2009-06-09 15:07:24 -07:00
Sage Weil
debd502126
radostool: cleanup
2009-06-09 14:58:53 -07:00
greg
60e3862709
Hurray, this file works properly as a standalone.
...
It takes concurrent writes to maintain, minimum runtime, size of the writes, and whether or not to check for consistency. Reports total runtime, writes made, bandwidth, average & max latency, and time waiting for Rados.
2009-06-09 14:56:08 -07:00
greg
6f47790ba0
Added initial testradosciopp.cc.
2009-06-09 14:56:08 -07:00
greg
5792669a15
A properly working testradoscio.c. For the moment it just takes a number of writes to make and does that number in a loop.
2009-06-09 14:56:08 -07:00
Sage Weil
ae4d91ccd8
osd: simplify op read/write flag setup
2009-06-09 14:49:43 -07:00
Sage Weil
ca27616e6c
osd: kick pg on active set change
2009-06-09 14:43:33 -07:00
Sage Weil
efdf8947ad
common: kill obsolete common/ThreadPool.h
2009-06-09 14:43:33 -07:00
Sage Weil
abb9fa4ce1
osd: fix osd shutdown vs scrub work queue deadlock
...
Pause new disk_tp items, kick all (possibly) blocked pgs, and _then_
stop the disk_tp. And make scrub() bail out if the osd is stopping.
2009-06-09 14:43:33 -07:00
Sage Weil
799723acb0
mon: fix 'scrub' -> 'repair' in command reply msg
2009-06-09 14:43:33 -07:00
Sage Weil
1a35911c79
osd: counnt errors fixed during repair, and indicate scrub vs repair
2009-06-09 14:43:33 -07:00
Sage Weil
daeed421ac
osd: fix pg stats on repair
2009-06-09 14:43:33 -07:00
Sage Weil
3c91cb5a48
osd: replica should not check missing map on push
...
That is, we should let the primary push us objects even if we don't
think they're missing. This is necessary for pg repair to work.
The old check is useless, since we already restart peering when the
pg changes, and ignore pre-change sub_op messages.
2009-06-09 14:43:33 -07:00
Sage Weil
7b506643ea
osd: improved logging for scrub
2009-06-09 14:43:33 -07:00
Sage Weil
7f01a4b26c
osd: fix repair_object attr name
...
Didn't get switched from 'oi' to '_' way back when.
2009-06-09 14:43:33 -07:00
Sage Weil
9f8fc96140
osd: fix pg parsing
2009-06-09 14:43:32 -07:00
Yehuda Sadeh
85a65e5fc6
osd: read/write op flags revision (for class methods)
2009-06-09 13:26:06 -07:00
Yehuda Sadeh
bdfbc610b5
class: class acl stuff preliminary stuff
2009-06-09 13:26:06 -07:00
Sage Weil
cb6e7007e6
mon: don't dup entires in log.err
2009-06-09 11:08:11 -07:00
Sage Weil
916b1998ce
osd: fix backlog ordering part deux
...
Remove the old entry from the map!
2009-06-09 10:57:59 -07:00
Sage Weil
24dd3ee903
osd: repair out of order logs in read_log
...
Works around bug fixed in f1ff93.
2009-06-09 10:36:03 -07:00
Sage Weil
f1ff934f94
osd: fix order of prior_version backlog entries
...
They need to end up in the log in the proper order. So make 2 passes,
one to generate the entries, and a second to prepend them to the log.
2009-06-08 17:36:43 -07:00
Sage Weil
61995ee7a6
osd: cleanup
2009-06-08 15:59:24 -07:00
Sage Weil
e16ed9b17b
mon: handle failures during CLIENTREPLAY state
2009-06-08 15:59:24 -07:00
Sage Weil
7685e7f823
radostool: 'ls' fixes
2009-06-08 14:11:54 -07:00
Sage Weil
67532602e6
librados: fix locking on sync methods
2009-06-08 14:11:53 -07:00
Sage Weil
431f38d49d
objclass: fix compilation
2009-06-08 14:11:53 -07:00
Yehuda Sadeh
501a1a6766
class: makefile, include fixes
2009-06-08 13:48:28 -07:00
Yehuda Sadeh
4e451c1cf5
conf: avoid parsing daemon related config options when not needed
2009-06-08 13:22:03 -07:00
Sage Weil
ac8b799b0c
osd: copy soid out of iterator
...
A ref into the iterator is inherently risky.
2009-06-08 12:57:39 -07:00
Sage Weil
4202ec1599
kclient: filemap_write_and_wait_range not exported < 2.6.30
...
Include a warning that snap flushing may not work.
2009-06-08 12:12:11 -07:00
Sage Weil
9390fab627
cosd: put mds on ceph4
2009-06-08 12:12:10 -07:00
Sage Weil
0e312e773b
osd: fix use-after-free on osd
...
push_to_replica is called on a sobject_t ref from the missing map,
and then removes the item from said missing map. Reorder to avoid
the soid mangling.
2009-06-08 12:12:09 -07:00
Sage Weil
8dcb1e6e82
osd: write pg info _after_ updating log
...
Otherwise the log bounds don't match the PG::Info!
2009-06-08 12:12:05 -07:00
Sage Weil
e64a6db327
mds: restore session state on load; only save opened sessions
2009-06-08 12:10:45 -07:00
Sage Weil
bb6c79e0e4
osd: remove bad assertions from IndexedLog::print()
2009-06-08 12:10:45 -07:00
Sage Weil
ece39bb5a9
librados: add/fix locking
2009-06-08 11:03:01 -07:00