Commit Graph

102 Commits

Author SHA1 Message Date
Sage Weil
df0c52a1d7 mon: use connection hook to resend mon requests 2009-10-13 11:54:40 -07:00
Sage Weil
7cc97f32ab msgr: change ms_handle_[peer_]reset prototype
And some small fixups in handlers along the way
2009-10-13 11:21:31 -07:00
Sage Weil
78759f93da osd: stop using MOSDGetMap
We should use the monclient and subscriptions instead.
2009-10-09 21:50:51 -07:00
Sage Weil
fa4e2a0442 objecter: don't send duplicate onetime sub requests 2009-10-08 11:44:17 -07:00
Sage Weil
3c315e308b objecter: send renew sub from maybe_request_map()
This broke with the last monc api change
2009-09-28 15:23:09 -07:00
Sage Weil
168edb8eba objecter: optionally set priority on ObjectOperations
This just sets the priority on the MOSDOp we send.
2009-09-24 14:56:39 -07:00
Sage Weil
8d71c47952 objecter: remove dead code 2009-09-22 15:36:46 -07:00
Sage Weil
0c92b63193 objecter: resend mon ops on handle mon connection reset 2009-09-22 15:36:46 -07:00
Sage Weil
decde38057 msgr: change dispatcher interfaces; some monclient cleanups 2009-09-15 15:02:17 -07:00
Sage Weil
1530e938d7 osd: remove ticket from MOSDOp 2009-09-01 10:52:27 -07:00
Sage Weil
f7c1bec44a objecter: use one-time subscription request for osdmap 2009-08-31 15:54:05 -07:00
Sage Weil
0635d43aa1 objecter: request full map on startup 2009-08-31 14:13:10 -07:00
Sage Weil
269448ad6f uclient: subscribe to mdsmap; strip out some signed_ticket cruft; fix mount 2009-08-31 13:00:09 -07:00
Yehuda Sadeh
434159b56c objecter: fix pool objects listing 2009-07-10 13:17:48 -07:00
Yehuda Sadeh
c5ee747116 osdc: pool creation via objecter 2009-07-08 13:36:22 -07:00
Yehuda Sadeh
d5b01eed2b objecter: rename snap ops to pool ops 2009-07-07 15:06:33 -07:00
Sage Weil
34168a9048 mds, objecter, ceph: use MonClient 2009-06-26 15:10:27 -07:00
Greg Farnum
1ebe88d03f mon/objecter: The monitors and Objecter now use the version in messages. 2009-06-25 14:54:06 -07:00
Greg Farnum
dd3ffaf072 Monitor/Message: All messages used by Paxos are now PaxosServiceMessages. 2009-06-24 12:27:55 -07:00
Greg Farnum
540ad29980 mon/msg: PThey mostly hold version_t's now. Unused, though. 2009-06-24 12:27:55 -07:00
Greg Farnum
74ceb01289 rados/objecter: Changes to rados in/out, and various things work. 2009-06-22 15:35:36 -07:00
Greg Farnum
2bd1377016 Objecter/librados: Refactored and renamed for clarity. 2009-06-22 15:35:36 -07:00
Sage Weil
4f0e84c982 objecter: some list_objects cleanups 2009-06-19 10:06:32 -07:00
Greg Farnum
17b0f2653d Objecter: now has list instead of librados. Hurrah. 2009-06-18 17:05:17 -07:00
Greg Farnum
f3210a7150 Objecter: Now resubmits *Op as part of tick() if the response takes too long. 2009-06-18 17:05:17 -07:00
Greg Farnum
1f086d9b63 rados: Now properly writes 0-byte files on a get.
There are more debug statements in librados and Objercter too.
2009-06-17 11:23:14 -07:00
Greg Farnum
e3105a06df Objecter: fixed a bug in snaps.
Worked around a situtation where you could delete a callback before it was followed.
2009-06-16 15:49:34 -07:00
Greg Farnum
3e6819052a mon/Objecter: Snapshot creation/removal now waits for proper epoch to return. 2009-06-16 15:22:16 -07:00
Greg Farnum
dd7c2f2cc0 mon: Now handles snapshot removals too. 2009-06-16 14:25:02 -07:00
Greg Farnum
ed34a0c7dc Client-side support for creating/removing pool snapshots. 2009-06-15 16:25:42 -07:00
Sage Weil
7605982081 objecter: add hook to get notification on new osdmap 2009-06-12 12:58:24 -07:00
Sage Weil
6ddb9e5d85 objecter: unify read and write paths
No longer any reason to segregate read and write paths.
2009-06-12 11:17:19 -07:00
Greg Farnum
8b6fa65262 uClient: Fixed a copying error and a double lock. 2009-06-11 16:23:26 -07:00
Greg Farnum
c4b42a8623 Added support for MStatfs to librados and Objecter. 2009-06-11 15:50:34 -07:00
Sage Weil
6b16ab0782 librados: make get pool stats work 2009-06-11 09:59:24 -07:00
Sage Weil
5779fd2397 librados: client side for getting pg stats
No server side yet!
2009-06-10 16:51:34 -07:00
Yehuda Sadeh
7a624a4a8a osd: hold op data on the specific op 2009-06-09 16:33:30 -07:00
Sage Weil
b9dd08ac08 osd: include client ticket in MOSDOp
One step closer to stabilizing the client <-> osd protocol.
2009-05-29 17:28:07 -07:00
Sage Weil
7256871aad osd: always set snapid in MOSDOp
This reverts ced9929bff.
2009-05-22 10:30:26 -07:00
Sage Weil
b8228b35d7 osd: describe osd ops as READ, WRITE, or READ|WRITE
An op is either a pure read (read, stat), a pure (blind) write (write
extent, delete), or read+write (e.g., read/modify/write).

