Commit Graph

249 Commits

Author SHA1 Message Date
sageweil
be35730204 * client make_request rewritten, now handle forwards and sessions and recovery gracefully
* mds rejoin fixed up, recovery basically working.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1342 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-06 17:34:19 +00:00
sageweil
a21552d786 * session recovery cleanup
* EOpen batching


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1341 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-05 20:29:13 +00:00
sageweil
38a77c2453 * rewrite of client mount process. sessions opened for each mds.
* mds recovery step reconnects with clients with open sessions


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1340 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-05 18:03:19 +00:00
sageweil
b97405edea merged trunk changes 1256:1338 into branches/sage/cephmds2
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1339 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-04 21:37:19 +00:00
sageweil
edadd14684 * more non-idemptoent clietn ops stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1338 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-04 21:30:01 +00:00
sageweil
7bba52eccc * client idempotent ops
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1337 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-04 20:41:09 +00:00
sageweil
b3ffcce6d9 * prelim work for EOpen journaling
* cache rejoin rewrite
* export dir prep cleanup
* thread cleanup


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1336 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-04 20:07:32 +00:00
sageweil
0579856eb2 * some hashing cleanup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1335 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-03 04:18:22 +00:00
sageweil
6c46386e98 * hardlock broken into auth, link, and dirfragtree locks
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1334 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-03 03:54:11 +00:00
sageweil
963bd256a2 * ambiguous auth cleanup, now generic in MDSCacheObject
* mds.locker: first pass at remote xlocks



git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1333 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-03 00:35:11 +00:00
anwleung
3cf427fd71 added new prediction for new test
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1332 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-31 18:43:52 +00:00
sageweil
dd50894211 * mds: generic waiters
* mds.dir: cleaned up dentry waiters


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1331 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-31 16:30:29 +00:00
sageweil
c8431884c5 * mds: more bits into MDSCacheObject
* utime_t timestamp precision in inode


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1330 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-31 15:25:12 +00:00
anwleung
f039c234b2 added some renewal stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1329 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-31 05:39:20 +00:00
anwleung
a0ff47699b added 2 more workloads
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1328 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-31 05:38:01 +00:00
anwleung
25a393af16 added configurable prediction
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1327 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-30 23:14:55 +00:00
sageweil
4cb8c4a911 * mds.locker: huge rewrite. cache objects now share lock code (for real). not tested yet.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1326 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-30 22:49:38 +00:00
sageweil
85bbbc85b4 * mds.server: more rewriting, now we explicitly rdlock path always, for proper auth check atomicity
* mds: remote inode link groundwork, just need remote xlocks
* mds.server: rewrote open O_TRUNC path


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1325 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-30 16:10:41 +00:00
anwleung
fb16ca76a9 redid some renewal stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1324 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-30 04:55:41 +00:00
sageweil
a1dc12af20 * mds.migrator: fixed auth_pin vs exporting deadlock by allowing discover stage to abort.
* mds/journal: fixed importing bug


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1323 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 22:11:23 +00:00
sageweil
b7af8016c0 * mds and osd ops now set 'retry' flag, so osd|mds can eventually skip dup op checks
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1322 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 20:02:26 +00:00
anwleung
516e512929 adding some test results to parse
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1321 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 07:25:32 +00:00
anwleung
e024a2c81f sequential, non random trace usage
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1320 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 05:10:20 +00:00
anwleung
65a4f4b124 added a ior2 workload
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1319 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 04:57:12 +00:00
sageweil
feee22564d unlink
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1318 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 01:19:41 +00:00
sageweil
5de9a7f5cc * rename reintegrated. so much simpler, yay!
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1317 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-29 00:21:49 +00:00
sageweil
15aff09c55 * buffer.h encoder/decoder rewrite; can now encode/dequeue any stl-based structure, provide base encoders are defined
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1316 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 22:50:51 +00:00
sageweil
50a672e429 * reqid refactoring (metareqid_t vs osdreqid_t)
* lock name cleanup


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1315 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 22:22:34 +00:00
sageweil
ea784976df * extensive rewrite of locker, server request handling, lock acquisition code
* mds: path_traverse cleanup (no more onfinish--we cache negative dentries now)


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1314 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 20:53:53 +00:00
anwleung
4c00d13956 ditto for lseek
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1313 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 19:23:51 +00:00
anwleung
cb8a866095 does trace lseek stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1312 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 19:21:57 +00:00
anwleung
5916f82f74 eh a bunch of stuff here and there
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1311 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 06:38:59 +00:00
anwleung
520d3df1fe unix group preloading
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1309 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-27 22:47:26 +00:00
anwleung
f1c796857d minor unix group tweaking
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1308 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-27 19:06:25 +00:00
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