Commit Graph

3102 Commits

Author SHA1 Message Date
Sage Weil
48bd6928a2 kclient: minor cleanup 2008-04-02 12:00:03 -07:00
Sage Weil
738f65ae09 kclient: some more osdc refactoring. sync read/write basically working 2008-04-02 12:00:03 -07:00
Sage Weil
223f3d6c0a kclient: iput and dput in mdsc handle_lease
Conflicts:

	src/TODO
2008-04-02 11:56:07 -07:00
Sage Weil
8ff832e44e kclient: some io refactoring, still a bit busted tho 2008-04-02 07:01:23 -07:00
Sage Weil
535f3b82b4 kclient: mount arg parsing; remove dead io code 2008-04-01 20:52:50 -07:00
Sage Weil
903e3c6fbc Merge branch 'unstable' into io
Conflicts:

	src/kernel/messenger.c
2008-04-01 15:46:20 -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
Sage Weil
61e5a4e721 kclient: readpages cleanup 2008-04-01 14:14:24 -07:00
Sage Weil
d5b1153cca kmsgr: allow short data payloads 2008-04-01 14:14:17 -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
Sage Weil
acd63b0bc6 kclient: readpages works 2008-04-01 13:36:43 -07:00
Patience Warnick
e41b4cc528 Fixed some potential bugs in message protocol changes 2008-04-01 11:45:46 -07:00
Sage Weil
2b280a2bbc kclient: disable readpages, for now 2008-04-01 11:25:56 -07:00
Sage Weil
86ca6094c6 kclient: writepages works 2008-04-01 10:57:30 -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
bd75b4b003 Merge branch 'unstable' into io 2008-04-01 06:38:07 -07:00
Sage Weil
f626b9c9e2 kclient: lease messages increment mds session seq 2008-04-01 06:32:23 -07:00
Michael Rodriguez
d699c99782 parse_device from text config file 2008-04-01 03:53:09 -07:00
Sage Weil
6c48578ef9 kclient: wsize option, some writepages bits 2008-03-31 20:56:04 -07:00
Sage Weil
84f2bac28d kclient: writepage cleanup, behaving 2008-03-31 18:01:24 -07:00
Patience Warnick
c33811fbf0 more message protocol changes.. 2008-03-31 16:43:16 -07:00
Sage Weil
c2f5b52e95 kclient: write_begin and write_end 2008-03-31 16:37:57 -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