Commit Graph

5743 Commits

Author SHA1 Message Date
Sage Weil
400e04e6dd osd: rev internal osd protocol 2009-01-29 10:17:45 -08:00
Sage Weil
cbe1eefa09 osd: push wrlocks into object_info_t 2009-01-29 10:17:45 -08:00
Sage Weil
64625557e4 osd: remove inc_lock 2009-01-29 10:17:45 -08:00
Sage Weil
478e51aa02 osd: combine all internal object state into single '_' object_info_t xattr 2009-01-29 10:17:45 -08:00
Sage Weil
c9554fc5d8 osd: replace version attr with oi (object_info_t) (disk format change)
Includes last reqid, mtime.  Makes backlog log entries include
a real reqid, which makes the client_reqs IndexedLog map meaningful.
Otherwise, the first backlog item we 'unindex' means the remaining
ops with reqid unknown0.0:0 aren't in the map.

This revs the osd ondisk format.
2009-01-29 10:17:45 -08:00
Yehuda Sadeh
60c55c23bb Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable 2009-01-28 16:35:54 -08:00
Yehuda Sadeh
ab347516aa cconf: able to specify multiple sections 2009-01-28 16:35:39 -08:00
Sage Weil
cd2669f635 dstart: --ramjournal option 2009-01-28 16:11:35 -08:00
Sage Weil
2c0422bae7 scripts: osd latency check script 2009-01-28 16:11:34 -08:00
Sage Weil
a61c0bf282 kclient: start writeback without blocking
We just want to make sure writeback starts; we don't need/want
to wait for it to complete in the writeback thread.
2009-01-28 16:10:12 -08:00
Yehuda Sadeh
d68f60ce47 cconf: set default conf filename 2009-01-28 10:51:18 -08:00
Yehuda Sadeh
a34c82d831 cconf: added utility to read configuration 2009-01-28 10:49:37 -08:00
Sage Weil
ac22c78624 mds: fix open file rejounal in try_to_expire
We were invalidating the iterator.
2009-01-28 09:36:14 -08:00
Sage Weil
dbeb6c992d kclient: fix nocrc behavior
Only disable data crc.  Don't check crc if either we or the peer
didn't calculate it.
2009-01-28 09:32:29 -08:00
Sage Weil
20ec768063 mds: shorten mds beacon grace to 15 seconds 2009-01-27 16:42:52 -08:00
Sage Weil
6258c64c99 todo 2009-01-27 16:18:06 -08:00
Sage Weil
309e595f8c vstart: fix btrfs test 2009-01-27 15:21:01 -08:00
Sage Weil
ee114f91bc msgr: make nocrc only apply to data payload; and set flag if no crc 2009-01-27 15:21:00 -08:00
Sage Weil
0545b4d4e7 todo 2009-01-27 14:43:54 -08:00
Sage Weil
83f5fecfa0 mon: clean mon monmap cons 2009-01-27 14:43:54 -08:00
Sage Weil
c10316374a dstart: no preload gprof helper 2009-01-27 14:43:54 -08:00
Sage Weil
32975533e7 config: avoid wonky times in g_config 2009-01-27 14:43:54 -08:00
Sage Weil
1a837aae7d mon: disable pgmap_dumps
This aren't trimmed!
2009-01-27 14:43:54 -08:00
Sage Weil
40d56a9705 mds: optimize EMetaBlob::fullbit, remotebit, nullbit encoding
Encode in constructor to avoid intermediate representation during
journaling.
2009-01-27 14:43:49 -08:00
Sage Weil
abe6de30eb buffer: optimize append()
Avoid repeatedly dereferencing list tail.
2009-01-27 13:23:57 -08:00
Sage Weil
8a053aa831 kclient: fix osd timeout merge error 2009-01-27 10:47:55 -08:00
Sage Weil
bff9432e04 dstart: less debug output 2009-01-27 10:43:01 -08:00
Sage Weil
c24b1601fe osd: throttle sub_ops too 2009-01-27 10:43:00 -08:00
Sage Weil
5dfa423401 osd: adjust pending_ops when requeuing opq 2009-01-27 10:42:59 -08:00
Sage Weil
fc806ef9a2 mds: show which segment trimming is blocked on 2009-01-27 10:42:58 -08:00
Sage Weil
54290162b0 osd: locally requeue on repeer if still primary
kclient osd_client and Objecter need only resend when primary
changes.
2009-01-27 10:40:11 -08:00
Sage Weil
08a189895d kclient: fix RETRY_SESSION seq value
Should be existing session's seq, not new sessions.  Error causes
SimpleMessenger to throw an assertion

msg/SimpleMessenger.cc:1283: FAILED assert(reply.connect_seq > connect_seq)
2009-01-27 09:50:32 -08:00
Sage Weil
63f2754353 kclient: only send one ping per laggy osd 2009-01-26 20:57:06 -08:00
Sage Weil
43b862169e mds: include xattr updates in cap messages; accept xattr cap updates 2009-01-26 20:21:17 -08:00
Sage Weil
5abd410ac6 mds: adjust some debug levels 2009-01-26 19:56:53 -08:00
Sage Weil
b1939af57b todo 2009-01-26 19:56:53 -08:00
Sage Weil
39732f750e osd: drop osd_lock while pausing/requeueing opq
An in-progress op may need to take osd_lock.
2009-01-26 16:21:53 -08:00
Sage Weil
36bd20bd76 osd: fix merge_old_entry assertion
Object may not be missing if it was later deleted.
2009-01-26 16:21:53 -08:00
Sage Weil
ee916bd1f7 osd: fix up_thru_pending conditional
up_thru_pending only meaningful if non-zero.
2009-01-26 16:21:52 -08:00
Sage Weil
b66ffdbd03 osd: requeue instead of draining op_queue on map update
Also clean up waiter helpers.
2009-01-26 16:21:51 -08:00
Sage Weil
59d6e18017 osd: keep peer_info.last_{update,complete} up to date in case we get later stray
We need to be able to call peer() again after going active and get
meaningful results.
2009-01-26 16:21:50 -08:00
Sage Weil
63f04bf189 osd: bit more verbose in oldest_update calculation 2009-01-26 16:21:49 -08:00
Sage Weil
f37d4b42c4 osd: adjust generate_backlog assertions
We should never generate a backlog while active.
2009-01-26 16:21:48 -08:00
Sage Weil
da981f57b0 mds: clean up EUpdate output 2009-01-26 16:21:47 -08:00
Sage Weil
c5f55f2ab7 mds: do not trim log during recovery 2009-01-26 16:21:46 -08:00
Sage Weil
898e90cbe7 osd: only check replicas in recover_replicas 2009-01-26 16:21:45 -08:00
Sage Weil
69d2fad7db osd: clean up activate, peer recovery debug output 2009-01-26 16:21:44 -08:00
Yehuda Sadeh
85b9900676 messenger: added a no-crc option 2009-01-26 12:47:48 -08:00
Sage Weil
814e9c719f osd: fix pg log trimming
Log entries rarely ever fall on block boundaries.  Behave
accordingly.

Also, decide whether to trim on primary only, at a high level in
op_modify.
2009-01-26 11:23:25 -08:00
Sage Weil
68d19a3dc1 paxos: tolerate commits for older states
We may have races if paxos recovery restarts.
2009-01-26 11:06:42 -08:00