]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
18 years agoAdded capids and caching class
anwleung [Fri, 2 Mar 2007 20:15:16 +0000 (20:15 +0000)]
Added capids and caching class

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1161 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agocopiles and runs. RAID4PG instantiation and pg creation commented out in OSD.cc...
sageweil [Fri, 2 Mar 2007 20:08:34 +0000 (20:08 +0000)]
copiles and runs.  RAID4PG instantiation and pg creation commented out in OSD.cc until the virutal methods are implemented...

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1160 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agobuild on 64-bit machines (LP64)
sageweil [Fri, 2 Mar 2007 20:03:58 +0000 (20:03 +0000)]
build on 64-bit machines (LP64)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1159 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agocompiles, too
sageweil [Fri, 2 Mar 2007 04:35:56 +0000 (04:35 +0000)]
compiles, too

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1158 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agowrote it out.. hmm..
sageweil [Fri, 2 Mar 2007 04:27:44 +0000 (04:27 +0000)]
wrote it out.. hmm..

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1157 29311d96-e01e-0410-9327-a35deaab8ce9

18 years ago2007-03-01 Casey Marshall <csm@soe.ucsc.edu>
rsdio [Fri, 2 Mar 2007 04:07:56 +0000 (04:07 +0000)]
2007-03-01  Casey Marshall  <csm@soe.ucsc.edu>

