Commit Graph

2912 Commits

Author SHA1 Message Date
Sage Weil
ff7142d686 kclient: fixed up the lease refs on inodes/dentries a bit 2008-03-28 18:06:55 -07:00
Sage Weil
85a3a2f1ae kclient: keep leases in per-session lru lists. locking needs some work still 2008-03-28 16:29:18 -07:00
Sage Weil
bb9a9ca1d2 client: behave if we get a file_caps message and want caps, but don't have a cap yet 2008-03-28 12:34:25 -07:00
Sage Weil
617f7c93f3 mds: send client reply after dropping request locks, so that leases on modified metadata can be issued 2008-03-28 11:50:08 -07:00
Sage Weil
cb6a50c182 mds: fix locker dn lease issue logic 2008-03-28 11:49:36 -07:00
Sage Weil
738e84a15b mds: only issue PIN caps on open directories; and fix lease revocation bug 2008-03-28 11:35:49 -07:00
Sage Weil
57f5b44619 kclient: only send release on lease bits we actually hold 2008-03-28 11:12:30 -07:00
Sage Weil
2fda8baf80 kclient: drop leases before modify ops that would require revocation 2008-03-28 10:48:54 -07:00
Sage Weil
d8708bbca4 mds: fix scatterlock lease revocation 2008-03-28 10:48:33 -07:00
Sage Weil
43ef12d03d kclient: dir icontent lease or caps imply dentry validity 2008-03-28 10:36:28 -07:00
Sage Weil
d9f87357b4 mds: dont issue dentry lease if dir-wide lease will do 2008-03-28 10:34:59 -07:00
Sage Weil
9c9d441e34 client: release_lease, not used yet 2008-03-28 10:20:55 -07:00
Sage Weil
6bd7eebc64 mds todos 2008-03-28 09:42:37 -07:00
Sage Weil
4aab4595a0 kclient: preemptive lease release; allow dir inode+dentry leases in single message 2008-03-28 09:24:18 -07:00
Sage Weil
15a39f6a15 kclient: drop dn lease before unlink/rmdir 2008-03-27 18:46:54 -07:00
Michael Rodriguez
15e8f3ace5 Merge branch 'unstable' of ssh://michaelr@ceph.newdream.net/git/ceph into unstable 2008-03-27 13:32:11 -07:00
Michael Rodriguez
2305a87de1 extra device 2008-03-27 13:31:07 -07:00
Sage Weil
cdbd178af5 kclient: return mtime/atime in cap messages to mds 2008-03-27 13:27:48 -07:00
Sage Weil
1dbaebbc75 make ceph_timeval nsec, to match linux timespec 2008-03-27 13:27:43 -07:00
Sage Weil
3b854bb3be kclient: removed i_wr_size and i_wr_mtime from ceph_inode_info 2008-03-27 13:27:38 -07:00
Sage Weil
1bda1ea7f7 Merge branch 'clientreplicas' into unstable 2008-03-27 13:27:28 -07:00
Sage Weil
5fe205fbba kclient: set time granularity; do utimes locally if holding EXCL 2008-03-27 11:34:56 -07:00
Sage Weil
987ae8e187 kclient: "fixed" O_CREAT|O_EXCL 2008-03-27 10:25:37 -07:00
Michael Rodriguez
74d8388f0c nil_t why do you torment me 2008-03-27 09:54:01 -07:00
Sage Weil
74ba033d9b fix kclient lease release, client_lease encoding 2008-03-26 21:42:16 -07:00
Sage Weil
97e7e73276 kclient: fix inode revalidate 2008-03-26 20:52:28 -07:00
Sage Weil
b9f382f69a kclient: inode revalidate, untested 2008-03-26 16:38:01 -07:00
Sage Weil
d1bd332ac2 kclient lease callback, dentry.d_time works 2008-03-26 16:25:37 -07:00
Sage Weil
2ab94073d8 kclient: d_revalidate simpler. no inode validation yet. 2008-03-26 15:41:18 -07:00
Sage Weil
fcd35b4d3a kclient: new mds reply parsing 2008-03-26 15:38:40 -07:00
Sage Weil
f2d1ba6446 mds: fix max_size handling 2008-03-26 13:32:30 -07:00
Yehuda Sadeh-Weinraub
fbcf0618af client: messenger should loop through the front part of the message 2008-03-26 22:20:36 +02:00
Yehuda Sadeh-Weinraub
1ee99cd0cd client: always dump errors 2008-03-26 22:20:36 +02:00
Yehuda Sadeh-Weinraub
3b8e6b6c76 client: small fix for compilation on other kernels 2008-03-26 22:20:36 +02:00
Yehuda Sadeh-Weinraub
abed58a049 client: BUG_ON at relevant places 2008-03-26 22:20:36 +02:00
Sage Weil
89a3caf93e mds: make scatterlock revoke leases 2008-03-26 13:13:53 -07:00
Sage Weil
82107d208c improve dirlock vs filelock interaction, filelock lease callbacks 2008-03-26 12:25:19 -07:00
Sage Weil
16b8ac9f19 todos 2008-03-26 11:11:51 -07:00
Sage Weil
c327d04eb1 client: fixed file refcounting 2008-03-26 11:08:58 -07:00
Sage Weil
3c25b09f75 client: use EXCL cap as implicit IFILE lease. fix file refcounting bug. 2008-03-26 10:54:52 -07:00
Sage Weil
048d69c4fc client: fixed up trace and readdir decoding 2008-03-26 10:27:53 -07:00
Sage Weil
c959b6fd3c mds: some lease packaging cleanup 2008-03-26 09:19:27 -07:00
Sage Weil
7e5adadd21 mds: rework lease encoding and such in client reply. still need to do the client side... 2008-03-25 22:04:41 -07:00
Sage Weil
0ff20dd524 mds: lease duration pools 2008-03-25 21:24:01 -07:00
Sage Weil
52f54e573d client: fix file_caps_wanted bug 2008-03-25 21:23:46 -07:00
Sage Weil
68b83cb24c excl works (fully client-side utimes() for untar) 2008-03-25 20:42:12 -07:00
Sage Weil
3f314cd21e forgot MClientLease 2008-03-25 20:27:20 -07:00
Sage Weil
9cf05c60cf osdmaptool: small fix 2008-03-25 20:09:47 -07:00
Sage Weil
ff9874df21 client: excl, unfinished 2008-03-25 16:38:09 -07:00
Sage Weil
9169a8bca1 todos 2008-03-25 15:55:26 -07:00