Commit Graph

215 Commits

Author SHA1 Message Date
anwleung
088e5f0b26 script to parse open/closes from trace for prediction
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1307 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-27 00:24:36 +00:00
anwleung
1ab4400849 Prediction now actually work...with some hacky fixes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1306 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-27 00:10:46 +00:00
sageweil
1e901bb67d * buffer: deque map<t,deque<u>>
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1305 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-26 20:41:56 +00:00
sageweil
88d3f210fb * more mds lock notes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1304 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-26 15:40:26 +00:00
sageweil
bf7efb0027 * rename notes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1303 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-25 14:39:10 +00:00
anwleung
fc112a7ee1 Added clients side file access prediction
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1302 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-25 04:10:17 +00:00
anwleung
772e4e7808 forgot the batch file
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1301 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-24 21:51:14 +00:00
anwleung
f89c21f028 on file batching working...with some client cache issues
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1300 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-24 21:50:54 +00:00
sageweil
53d4e98705 * dentry unlink notification moves to stray dir (w/ discovers)
* eval_stray, purge_stray
* adjust_subtree_after_rename (untested, of course)
* EMetaBlob cleanup to allow un/relinking.  need to test.
* rename dirs checks for emptyness.
* unlink/rename auth_pinning fixed up


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1299 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-24 00:55:51 +00:00
sageweil
61fc0d4a33 * mds: simplify unlink, rename logic by always moving existing primary inode into stray dir; purging will be async
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1298 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-23 21:11:50 +00:00
sageweil
6d5728d3bb * fixed rename semantics (helps to read the spec)
* local rename makes anchortable updates.
* local rename vs hard links behaves


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1294 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-23 18:06:21 +00:00
anwleung
d6f473d3df added some logging stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1292 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 21:36:40 +00:00
sageweil
5c4ae62764 * some mds ino cleanup
* Renamer stripped out; handle_client_rename cleaned up, _rename_local stuff there
* finished dirfrag refactoring
* stray dir creation on create/boot, trimmer fixes, etc.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1291 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 20:01:56 +00:00
anwleung
6c0dca0279 clean up again, changed output
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1290 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 19:37:35 +00:00
anwleung
f396c4b642 clean up stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1284 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 01:17:57 +00:00
sageweil
89c866200f * tested failure on requesting mds vs anchortable
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1282 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 23:49:13 +00:00
sageweil
446a7338f6 * some idempotent client ops groundwork
* tested/fixed up a few AnchorTable failure cases
* fixed remote_ino linking bug in Server.cc


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1280 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 22:15:01 +00:00
sageweil
786bf56c01 * ms_tcp_nodelay
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1278 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 21:20:47 +00:00
sageweil
c6a2e156b1 grr try this
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1277 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 21:03:07 +00:00
sageweil
8c2fcd7f06 * more SimpleMessenger cleanup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1276 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 20:37:29 +00:00
sageweil
aa03d08665 * changed SimpleMessenger to send using sendmsg(), to fix weird recv latency
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1275 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 20:30:01 +00:00
sageweil
d9b1a2d246 forgot crypto.o
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1274 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 20:27:29 +00:00
anwleung
ac3eab61e5 more clean up for getting numbers
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1273 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 00:14:04 +00:00
anwleung
bebce27f52 some optimizations, not sure they help
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1272 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 23:09:25 +00:00
anwleung
42bf150121 some unix group cleanup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1271 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 22:09:37 +00:00
anwleung
80ed795add key management changes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1268 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 20:25:17 +00:00
anwleung
b9c6921ef1 calc update latency w/ optimizaitons
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1265 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 16:41:32 +00:00
anwleung
c8c238eea2 more latency recording added
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1263 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-19 22:30:31 +00:00
anwleung
070d854893 Added read/write latency timing
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1262 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-19 21:43:22 +00:00
anwleung
a41774aa09 added an mds latency testing file
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1261 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-18 22:42:09 +00:00
anwleung
6fc29fa4d4 moved cap call around, helps alleviate an assertion
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1260 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-18 18:54:31 +00:00
anwleung
bef33e1bc0 fixed a deadlock problem, may come back to bite me
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1259 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-17 19:24:12 +00:00
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
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
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
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
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