* config.cc (g_conf): initialize bdbstore_transactional.
(parse_config_options): accept `--bdbstore-transactional' and
`--debug-bdbstore'.
* config.h (struct md_config_t): add `bdbstore_transactional.'
* doc/bdb.txt: new file.
* osbdb/OSBDB.cc (statfs): implemented.
Added optional transactions to most methods.
* osbdb/OSBDB.h: updated for transactions.
* test/testosbdb.cc: new file.
* test/testos.cc: updated.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1156 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agominor fixes...i think we in a happy state (knock on wood)
anwleung [Fri, 2 Mar 2007 01:35:22 +0000 (01:35 +0000)]
minor fixes...i think we in a happy state (knock on wood)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1155 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed cache rejoin. --mds_dump_cache_on_map
sageweil [Fri, 2 Mar 2007 00:54:03 +0000 (00:54 +0000)]
fixed cache rejoin.  --mds_dump_cache_on_map

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1154 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoimport/export failure recovery basically working!
sageweil [Thu, 1 Mar 2007 22:25:08 +0000 (22:25 +0000)]
import/export failure recovery basically working!

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1153 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoCleaned up the mon key gen
anwleung [Thu, 1 Mar 2007 20:55:54 +0000 (20:55 +0000)]
Cleaned up the mon key gen

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1152 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerge trunk changes r1058:1150 into branches/aleung/security1/ceph
sageweil [Thu, 1 Mar 2007 19:56:54 +0000 (19:56 +0000)]
merge trunk changes r1058:1150 into branches/aleung/security1/ceph
- new monitor key boostrapping

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1151 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agopassing of caps works to s degree...still some issues to resolve. About
anwleung [Thu, 1 Mar 2007 19:04:21 +0000 (19:04 +0000)]
passing of caps works to s degree...still some issues to resolve. About
to merge trunk into branch. note version number is case bad things
happen.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1150 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomore transplanted old guts. blood everywhere.
sageweil [Thu, 1 Mar 2007 16:58:37 +0000 (16:58 +0000)]
more transplanted old guts. blood everywhere.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1149 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agocomment
sageweil [Thu, 1 Mar 2007 16:37:00 +0000 (16:37 +0000)]
comment

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1148 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agonewsyn fix for numclients>1, mds_beacon_* args for config.cc, simplemessenger now...
sageweil [Thu, 1 Mar 2007 16:36:23 +0000 (16:36 +0000)]
newsyn fix for numclients>1, mds_beacon_* args for config.cc, simplemessenger now dies on dup register_entity, doesn't assert on missing local destination (still warns)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1147 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoStart of new interface to use Ceph under Hadoop
eestolan [Thu, 1 Mar 2007 03:55:53 +0000 (03:55 +0000)]
Start of new interface to use Ceph under Hadoop
--Esteban

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1146 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoMore normal state...not that everything works yet but better
anwleung [Thu, 1 Mar 2007 03:55:38 +0000 (03:55 +0000)]
More normal state...not that everything works yet but better

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1145 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomore stuff
sageweil [Thu, 1 Mar 2007 03:21:08 +0000 (03:21 +0000)]
more stuff

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1144 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agostupid bug fix for _is_cached and _trim_from_cache
sageweil [Thu, 1 Mar 2007 03:20:10 +0000 (03:20 +0000)]
stupid bug fix for _is_cached and _trim_from_cache

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1143 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agolittle changed...still in weird state :)
anwleung [Thu, 1 Mar 2007 03:04:35 +0000 (03:04 +0000)]
little changed...still in weird state :)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1142 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoStuffs kinda in a weird state...weird extcap compile error...cap caching
anwleung [Thu, 1 Mar 2007 02:05:46 +0000 (02:05 +0000)]
Stuffs kinda in a weird state...weird extcap compile error...cap caching
on client buffer not totally done

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1141 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoder
sageweil [Wed, 28 Feb 2007 23:15:51 +0000 (23:15 +0000)]
der

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1140 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomake mds notice incarnation, even when it starts up as a specific mds# (e.g. via...
sageweil [Wed, 28 Feb 2007 23:05:17 +0000 (23:05 +0000)]
make mds notice incarnation, even when it starts up as a specific mds# (e.g. via newsyn)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1139 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoeek
sageweil [Wed, 28 Feb 2007 18:42:55 +0000 (18:42 +0000)]
eek

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1138 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agohmm
sageweil [Wed, 28 Feb 2007 04:05:31 +0000 (04:05 +0000)]
hmm

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1137 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed stupid cache client shutdown bug
sageweil [Wed, 28 Feb 2007 02:11:49 +0000 (02:11 +0000)]
fixed stupid cache client shutdown bug

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1136 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoreverse_import works with 2 nodes. bystander subtree cleanup is going to be a little...
sageweil [Tue, 27 Feb 2007 23:53:40 +0000 (23:53 +0000)]
reverse_import works with 2 nodes.  bystander subtree cleanup is going to be a little tricky.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1135 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoonline recovery from importer failure works. open_remote_dir fixed.
sageweil [Tue, 27 Feb 2007 18:22:19 +0000 (18:22 +0000)]
online recovery from importer failure works.  open_remote_dir fixed.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1134 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoyay! still need to test online recovery, and write reverse_import. cleaned out...
sageweil [Tue, 27 Feb 2007 00:54:19 +0000 (00:54 +0000)]
yay!  still need to test online recovery, and write reverse_import.  cleaned out old crope crap.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1133 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoimport/export stable with new subtree infrastructure. now to fix recovery.
sageweil [Mon, 26 Feb 2007 18:13:44 +0000 (18:13 +0000)]
import/export stable with new subtree infrastructure.  now to fix recovery.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1132 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoadded basic implementation
riccardo80 [Mon, 26 Feb 2007 08:12:03 +0000 (08:12 +0000)]
added basic implementation

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1131 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerge branches/riccardo/monitor1 changes into trunk (pg log storage fix, monitorstore...
sageweil [Mon, 26 Feb 2007 00:17:32 +0000 (00:17 +0000)]
merge branches/riccardo/monitor1 changes into trunk (pg log storage fix, monitorstore, simplemssenger fixes, fakestore rewrite, and the latest monitor stuff)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1130 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed pg log storage (and the stupid recovery problems); fakestore cleanup
sageweil [Mon, 26 Feb 2007 00:13:49 +0000 (00:13 +0000)]
fixed pg log storage (and the stupid recovery problems); fakestore cleanup

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1129 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agominor set_dest_inst cleanup
sageweil [Mon, 26 Feb 2007 00:13:23 +0000 (00:13 +0000)]
minor set_dest_inst cleanup

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1128 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofakestore rewrite. new dir layout. now only optionally fake collections or attrs...
sageweil [Sun, 25 Feb 2007 00:53:41 +0000 (00:53 +0000)]
fakestore rewrite.  new dir layout.  now only optionally fake collections or attrs.  verify xattr support on mount.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1127 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomdsmon startup/shutdown cleanup. minor monitorstore fixup
sageweil [Sat, 24 Feb 2007 21:52:10 +0000 (21:52 +0000)]
mdsmon startup/shutdown cleanup.  minor monitorstore fixup

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1126 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoRead caps are being received by OSD...write caps are next
anwleung [Sat, 24 Feb 2007 00:00:16 +0000 (00:00 +0000)]
Read caps are being received by OSD...write caps are next

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1125 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomonitorstore fixes
sageweil [Fri, 23 Feb 2007 23:27:19 +0000 (23:27 +0000)]
monitorstore fixes

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1124 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed osd failure reporting; monitorstore mkfs; monitorstore cleanup
sageweil [Fri, 23 Feb 2007 22:47:21 +0000 (22:47 +0000)]
fixed osd failure reporting; monitorstore mkfs; monitorstore cleanup

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1123 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerged trunk changes r1107:1121 into branches/riccardo/monitor1
sageweil [Fri, 23 Feb 2007 21:57:05 +0000 (21:57 +0000)]
merged trunk changes r1107:1121 into branches/riccardo/monitor1

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1122 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoRead cap is being passed through client
anwleung [Fri, 23 Feb 2007 21:28:08 +0000 (21:28 +0000)]
Read cap is being passed through client

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1121 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoRemoved RC5 encryption, not compatible with older crypto libs
anwleung [Fri, 23 Feb 2007 04:32:59 +0000 (04:32 +0000)]
Removed RC5 encryption, not compatible with older crypto libs

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1120 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoChanged cap cache handling
anwleung [Fri, 23 Feb 2007 00:53:47 +0000 (00:53 +0000)]
Changed cap cache handling

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1119 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoResolved some capability generation issues
anwleung [Fri, 23 Feb 2007 00:22:12 +0000 (00:22 +0000)]
Resolved some capability generation issues

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1118 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agocmonctl; omg gobs of dir_auth import/export crap, that i am about to scrap anyway...
sageweil [Thu, 22 Feb 2007 23:26:15 +0000 (23:26 +0000)]
cmonctl; omg gobs of dir_auth import/export crap, that i am about to scrap anyway.  fun times.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1117 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agountested auth_pin changes; ctime changes (i am an idiot)
sageweil [Thu, 22 Feb 2007 04:37:22 +0000 (04:37 +0000)]
untested auth_pin changes; ctime changes (i am an idiot)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1116 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoModified extcap buffer management
anwleung [Wed, 21 Feb 2007 07:03:58 +0000 (07:03 +0000)]
Modified extcap buffer management

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1115 29311d96-e01e-0410-9327-a35deaab8ce9

18 years ago2007-02-20 Casey Marshall <csm@soe.ucsc.edu>
rsdio [Wed, 21 Feb 2007 00:54:26 +0000 (00:54 +0000)]
2007-02-20  Casey Marshall  <csm@soe.ucsc.edu>

* test/testos.cc: try to compute run times better.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1114 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agominor cap bit handling fixes. should tide us over until there's time for a more...
sageweil [Tue, 20 Feb 2007 23:23:35 +0000 (23:23 +0000)]
minor cap bit handling fixes.  should tide us over until there's time for a more thorough code review.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1113 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agosignificant rework of export messaging. cache expire rewritten to dup expire message...
sageweil [Tue, 20 Feb 2007 20:00:39 +0000 (20:00 +0000)]
significant rework of export messaging.  cache expire rewritten to dup expire messages to old and new auth during ambiguous phase.  CDir.dir_auth_pending to track that.  CDentry state properly migrated now.  lots of related bugfixes.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1112 29311d96-e01e-0410-9327-a35deaab8ce9

18 years ago2007-02-19 Casey Marshall <csm@soe.ucsc.edu>
rsdio [Tue, 20 Feb 2007 01:11:09 +0000 (01:11 +0000)]
2007-02-19  Casey Marshall  <csm@soe.ucsc.edu>

* config.cc (g_conf): set `bdbstore_cachesize' to 0 (== use
default BDB cache size).
(parse_config_options): handle `--bdbstore-cachesize'.
* config.h (md_config_t): add `bdbstore_cachesize.'
* osbdb/OSBDB.cc (binary_search): reimplemented, non-dumb like.
(OSBDB::opendb): new method.
(OSBDB::mount): handle db opening here.
(OSBDB::umount): close the DB, dispose of Db pointer.
(OSBDB::mkfs): handle db opening here.
(OSBDB::pick_object_revision_lt): implemented.
(OSBDB::stat): handle split between object data and object
"inode."
(OSBDB::remove): likewise; also remove attributes.
(OSBDB::truncate): likewise; don't worry about large objects
here.
(OSBDB::read): handle data/inode split; only use DB_DBT_PARTIAL if
we have to.
(OSBDB::write): likewise.
(OSBDB::clone): handle data/inode split; just read in the whole
object.
(OSBDB::create_collection): fix collections list move.
(OSBDB::collection_add): fix objects list move.
(OSBDB::_setattr): handle attribute key changes; fix attribute
names move.
(OSBDB::_getattr): new method.
(OSBDB::getattr): new method.
(OSBDB::getattrs): new method.
(OSBDB::rmattr): new method.
(OSBDB::listattr): fix attribute key types; fix reading
attributes.
(OSBDB::collection_setattr): implemented.
(OSBDB::collection_rmattr): implemented.
(OSBDB::collection_getattr): implemented.
(OSBDB::collection_listattr): implemented.
* osbdb/OSBDB.h: enforce POD types for DB keys; add << operator
for DB key types. Make an "inode" type for object metadata, so we
don't need to prepend an object length to the object data.
(OSBDB::env, OSBDB::mounted, OSBDB::opened): new fields.
(OSBDB::OSBDB): don't initialize `db' here.
(OSBDB::~OSBDB): handle db closure.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1111 29311d96-e01e-0410-9327-a35deaab8ce9

