Commit Graph

5721 Commits

Author SHA1 Message Date
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
Sage Weil
654e90704b osd: fix repop cleanup in on_change, _shutdown 2009-01-26 10:27:01 -08:00
Sage Weil
21367558ba ceph: warn when we get message with wrong fsid 2009-01-26 10:26:58 -08:00
Sage Weil
bdf405cd02 todos 2009-01-23 16:47:21 -08:00
Sage Weil
9a63cb13be paxos: ignore LAST message if pn is old
And old PN means that it's from a prior COLLECT attempt.
2009-01-23 16:47:21 -08:00
Sage Weil
6e2728eb9c mds: increase ino prealloc limit to 1000
Ideally this should self-tune, somehow...
2009-01-23 16:44:42 -08:00
Sage Weil
4df3be7ed1 osd: remove RepGather::put() debug print 2009-01-23 16:44:41 -08:00
Sage Weil
fd55dc6ad6 crush: remote list builder printf 2009-01-23 16:44:40 -08:00
Sage Weil
d3591be52b dstart: mount btrfs with new options 2009-01-23 16:44:40 -08:00
Sage Weil
cfdd83d741 kclient: statfs_request_tree alloc context is NOFS, not ATOMIC 2009-01-23 16:43:09 -08:00
Yehuda Sadeh
59369fb9c4 config: added include, misc stuff 2009-01-23 15:37:12 -08:00
Sage Weil
c4760afe68 kclient: do sync writepages if FILE_WRBUFFER is being revoked
This doesn't capture the case where we already started writeout
and _then_ the MDS tries to revoke, but that's probably not worth
the complexity.
2009-01-23 14:50:13 -08:00
Sage Weil
26cac11150 mds: fix max_size update
Force wrlock if client is issued WR cap; whether they are flushing
dirty data is irrelevant to whether we can safely force a wrlock.
2009-01-23 14:40:26 -08:00
Sage Weil
311d3a49ff kclient: initiate a sync when doing writepages for O_SYNC writers
Include 'startsync' osd op in write if there are any O_SYNC writers
pending on the inode.

We should eventually do the same if our WRBUFFER cap is being
revoked.
2009-01-23 14:18:16 -08:00
Sage Weil
63c2e9ea49 mds: set straydn.first properly for rename overwrite
Also reorder unlink_local a bit to match rename_prepare pattern.
2009-01-23 13:43:17 -08:00
Sage Weil
8239bedecc mds: only update cap wanted if seq matches 2009-01-23 13:23:22 -08:00
Sage Weil
37348a1a79 kclient: fix osd writes
Fixes commit 9664adfcb2.
2009-01-23 12:52:19 -08:00
Sage Weil
a4a1d5424f mds: take straydn.first form inode.first during unlink 2009-01-23 12:43:14 -08:00
Sage Weil
9664adfcb2 kclient: resend osd ops when pg membership changes
Previously we resent only when the primary OSD changed.  See
f49f78d03b.
2009-01-23 12:43:14 -08:00
Yehuda Sadeh
46696ade9c config: read configuration file before parsing command line
also does not write configuration unless specified
2009-01-23 12:40:16 -08:00
Yehuda Sadeh
a92400c82f mount.ceph: fix segfault when port is not specified 2009-01-23 12:38:29 -08:00
Yehuda Sadeh
b929f12baa confutils: complete config.cc configuration and adjustments 2009-01-23 09:31:42 -08:00
Yehuda Sadeh
331d1c4c38 confutils: cleanup, bug fixes 2009-01-23 09:31:42 -08:00