Writes with read portions that are captured by ProjectedObjectInfo (size,
truncate attr) can pretend to be purely write (as they are now).
2009-05-20 12:10:12 -07:00
Sage Weil
e039780a84 objecter: kill inc_locks.
These aren't needed or used since there is a generic blacklist mechanism
in the osdmap (that is simpler and more robust).
2009-05-20 11:48:32 -07:00
Sage Weil
49d6e404a2 Merge branch 'unstable' into rados
Conflicts:

	src/client/SyntheticClient.cc
	src/kernel/bookkeeper.h
	src/osd/ReplicatedPG.cc
	src/osdc/Filer.cc
	src/osdc/Objecter.h
2009-05-19 13:20:14 -07:00
Sage Weil
2e03c11275 filer: make probe recover size and/or mtime; fix some bugs
This fixes up MDS recovery to find the file size.  And makes
probe actually work.. it was pretty broken before.
2009-05-18 16:52:30 -07:00
Sage Weil
3b6db0d6f0 osd: cleanly implement OSD_OP_STAT
Put stat result (size AND mtime) in read result bufferlist.
2009-05-18 16:52:26 -07:00
Sage Weil
975c8007d0 osd: set snapid in read requests 2009-05-07 16:06:50 -07:00
Sage Weil
3da7ca12af objecter: fix osdmap requesting 2009-05-07 15:32:25 -07:00
Sage Weil
3ba1175e4c objecter: only send one ping per laggy osd 2009-04-04 14:29:29 -07:00
Sage Weil
95710f0e9d objecter: add support for compound read ops (ObjectRead) 2009-04-04 14:29:22 -07:00
Sage Weil
d913f893bb osd: separate CEPH_OSD_OP_* and FLAGS_* namespaces
Ops and op flags are separate namespaces; fix the naming.
2009-03-24 14:02:35 -07:00
Sage Weil
6cd4de3d55 objecter: provide mtime for writes 2009-03-23 15:29:38 -07:00