18 years ago2007-02-17 Casey Marshall <csm@soe.ucsc.edu>
rsdio [Sun, 18 Feb 2007 00:47:52 +0000 (00:47 +0000)]
2007-02-17  Casey Marshall  <csm@soe.ucsc.edu>

* config.cc (g_conf): add `bdbstore' variables.
(parse_config_options): handle `bdbstore' arguments.
* config.h (struct md_config_t): add `bdbstore' fields.
* ebofs/Ebofs.cc: fix includes for Darwin.
* Makefile (CFLAGS): add `-DUSE_OSBDB' if `want_bdb' is `yes'.
(OSBDB_LIBS, OSBDB_OBJS, OSBDB_OBJ): define if `want_bdb'.
(cosd): link in `osbdb.o'.
(testos): new target.
(osbdb.o): new target.
* test/testos.cc: new file.
* osd/OSD.cc: include `osbdb/OSBDB.h' if `USE_OSBDB' is defined.
(OSD::OSD): create an OSBDB store if requested.
* osbdb/OSBDB.h: new file.
* osbdb/OSBDB.cc: new file.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1110 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agopaxos message delivery, elector change
sageweil [Sat, 17 Feb 2007 23:29:57 +0000 (23:29 +0000)]
paxos message delivery, elector change

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1109 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed port handling, nonce
sageweil [Sat, 17 Feb 2007 23:29:37 +0000 (23:29 +0000)]
fixed port handling, nonce

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1108 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerged trunk changes r1084:1106 to branches/riccardo/monitor2 (namely, the mds update...
sageweil [Sat, 17 Feb 2007 23:04:24 +0000 (23:04 +0000)]
merged trunk changes r1084:1106 to branches/riccardo/monitor2 (namely, the mds updates merged back into trunk)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1107 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerge from branches/sage/cephmds2
sageweil [Sat, 17 Feb 2007 22:49:47 +0000 (22:49 +0000)]
merge from branches/sage/cephmds2

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1106 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoiasdf
sageweil [Sat, 17 Feb 2007 19:56:11 +0000 (19:56 +0000)]
iasdf

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1105 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoopenc hack, works for now
sageweil [Sat, 17 Feb 2007 19:03:06 +0000 (19:03 +0000)]
openc hack, works for now

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1104 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agodebug prefix
sageweil [Sat, 17 Feb 2007 19:02:49 +0000 (19:02 +0000)]
debug prefix

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1103 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agopipe close bugfix
sageweil [Sat, 17 Feb 2007 19:02:38 +0000 (19:02 +0000)]
pipe close bugfix

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1102 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoadded the extcap class
anwleung [Sat, 17 Feb 2007 06:51:06 +0000 (06:51 +0000)]
added the extcap class

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1101 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoClient gets cap back and begins passing to OSD
anwleung [Sat, 17 Feb 2007 06:22:05 +0000 (06:22 +0000)]
Client gets cap back and begins passing to OSD

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1100 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerged trunk changes r1047:1098 into branches/sage/cephmds2
sageweil [Fri, 16 Feb 2007 18:08:49 +0000 (18:08 +0000)]
merged trunk changes r1047:1098 into branches/sage/cephmds2

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1099 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomove ip parsing into config.o, generic --bind option for all build targets
sageweil [Thu, 15 Feb 2007 22:28:29 +0000 (22:28 +0000)]
move ip parsing into config.o, generic --bind option for all build targets

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1098 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed get_new_proposal_number
sageweil [Thu, 15 Feb 2007 18:59:52 +0000 (18:59 +0000)]
fixed get_new_proposal_number

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1097 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofunction skeletons
riccardo80 [Thu, 15 Feb 2007 10:27:58 +0000 (10:27 +0000)]
function skeletons

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1096 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agopaxos messages
riccardo80 [Thu, 15 Feb 2007 10:27:21 +0000 (10:27 +0000)]
paxos messages

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1095 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agocreate a mess of directories w/ a realistic nesting structure
sageweil [Wed, 14 Feb 2007 22:29:40 +0000 (22:29 +0000)]
create a mess of directories w/ a realistic nesting structure

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1094 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agosurviving exporter will recovery importer failure during export
sageweil [Sat, 10 Feb 2007 00:48:40 +0000 (00:48 +0000)]
surviving exporter will recovery importer failure during export

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1093 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agosome web page updates
sageweil [Fri, 9 Feb 2007 19:13:52 +0000 (19:13 +0000)]
some web page updates

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1092 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoosd ops tagged with reqid_t, which includes osd client (client|mds) incarnation....
sageweil [Fri, 9 Feb 2007 18:42:36 +0000 (18:42 +0000)]
osd ops tagged with reqid_t, which includes osd client (client|mds) incarnation.  types.h files restructured/cleaned up somewhat.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1091 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoginormous message layer refactoring, i want to die
sageweil [Fri, 9 Feb 2007 00:38:02 +0000 (00:38 +0000)]
ginormous message layer refactoring, i want to die

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1090 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomonitorstore. paxos get_last_proposal_number.
sageweil [Thu, 8 Feb 2007 19:16:23 +0000 (19:16 +0000)]
monitorstore.  paxos get_last_proposal_number.

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1089 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agopaxos shell
sageweil [Thu, 8 Feb 2007 04:42:13 +0000 (04:42 +0000)]
paxos shell

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1088 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoelector bugfix 2
sageweil [Thu, 8 Feb 2007 04:01:03 +0000 (04:01 +0000)]
elector bugfix 2

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1087 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoelector bugfix
sageweil [Thu, 8 Feb 2007 03:57:02 +0000 (03:57 +0000)]
elector bugfix

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1086 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agobeginnings of monitorstore thinger
sageweil [Thu, 8 Feb 2007 03:41:56 +0000 (03:41 +0000)]
beginnings of monitorstore thinger

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1085 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agomerged trunk changes r1068:1083 into branches/riccardo/monitor2
sageweil [Thu, 8 Feb 2007 03:29:55 +0000 (03:29 +0000)]
merged trunk changes r1068:1083 into branches/riccardo/monitor2

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1084 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agotry to close bound socket to avoid TIME_WAIT after control-c
sageweil [Thu, 8 Feb 2007 03:27:59 +0000 (03:27 +0000)]
try to close bound socket to avoid TIME_WAIT after control-c

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1083 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agotweak to cache purge thing
sageweil [Thu, 8 Feb 2007 03:27:34 +0000 (03:27 +0000)]
tweak to cache purge thing

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1082 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoclient key distro is close to done
anwleung [Wed, 7 Feb 2007 02:07:35 +0000 (02:07 +0000)]
client key distro is close to done

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1081 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoPassing of keys is working...but not finished
anwleung [Tue, 6 Feb 2007 23:48:46 +0000 (23:48 +0000)]
Passing of keys is working...but not finished

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1080 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoelector signedness cleanup
sageweil [Mon, 5 Feb 2007 18:59:31 +0000 (18:59 +0000)]
elector signedness cleanup

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1079 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoonly use ar -rc for darwin, ld is faster the rest of the time
sageweil [Mon, 5 Feb 2007 18:59:17 +0000 (18:59 +0000)]
only use ar -rc for darwin, ld is faster the rest of the time

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1078 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoebofs trim_from_cache(object, start, len)
sageweil [Mon, 5 Feb 2007 18:08:27 +0000 (18:08 +0000)]
ebofs trim_from_cache(object, start, len)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1077 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agostatvfs in client, as per newer fuse api
sageweil [Mon, 5 Feb 2007 00:33:41 +0000 (00:33 +0000)]
statvfs in client, as per newer fuse api

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1076 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agobasic mds recovery now working, mostly missing graceful handling of surviving mds...
sageweil [Sun, 4 Feb 2007 03:26:56 +0000 (03:26 +0000)]
basic mds recovery now working, mostly missing graceful handling of surviving mds; synclient 'walk' tweaks

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1075 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoWaiting for ClientMonitor to respond with ACK
anwleung [Fri, 2 Feb 2007 02:29:44 +0000 (02:29 +0000)]
Waiting for ClientMonitor to respond with ACK

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1074 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoTicket's are updated and supposedly passable
anwleung [Fri, 2 Feb 2007 01:40:08 +0000 (01:40 +0000)]
Ticket's are updated and supposedly passable

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1073 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoclient blocking to get a user ticket
sageweil [Thu, 1 Feb 2007 23:36:57 +0000 (23:36 +0000)]
client blocking to get a user ticket

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1072 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoFirst steps towards client auth
anwleung [Thu, 1 Feb 2007 20:58:58 +0000 (20:58 +0000)]
First steps towards client auth

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1071 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agouser auth messages
sageweil [Thu, 1 Feb 2007 07:24:44 +0000 (07:24 +0000)]
user auth messages

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1070 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agofixed htons goof in SimpleMessenger; mkmonmap now works; monitor elector sorta working!
sageweil [Thu, 1 Feb 2007 06:47:48 +0000 (06:47 +0000)]
fixed htons goof in SimpleMessenger; mkmonmap now works; monitor elector sorta working!

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1069 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agocreating branch for distributed monitor
riccardo80 [Thu, 1 Feb 2007 05:43:23 +0000 (05:43 +0000)]
creating branch for distributed monitor

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1068 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoelector stuff for distributed monitor
sageweil [Thu, 1 Feb 2007 05:38:43 +0000 (05:38 +0000)]
elector stuff for distributed monitor

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1067 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoA bit mote on the user.h
anwleung [Thu, 1 Feb 2007 00:44:38 +0000 (00:44 +0000)]
A bit mote on the user.h

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1066 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoModified the monmap to have keys
anwleung [Wed, 31 Jan 2007 23:33:14 +0000 (23:33 +0000)]
Modified the monmap to have keys

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1065 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoAdded the (empty) user class
anwleung [Wed, 31 Jan 2007 23:28:11 +0000 (23:28 +0000)]
Added the (empty) user class

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1064 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoebofs sync() tweaks (untested!); first pass at is_cached interface (with half-assed...
sageweil [Wed, 31 Jan 2007 22:51:08 +0000 (22:51 +0000)]
ebofs sync() tweaks (untested!); first pass at is_cached interface (with half-assed implementation)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1063 29311d96-e01e-0410-9327-a35deaab8ce9

18 years agoMore map stuff, should be ready to serialize to .ceph_monmap
anwleung [Wed, 31 Jan 2007 02:25:28 +0000 (02:25 +0000)]
More map stuff, should be ready to serialize to .ceph_monmap

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1062 29311d96-e01e-0410-9327-a35deaab8ce9