Commit Graph

1308 Commits

Author SHA1 Message Date
sageweil
eb36db6f2a * singleauth waiting; discover waits
* moved auth_pins out of Locker; explicitly in Server.cc handlers now
* prepare_null_dentry/prepare_new_inode cleanup
* reqeust_auth_pin stuff


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1258 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-17 14:03:33 +00:00
anwleung
17cce2b350 buffer flash crowd stuff ground work is working
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1257 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 23:26:00 +00:00
sageweil
fb147bf247 merged trunk changes r1208:1255 into branches/sage/cephmds2
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1256 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 19:17:48 +00:00
sageweil
6ed8c55ee2 * O_TRUNC implemented in open()
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1255 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 17:36:40 +00:00
sageweil
b80c3a6b04 * fixed problem with client cache caps
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1254 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 17:30:50 +00:00
anwleung
9d0628329f merged trunk changes r1223:1251 into branches/aleung/security1/ceph
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1253 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 01:03:05 +00:00
sageweil
62ffc1116f * some discover cleanup
* fixed CDentry state replication (preserves dirty pins)
* fixed clientmap versioning vs journaling


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1252 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 00:57:53 +00:00
sageweil
785e6e5c19 * fixed bug with lost waiters on null dentries (e.g. mknod race)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1251 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 00:21:18 +00:00
sageweil
2bcc95a7e3 * some changes to client cache: readers/writers block properly, wake up when data is flushed
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1250 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 00:19:38 +00:00
anwleung
974c3fe013 fixed trace_convert to write to previous offset
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1249 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 00:07:21 +00:00
marnberg
183857fe7e Created a quota branch
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1248 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 23:23:52 +00:00
marnberg
5cb6d955f8 Added branch marnberg for quata
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1247 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 23:23:17 +00:00
sageweil
1d423e3cee * csyn: start up N synthetic clients, not just 1
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1246 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 23:12:32 +00:00
anwleung
1b71965e9d some fixes for client shutdown
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1245 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 22:26:45 +00:00
sageweil
89c6aabb29 * fixed getdir() on empty dir shutdown hang in client
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1244 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 21:15:42 +00:00
sageweil
4bb27d78ed * fixed buglet with open(O_CREAT)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1243 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 21:02:47 +00:00
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