Commit Graph

9445 Commits

Author SHA1 Message Date
Sage Weil
707b5c69f7 filestore: refactor applied/committed completions 2010-01-25 13:59:56 -08:00
Sage Weil
9171241a4d osd: refactor op_applied logic
Behavior is still essentially unchanged (for now).
2010-01-25 13:59:56 -08:00
Sage Weil
9765bc4eee filestore: preliminary support for parallel journaling
- fixed issue with normal write-behind journal (op_seq wasn't updated
  inside the fs transaction)

- reworked journal interface to support write-behind, parallel, write-ahead
  (hopefully)
2010-01-25 13:59:55 -08:00
Sage Weil
3d3d1ea49e finish: support non-zero return values 2010-01-25 13:59:55 -08:00
Sage Weil
69d9e87793 osd: encode struct v for ceph_pg_pool 2010-01-25 13:39:40 -08:00
Sage Weil
e49a67302d mon: add struct encoding v to ease future revisions 2010-01-25 13:33:43 -08:00
Sage Weil
90bfb992a1 mds: make CEPH_MDS_OP_CREATE a write op [mds protocol change] 2010-01-25 11:26:34 -08:00
Sage Weil
ec8693437c ceph: remove stray #include 2010-01-25 10:34:18 -08:00
Sage Weil
da13c5aeca librados: implement C versions of snap calls 2010-01-25 09:43:06 -08:00
Greg Farnum
818c73ea2f Change CompatSet usage to be compatible with new struct 2010-01-19 14:03:20 -08:00
Greg Farnum
80979bbe92 change CompatSet 2010-01-19 14:03:20 -08:00
Greg Farnum
b826611cae mds: Revert CInode/Journaler changes as we'll move them into MDSMap later. 2010-01-19 14:03:12 -08:00
Greg Farnum
eb27307055 add versioning and awareness bla bla 2010-01-19 14:02:45 -08:00
Greg Farnum
8883cd22d9 mon: use CompatSet in disk format 2010-01-19 14:02:45 -08:00
Greg Farnum
15fa588535 mds: use CompatSet in disk format 2010-01-19 14:02:45 -08:00
Greg Farnum
5530e3b975 osd: use CompatSet in the superblock. Only one 'feature' right now 2010-01-19 14:02:45 -08:00
Greg Farnum
77e196ccc1 include: new CompatSet.h 2010-01-19 14:02:45 -08:00
Yehuda Sadeh
c74be209a3 replace strcat with strncat 2010-01-15 10:33:57 -08:00
Yehuda Sadeh
fa0a0c5bdf replace sprintf with snprintf all around
Also pass buffer size to relevant functions when required.
2010-01-14 16:11:51 -08:00
Sage Weil
f78d3d0a5c msgr: fix mark_down
Beware non-pure virtual methods in the abstract interface!
2010-01-14 16:06:17 -08:00
Sage Weil
adf613f2cc filestore: don't croak if current/ exists 2010-01-14 16:00:58 -08:00
Sage Weil
ca27bd6fdb todo 2010-01-14 16:00:58 -08:00
Yehuda Sadeh
d39149b8ab logger: use larger buffer, snprinf instead of sprintf 2010-01-14 14:34:59 -08:00
Sage Weil
9b6cf70b14 osd: use journal in peek_super 2010-01-14 13:41:40 -08:00
Sage Weil
5cd5b11b68 filestore: put data in current/, a btrfs subvol if possible 2010-01-14 13:39:32 -08:00
Sage Weil
8f06f08497 filestore: rip out usertrans experiment 2010-01-14 13:38:44 -08:00
Sage Weil
b102e81021 filestore: rename _apply_transaction
Conflicts:

	src/os/FileStore.h
2010-01-14 13:34:59 -08:00
Sage Weil
7b06739c2c mds: add 'dumpcache [filename]' mds command 2010-01-14 11:52:58 -08:00
Sage Weil
a26fec6886 mds: disable cache dump on rejoin by default 2010-01-14 11:52:20 -08:00
Greg Farnum
45e15bbea2 TODO 2010-01-08 17:27:59 -08:00
Greg Farnum
0ce86b3508 mon: properly clean up SessionMap on a shutdown.
This fixes failed asserts whenever you tried to do a clean monitor shutdown
instead of killing it.
2010-01-08 17:27:15 -08:00
Greg Farnum
d2ddb9d6c8 csyn: properly use multiple clients 2010-01-08 13:42:46 -08:00
Sage Weil
ff83762753 don't keep configs in git 2010-01-08 11:19:23 -08:00
Sage Weil
bfc75d6669 todo 2010-01-08 11:17:53 -08:00
Greg Farnum
1f95289b6c botched merge 2010-01-07 17:35:55 -08:00
Greg Farnum
0775c74d77 Merge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
Conflicts:

	src/msg/SimpleMessenger.cc
2010-01-07 17:15:39 -08:00
Greg Farnum
9ea4562960 msgr: make use of references and const slightly more consistent 2010-01-07 17:10:37 -08:00
Greg Farnum
89bdc33d40 monClient: fix potential naming confusion with messenger 2010-01-07 17:10:21 -08:00
Greg Farnum
40c37fcd1e msgr: rename endpoint_stopped to destination_stopped 2010-01-07 16:56:28 -08:00
Greg Farnum
6c63428980 msgr: rank is just a bad name for local SimpleMessengers now 2010-01-07 16:53:51 -08:00
Sage Weil
42b7af6f9d msgr: remove erank
Obsolete, now that we have only a single entity per SimpleMessenger
instance.  Avoid changing protocol by making it a reserved (and ignored)
field.
2010-01-07 16:10:23 -08:00
Greg Farnum
b914135158 msgr: should be destroyed in the same thread it's created 2010-01-07 15:35:26 -08:00
Sage Weil
7e799bcc9d filestore: don't bother masking signals
The OSD already catches SIGINT, SIGTERM.  It's not really
effective anyway.
2010-01-07 12:59:53 -08:00
Greg Farnum
5f54543f29 msgr: Remove erroneous rank->destroy calls I inserted in 9a96bf 2010-01-07 12:05:38 -08:00
Greg Farnum
644ce37bf5 msgr: get and put inside DispatchThread, not when you create/end DispatchThread 2010-01-06 17:18:49 -08:00
Greg Farnum
52a37a9400 msgr: Remove unregister_entity since there's only ever one now.
Move needed functionality into the end of dispatch_entry.
2010-01-06 17:18:49 -08:00
Greg Farnum
6737529631 msgr: Make usage compatible with last commit 2010-01-06 17:18:49 -08:00
Greg Farnum
1534b96bfe msgr: Remove all references to Endpoint 2010-01-06 17:18:48 -08:00
Greg Farnum
e292d7217b msgr: Remove declarations of unimplemented functions:
rename_entity and new_entity
2010-01-06 17:18:48 -08:00
Greg Farnum
04ba435baf msgr: SimpleMessenger takes responsibility for Messenger functions. 2010-01-06 17:18:48 -08:00