Commit Graph

8267 Commits

Author SHA1 Message Date
Greg Farnum
aadeccdf18 uclient: make_request_from_Meta will now create the path if none is given
Since this is currently unused, it should possibly be removed
since it introduces at least one extra if into the program flow.
2009-09-25 15:55:34 -07:00
Greg Farnum
b12ef82a50 uclient: Add cap dropping to setattr. 2009-09-25 15:55:34 -07:00
Sage Weil
ea56e8015c mds: update mtime on truncation!
This didn't affect the kclient before for some reason, but it does
get the uclient.  Fix it.
2009-09-25 15:29:59 -07:00
Sage Weil
9acb1994c2 conf: don't run over g_conf options when setting them 2009-09-25 14:51:22 -07:00
Sage Weil
8848973ed6 configure: kill more commas
CentOS sucks!
2009-09-25 09:07:58 -07:00
Sage Weil
2f50017097 configure: no commas? 2009-09-25 09:06:30 -07:00
Sage Weil
1d9f1615ac configure: whitespace 2009-09-25 08:45:32 -07:00
Sage Weil
dfa34dbffa configure: fix libexpat1, libfcgi checks (again) 2009-09-25 08:43:03 -07:00
Sage Weil
1a696b6923 mds: make the directory commit priority be low(er than journal)
I'd raise the journal priority to > default, but that means touching
more Filer.h etc code.
2009-09-24 14:57:27 -07:00
Sage Weil
168edb8eba objecter: optionally set priority on ObjectOperations
This just sets the priority on the MOSDOp we send.
2009-09-24 14:56:39 -07:00
Sage Weil
7ca3fd0a76 mds: do not attach mdr to NULL session 2009-09-24 14:10:57 -07:00
Sage Weil
6c8d6a530f todo 2009-09-23 10:11:56 -07:00
Sage Weil
fcdfaa272a mds: warn on dup inodes; don't crash
We just ignore the second instance of the inode.  It can get
cleaned up transparently if/when the directory gets saved.
2009-09-23 09:59:37 -07:00
Sage Weil
8d71c47952 objecter: remove dead code 2009-09-22 15:36:46 -07:00
Sage Weil
e5f7a89438 librados: pass resets to objecter, with proper locking 2009-09-22 15:36:46 -07:00
Sage Weil
56067bdce0 mds: pass resets to objecter, with proper locking 2009-09-22 15:36:46 -07:00
Sage Weil
92e6c423d8 uclient: pass reset events to objecter, with proper locking 2009-09-22 15:36:46 -07:00
Sage Weil
0c92b63193 objecter: resend mon ops on handle mon connection reset 2009-09-22 15:36:46 -07:00
Sage Weil
a963e51d75 mds: fix inode load existence check
We can lookup using last snapid, not first.  That's how the
inode_map is indexed.
2009-09-22 15:37:51 -07:00
Sage Weil
d9f94b2de4 todo 2009-09-22 14:18:50 -07:00
Sage Weil
2f1e6a9a12 uclient: don't readdir first frag on opendir
This reorders things such that rm -r breaks.  It was an old old
optimization that doesn't make sense anymore anyway.
2009-09-22 14:18:50 -07:00
Sage Weil
a9eb97f419 objecter: fix uninitialized variable last_seen_version
Fixes hang on 'rados df'
2009-09-22 14:18:50 -07:00
Sage Weil
cb1b7e7ef2 librados: fix dispatch 2009-09-22 14:18:50 -07:00
Greg Farnum
6b9f7806ee uclient: Better fix for insert_dentry_inode to work with pre-built Dentrys. 2009-09-22 13:02:50 -07:00
Greg Farnum
a905078731 uclient: get_or_create should return out-of-date lease Dentrys too 2009-09-22 13:02:50 -07:00
Greg Farnum
c57f0d0190 uclient: encode_cap_releases shouldn't update caps if inode isn't in the cache 2009-09-22 13:02:50 -07:00
Greg Farnum
e46c72007a uclient: First attempt at preemptive cache dropping in the functions. 2009-09-22 13:02:50 -07:00
Greg Farnum
df48cadcee uclient: Don't *always* set_dentry_wanted() on MClientRequests. 2009-09-22 13:02:50 -07:00
Greg Farnum
99c58ba57d uclient: Only make the MClientRequest in send_request itself.
Add a few more functions to MetaRequest so we can use those in choose_mds.
2009-09-22 13:02:50 -07:00
Greg Farnum
5fd3cf0ad3 uclient: More debugging. May want to back off the inode printout to
not include caps_issued.
2009-09-22 13:02:50 -07:00
Greg Farnum
425dcc1dc5 uclient: changed link and insert_dentry_inode to behave with pre-built dentrys 2009-09-22 13:02:50 -07:00
Greg Farnum
f3c78bee11 uclient: Attempt preemptive cap dropping on mknod. 2009-09-22 13:02:50 -07:00
Greg Farnum
3ea4fbfdc1 uclient: dout statements in new functions. 2009-09-22 13:02:50 -07:00
Greg Farnum
4acdb0545e uclient: Fixes for get_or_create 2009-09-22 13:02:50 -07:00
Greg Farnum
f8c02856d7 uclient: Functions to create Dentrys prior to gettin caps from mds. 2009-09-22 13:02:50 -07:00
Sage Weil
eed8bc07cc remove extra whitespace 2009-09-22 12:29:33 -07:00
Sage Weil
8b4c05d80a kclient: fix bit test logic
This fixes the fault messages with <NULL> in them; we now print
the proper message, and in a timely fashion.
2009-09-22 12:26:52 -07:00
Sage Weil
73cfce7355 kclient: use pr_fmt to prefix module name
This doubles up the ceph:ceph: if we have CONFIG_DYNAMIC_DEBUG, but
that's not our fault.
2009-09-22 12:15:33 -07:00
Sage Weil
949f1bf48a kclient: prefix frag_ functions with ceph_
It was suggested this would avoid any potential conflict with TCP.
It's a good idea to keep the namespace clean anyway.
2009-09-22 11:50:29 -07:00
Sage Weil
c6faf6a15f kclient: kill out_qlen
This is apparently buggy (not immediately obvious why) but it's
only really useful for debugging anyway (it makes it easier to
match up message sequence numbers).  Rip it out.
2009-09-22 11:27:32 -07:00
Sage Weil
1744628de2 make inline string functions non-inline 2009-09-22 11:17:22 -07:00
Sage Weil
c2b4dc3d05 kclient: whitespace 2009-09-22 10:17:40 -07:00
Sage Weil
ab3c421eb9 v0.15 2009-09-22 10:13:11 -07:00
Sage Weil
c6e5d6e432 Makefile: include ioctl-number.patch 2009-09-22 10:10:40 -07:00
Sage Weil
1f1ec71ab1 msgr: don't print source in msg debug output 2009-09-22 10:10:27 -07:00
Sage Weil
13e6f345cf todo 2009-09-22 10:00:31 -07:00
Sage Weil
48866c2f94 monclient: change pick_new_mon -> reopen_session 2009-09-22 09:59:23 -07:00
Sage Weil
88fd161523 monclient: avoid dup subscribe messages 2009-09-22 09:58:07 -07:00
Sage Weil
d8c8da8649 osd: subscribe to monmap 2009-09-22 09:55:21 -07:00
Sage Weil
cf3192dd39 todo 2009-09-21 16:52:40 -07:00