Commit Graph

7814 Commits

Author SHA1 Message Date
Sage Weil
21cb069eab kclient: fix queue_cap_snap refs, calls in handle_snap
Call on correct ci.  Skip past dropping inodes without dropping
our spinlock.  Hold ref on prior inode until we traverse to the
next one.  (We can't iput while holding our spinlock.)
2009-07-30 15:25:02 -07:00
Greg Farnum
0fffbfec82 Hadoop: Moved ceph debug level set into Java code; disabled CephIOStream debugs. 2009-07-30 14:46:38 -07:00
Greg Farnum
c087ffc187 uClient: Whoops! Made Inode get/put dout at a lower importance. 2009-07-30 14:40:10 -07:00
Greg Farnum
95fd09c4e9 Hadoop: Much cleanup of methods.
Many no-longer-required methods are now private and renamed; overrides and deprecated methods are clearly marked and mostly justified.
2009-07-30 14:40:10 -07:00
Greg Farnum
ceb2d41812 Hadoop: This method no longer exists in the FileSystem API. 2009-07-30 14:40:10 -07:00
Greg Farnum
c2aa810685 Hadoop: No good reason to overwrite these copy/move functions that I can see 2009-07-30 14:40:10 -07:00
Greg Farnum
d3b7d17864 Hadoop: Since Client is behaving, put back in the close. 2009-07-30 14:40:10 -07:00
Greg Farnum
b89046a022 uclient: Fixes refcounting bug when you chdir to cwd. 2009-07-30 14:40:10 -07:00
Greg Farnum
2ff4fbd144 Hadoop: More work with deprecated and inappropriately-overridden functions. 2009-07-30 14:40:10 -07:00
Greg Farnum
16d68ced75 Hadoop: Removed deprecated functions 2009-07-30 14:40:10 -07:00
Greg Farnum
546860e68c Hadoop: moveFromLocalFile uses copyFromLocalFile; is more robust. 2009-07-30 14:40:10 -07:00
Greg Farnum
9785824f8a Hadoop: More debugging output changes. 2009-07-30 14:40:10 -07:00
Greg Farnum
3be1ed3cc3 Hadoop: getFileStatus behaves better with folders. 2009-07-30 14:40:09 -07:00
Greg Farnum
4626bb9cac uclient: removed cout debug statement 2009-07-30 14:40:09 -07:00
Sage Weil
a3f144e697 kclient: don't croak on mds request will NULL r_request 2009-07-30 13:45:12 -07:00
Sage Weil
81872b6be0 mds: process session msgs during clientreplay 2009-07-30 13:45:12 -07:00
Sage Weil
5f5ab2aacc mds: no need to take mds_lock in truncate callback
It's already held when the Objecter message handler is called.
2009-07-30 13:45:12 -07:00
Sage Weil
02a226ebef mds: defer caps msgs until clientreplay or active 2009-07-30 13:45:12 -07:00
Sage Weil
be25f714f5 osd: adjust debug output 2009-07-30 13:45:12 -07:00
Sage Weil
df39e7b8cb mds: tolerate a missing directory object
Including error in log, mark dir complete.  Some metadata may
be missing!
2009-07-30 13:45:12 -07:00
Sage Weil
96598f43d8 kclient: release unused caps, but keep some reserve
Release unused caps.  Keep some reserve so we can do a readdir
(which reserves lots of caps) quickly, without reallocating a
zillion new caps.
2009-07-29 16:11:04 -07:00
Sage Weil
b7178da066 kclient: nofail mode for osd writes
If nofail is specified, allocate request from mempool, and do not
return error on message send failure.  Instead, mark the request,
and periodically retry.

This isn't perfect: we can still starve indefinitely trying to
send the write, but it'll do until we have a better way to reserve
resources for writeback messages.
2009-07-29 15:53:33 -07:00
Sage Weil
dcdd7d0d41 kclient: use mempool for osd req in writeback paths
Only in writeback path.  For reads and sync writes, avoid the
mempool.
2009-07-29 15:53:33 -07:00
Greg Farnum
72cf9fecc3 Hadoop: Removed unnecessary reload of hadoopcephfs. 2009-07-28 18:27:32 -07:00
Greg Farnum
5db5de7b78 Hadoop: More debugging statements, converted to use a method we can flag off. 2009-07-28 18:27:32 -07:00
Greg Farnum
923bc9a4c8 libceph: add a check in ceph_deinitialize to prevent badness on multiple calls. 2009-07-28 18:27:32 -07:00
Greg Farnum
3872642659 uclient: getcwd fixes 2009-07-28 18:27:32 -07:00
Sage Weil
052b174c98 kclient: bug on back kmap 2009-07-28 17:02:22 -07:00
Sage Weil
769eedb2cc osd: fail gracefully when problems reading /proc/loadavg 2009-07-28 14:44:48 -07:00
Sage Weil
31c7b5d6ed auth: compat with old struct 2009-07-28 11:31:43 -07:00
Sage Weil
ae14d9906a initscript: skip if auto start = no/false/0 and nothing or type specified 2009-07-28 11:18:49 -07:00
Sage Weil
2278e9ce50 kclient: avoid overflow in mds reconnect msg size calc 2009-07-28 11:18:49 -07:00
Sage Weil
841f26fd49 mon: allow osd down->out interval to be 0 (i.e., manual) 2009-07-28 11:18:49 -07:00
Sage Weil
bf5ac3a5a4 osd: remove bad osdmap access
osd may not exist
2009-07-28 11:18:49 -07:00
Sage Weil
483bc18c36 auth: add ClientTicket 2009-07-28 11:05:14 -07:00
Sage Weil
98ace93254 uclient: use lookup parent in getcwd() 2009-07-28 10:37:59 -07:00
Sage Weil
0a72563e6c mds: add lookup parent op 2009-07-28 10:37:51 -07:00
Greg Farnum
2ac8274ad5 Hadoop: Many silly debug statements. 2009-07-28 09:27:53 -07:00
Greg Farnum
f90df69f54 Hadoop: Minor fixes to the still-unworking Hadoop code. 2009-07-27 17:20:29 -07:00
Greg Farnum
a41c762fcb Hadoop: hadoopcephfs is now self-contained instead of requiring other libs. 2009-07-27 17:20:29 -07:00
Greg Farnum
2a36c63b85 uclient/libceph: add a getcwd function 2009-07-27 17:20:29 -07:00
Sage Weil
b92d2cbefb kclient: replace osdc request_tree with rbtree
This avoids a possible memory allocation in writeout path.
2009-07-27 15:05:56 -07:00
Sage Weil
3699623be0 auth: remove ceph_client_ticket struct
Ticket is generally opaque to client anyway.
2009-07-27 14:12:33 -07:00
Sage Weil
aa2252a08c osd: generate primary backlog independent of master log
We may have the master log (i.e. know the correct pg state), but
still need a backlog to recover some peers.
2009-07-27 12:06:52 -07:00
Sage Weil
3ef549100b kclient: set mapping error on writepage error 2009-07-27 11:57:07 -07:00
Sage Weil
db90dcdd67 kclient: debugfs mounts on /sys/kernel/debug 2009-07-27 10:11:36 -07:00
Sage Weil
5f7581d223 Makefile: skip hadoop client if jni.h not present 2009-07-23 16:17:41 -07:00
Sage Weil
aca6d39d8a kclient: use a mempool for page vector in writepages 2009-07-23 12:50:34 -07:00
Sage Weil
f485e1e28a kclient: put writepages pagevec on the stack 2009-07-23 12:30:59 -07:00
Sage Weil
9a51ad3da2 debian: upload packages as sage 2009-07-23 11:50:36 -07:00