Commit Graph

2887 Commits

Author SHA1 Message Date
Sage Weil
223f3d6c0a kclient: iput and dput in mdsc handle_lease
Conflicts:

	src/TODO
2008-04-02 11:56:07 -07:00
Sage Weil
d17eba20a6 Merge branch 'inclock1' into unstable
Conflicts:

	src/TODO
	src/client/FileCache.cc
	src/kernel/mdsmap.h
	src/osdc/Filer.h
	src/osdc/ObjectCacher.h
2008-04-01 15:42:14 -07:00
Sage Weil
5d31511124 kmsgr: some formatting and style cleanup, and removed some legacy support 2008-04-01 15:13:45 -07:00
Sage Weil
9328a948d3 kmsgr: change peer_reset callback prototype 2008-04-01 15:03:14 -07:00
Sage Weil
03733a7bf8 Merge commit 'origin/msgr' into unstable
Conflicts:

	src/start.sh
2008-04-01 14:39:43 -07:00
Sage Weil
0f2ea11507 kclient: oops2 2008-04-01 14:32:36 -07:00
Sage Weil
99acf98b38 kclient: oops 2008-04-01 14:30:17 -07:00
Sage Weil
f374d2304d kclient: ceph_get_inode cleanup; use ceph_get_inode in ceph_fill_trace 2008-04-01 14:29:20 -07:00
Patience Warnick
4fbaef963d fixed connection sequence 2008-04-01 14:28:02 -07:00
Yehuda Sadeh-Weinraub
a4e82adbcd kclient: for hard links, use the inode from the supplied dentry in the fill_trace() 2008-04-02 00:08:24 +03:00
Patience Warnick
e41b4cc528 Fixed some potential bugs in message protocol changes 2008-04-01 11:45:46 -07:00
Sage Weil
bc2ad228ab mds: fix O_CREAT on existing file trace behavior 2008-04-01 08:17:30 -07:00
Sage Weil
73cbeca5d5 client: cancel tick timer on unmount, clean up debug output 2008-04-01 07:02:33 -07:00
Sage Weil
f626b9c9e2 kclient: lease messages increment mds session seq 2008-04-01 06:32:23 -07:00
Patience Warnick
c33811fbf0 more message protocol changes.. 2008-03-31 16:43:16 -07:00
Sage Weil
293dcab2ec kclient: reworked cap-related locking, now protected by i_lock 2008-03-31 12:05:25 -07:00
Sage Weil
241bb4cbf9 mds: small open handler cleanup 2008-03-31 12:05:05 -07:00
Sage Weil
203f05490b kclient: drop leases for setattr 2008-03-31 10:27:12 -07:00
Sage Weil
9107882154 mds: handle dir open modes more sanely 2008-03-31 07:16:40 -07:00
Sage Weil
82bcb5c2e6 kclient: move readdir cache prepopulation inside reply handler, out of caller process context 2008-03-31 07:10:20 -07:00
Sage Weil
da32e8d1d6 client: do not reply on caps we don't hold 2008-03-31 06:46:55 -07:00
Sage Weil
f6fae85aae client: be careful about filling in size, mtime, atime fields; and cleaned up userspace client reply decoding, filer interface 2008-03-31 06:46:54 -07:00
Yehuda Sadeh-Weinraub
5266cadc10 kclient: refrain from kmalloc while under spinlock 2008-03-31 12:13:15 +03:00
Sage Weil
b840d17968 kclient: disable link post-request step for now 2008-03-30 20:38:47 -07:00
Sage Weil
77ff57a75e kclient: sillywrite mount option 2008-03-29 10:38:42 -07:00
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