sageweil
df0126377f
* fixed looping bug with clean_dir (called after trace playback)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1242 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 20:59:21 +00:00
sageweil
88b0b7d836
* fix bug with lost waiters on null dentries (e.g. mknod race)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1241 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 20:55:20 +00:00
anwleung
db4e931284
Added test trace file and trace now plays
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1240 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 20:16:22 +00:00
anwleung
5a5c7f31e0
fixed it to not spit out root, which is already there from mds boot
...
journal flush
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1239 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 18:34:08 +00:00
anwleung
93b3e0c297
script to first spit out all dirs used in a trace
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1238 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 18:20:49 +00:00
sageweil
8d3760d038
* more dirfrag refactoring. slowly but surely.
...
* fixed up message forwarding, even from path_traverse
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1237 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 06:08:51 +00:00
sageweil
786924ef16
* unlink message handler tweak (clean out inode+dirfrags)
...
* EMetaBlob interface cleanup: explicitly specify dentry type, unless updating existing
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1236 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 05:25:25 +00:00
anwleung
c44ced6836
script to translate strace i/o data to ceph trace format
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1235 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 04:41:01 +00:00
sageweil
d40ae71dd8
* local unlink works, unless primary and nlink>1
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1234 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 04:40:11 +00:00
sageweil
8e19f2b68a
start of unlink rewrite
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1233 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 00:15:31 +00:00
sageweil
6f40cc9257
* carry CDentry state over a migration
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1232 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-14 18:38:26 +00:00
sageweil
d4a88488b4
* AnchorTable/AnchorClient update to handle failure for table of initiator.
...
* Simplified anchor ops.
* Rollback.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1231 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-14 17:54:32 +00:00
anwleung
a29ff7ff72
make renewal an option, switched monmap key management
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1230 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-14 17:32:43 +00:00
anwleung
4e108069da
Applying sages changes
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1229 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 22:45:30 +00:00
sageweil
79e24af3d4
* fixed read/write idiocy in MonitorStore
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1228 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 22:22:54 +00:00
anwleung
4d9597285a
* fixed read/write idiocy in MonitorStore
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1227 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 22:20:22 +00:00
sageweil
5c3e102b5c
* anchortable rewrite. now journals updates. partial recovery logic; does not handle others' failures (i.e. disambiguate uncommitted ops.)
...
* anchorclient rewrite. does not yet retry ops if anchortable fails.
* rewrite of MDCache::anchor_create() and _destroy(). no _update() yet.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1226 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 19:01:01 +00:00
sageweil
8f2c19ffcc
* some more discover cleanup with open_remote_dir()
...
* MClientRequest cleanup: args not in a union, self-documenting, cleaner.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1225 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 16:20:19 +00:00
anwleung
defcd00ff8
using cryptopp headers instead of ++
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1224 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 01:50:09 +00:00
sageweil
47b0059d0d
merged trunk changes r1151:1222 into branches/aleung/security1/ceph
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1223 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 01:36:06 +00:00
anwleung
8eac4771a8
turned some optimizations flags on for crypto stuff
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1222 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 01:19:03 +00:00
sageweil
c1e9220896
* emacs headers, formatting
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1221 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 00:59:51 +00:00
sageweil
3562c8b436
* minor osdmap cleanup
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1220 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 00:52:32 +00:00
sageweil
baaee0f7aa
* fixed SyntheticCLient.read_file() to notice EOF
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1219 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 00:13:19 +00:00
sageweil
11add1fae1
* added try_map_read, which checks for missing bufferheads without creating them. for _is_cached.
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1218 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 23:26:18 +00:00
sageweil
f35b883067
* fixed bug with writefile/readfile data fingerprinting (for detecting data corruption errors)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1217 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 22:08:13 +00:00
anwleung
b803102e8e
renewal stuff is mostly there and working...added some timing stuff for
...
perf debugging
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1216 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 21:11:27 +00:00
sageweil
e9801096ef
fixed some migrator memory leaks; bug in client getdir on empty dir; add_replica_dir in MDCache; fixed mdcache handle_expire behavior during EXPORT_WARNING
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1215 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 21:02:33 +00:00
sageweil
f2bedc9225
- CDentry wasn't setting auth bit on import
...
- discover_reply bugfix
- improved MDCache.trim() and friends.. proper CEx logic.
- cleaned up MDCache.shutdown_pass
- Migrator::audit() will verify import/export_state is clean
- importing, exporting pins on CDir
- fixed bug with EMetaBlob expire logic (on import)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1214 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 18:40:27 +00:00
anwleung
fa7d4cff37
Client periodic renewal request works
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1213 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 04:16:18 +00:00
sageweil
c7a1b84020
error suppression file to make valgrind shut up about a bug in libc's writev
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1212 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 03:41:08 +00:00
sageweil
e8435da651
- mdcache wasn't deleting trimmed inodes
...
- client metadata request queuing was goofed; fixed memory leak and other issues
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1211 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 03:40:22 +00:00
sageweil
c728d594ff
merged trunk changes r1171:1207 into branches/sage/cephmds2 (take 2, worked better this time.)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1210 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 03:13:33 +00:00
sageweil
dc8f0e05a9
undo previous broken merge of trunk r1171:1207
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1209 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 03:08:54 +00:00
sageweil
d364c932ae
merged trunk changes r1171:1207 into branches/sage/cephmds2
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1208 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 02:58:02 +00:00
sageweil
958e3ece4b
fixed lots of memory leaks! cleaned up C_Gather. Thread has stricter interface (join() dies if thread didn't start). lots of objectcacher cleanup (including memory leakage). some fakemessenger cleanup.
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1207 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 02:52:30 +00:00
anwleung
b6c7941d9b
renewal stuff coming together, mds handling stuff incomplete
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1206 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 23:40:32 +00:00
anwleung
ce7bd320a3
Client cap caching totally redone
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1205 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 19:49:46 +00:00
anwleung
f849b45279
sage helped me fix some stupid i was doing
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1204 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 03:47:50 +00:00
anwleung
ea993ebac7
group bug fixed...i hope
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1203 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 02:36:31 +00:00
sageweil
8ac1851049
filepath cleanup. major discover code cleanup. thrashing+log trimming is stable!
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1202 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 02:04:36 +00:00
anwleung
f2b2a331bc
fixed an initialization bug
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1201 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 01:49:09 +00:00
anwleung
527081071f
update bug fixed
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1200 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 22:56:01 +00:00
rsdio
42bc516d1b
2007-03-10 Casey Marshall <csm@soe.ucsc.edu>
...
* osbdb/OSBDB.cc: add some more debug tracing.
(rmattr, collection_rmattr): fix buglet where we'd zero-fill
the input name, not the `attr_name' we're copying it to.
* test/testos.cc: hacks to support ebofs-on-raw-device.
* test/testosbdb.cc: add more tests for attributes.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1199 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 22:49:05 +00:00
sageweil
f646f4a502
fixed warnings on LP64; removed MonitorStore debug message
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1198 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 20:50:07 +00:00
anwleung
5c5e4d8a82
mds unix group handling better now
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1197 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 20:44:01 +00:00
sageweil
95b21cc4c3
some small discover fixes; migrator cleanup; a more serious overhaul is needed both for dirfrags, and to interact well with ambiguous auth and dir auth hints
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1196 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 02:55:02 +00:00
anwleung
0d5fa02762
--fix_client_id 1/default off toggles a fixed group for all clients and
...
uid based on clientid
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1195 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 02:01:06 +00:00
anwleung
73e2686fdc
secure_io toggles security (on defaultly) and --no_sec doesnt do
...
anything anymore
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1194 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 23:43:25 +00:00
sageweil
2a38c3e968
don't require 'fs' to be defined
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1193 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 22:48:17 +00:00