Commit Graph

7926 Commits

Author SHA1 Message Date
Sage Weil
a46441c1d4 mds: shut up cap sanity check 2009-08-18 14:59:20 -07:00
Sage Weil
81a8fe8316 kclient: use reference counted ceph_buffer for xattr blob, msg middle 2009-08-18 14:59:06 -07:00
Sage Weil
b2bf914cc5 fix client caps encoding 2009-08-18 13:36:30 -07:00
Greg Farnum
85d893c5f5 uclient/hadoop: Implement lstat_precise.
libceph: Some functions were getting C bindings where it
didn't make sense (having string parameters. Fixed now.
2009-08-18 13:31:25 -07:00
Greg Farnum
c398b0e9f8 uClient: Whoops, apparently I thought stat's atime was in millis, but it's in seconds. 2009-08-18 12:52:51 -07:00
Sage Weil
e87b7e7b8f msgr: handle 'middle' section of message 2009-08-18 12:16:42 -07:00
Greg Farnum
a7756e3b7f Hadoop: What's with all these unused variables? 2009-08-18 10:44:37 -07:00
Greg Farnum
bca0fbac2d Hadoop: Javadoc and cleanup in CephInput/OutputStream. 2009-08-18 08:41:40 -07:00
Greg Farnum
fea91de212 Hadoop: Javadoc and cleanup in CephInputStream. 2009-08-17 17:16:14 -07:00
Sage Weil
50d72f3322 kclient: alloc 'middle' section of messages via callback 2009-08-17 16:51:13 -07:00
Sage Weil
3279ac888b kclient: fix up msgpool some 2009-08-17 16:50:45 -07:00
Greg Farnum
7dca3af80c uclient: A Sage-given fix for something Sage broke. 2009-08-17 15:56:04 -07:00
Sage Weil
4d81290e63 msgr: add 'middle' section to msgs 2009-08-17 14:57:42 -07:00
Sage Weil
40aa35369b kclient: use msgpools for some messages 2009-08-17 13:36:15 -07:00
Greg Farnum
4a0767202d Hadoop: cleanup compile bugs from previous cleanup work. 2009-08-17 12:38:00 -07:00
Sage Weil
8fff74019f kclient: add msgpools 2009-08-17 12:36:47 -07:00
Greg Farnum
4d0589f392 Hadoop: Remove an exists call by checking return codes on mkdirs 2009-08-17 12:21:14 -07:00
Greg Farnum
59db5df122 Hadoop: Remove references to uid and gid. 2009-08-17 12:21:14 -07:00
Greg Farnum
3b4c423f58 Hadoop: Remove unused getLength and supporting C stuff. 2009-08-17 12:21:14 -07:00
Greg Farnum
c03b1f8e26 Hadoop: uses the new stat_precise. 2009-08-17 12:21:14 -07:00
Greg Farnum
0caab94641 uclient/libceph: setattr and _setattr now use a stat_precise struct
that handles both seconds and microseconds.
stat_precise has a stat_precise(struct stat) constructor.
ll_setattr still uses struct stat.
2009-08-17 12:21:14 -07:00
Greg Farnum
d66b0a8401 testceph: Clarify use of endl so it's non-ambiguous when the includes change. 2009-08-17 12:21:14 -07:00
Greg Farnum
abf2fc47f6 Hadoop: More Javadoc, indentation fixes, etc. 2009-08-17 12:21:13 -07:00
Greg Farnum
20bd315892 Hadoop: Convert bytes to kb in statfs 2009-08-17 12:21:13 -07:00
Greg Farnum
ad46d4759c Hadoop: Javadoc and consistency. 2009-08-17 12:21:13 -07:00
Greg Farnum
dbfdcc1473 Hadoop: Adds the getStatus method introduced by Hadoop .21;
currently commented out since it doesn't compile in .20, but it's tested.
2009-08-17 12:21:13 -07:00
Sage Weil
cfd3d87a31 kclient: zero pages we did readahead on
If we get -ENOENT or a short read on readahead, we should still
zero the pages and add them to the page cache, to avoid a future
readpage on each one.
2009-08-14 14:37:49 -07:00
Sage Weil
0f33aa4d3e kclient: zero page on ->readpage() ENOENT 2009-08-14 14:37:49 -07:00
Sage Weil
f972f0dcf6 kclient: fix bad up_read(snap_rwsem) on readpage failure in write_begin 2009-08-14 14:37:49 -07:00
Sage Weil
b362024a70 mount.ceph: key -> secret 2009-08-14 14:37:49 -07:00
Sage Weil
821d9ef76d kclient: kill unused unsafe_writeback option 2009-08-14 14:37:47 -07:00
Sage Weil
6809650405 kclient: fix up snapdirname, secret mount options 2009-08-14 12:32:29 -07:00
Sage Weil
cd0fae2ed7 mount: translate keyfile=file to key=thekey
By reading the first line from the file.
2009-08-14 12:10:09 -07:00
Sage Weil
dc31490da6 todo 2009-08-14 11:57:19 -07:00
Sage Weil
9462ba5b5f mds: keep precalculated _issued instead of recalcing each time 2009-08-14 11:09:10 -07:00
Sage Weil
35bac67a60 mds: rewrite Capability issue/revoke tracking
Use a list.  Track everything.  Be smart about trimming the list.
2009-08-14 10:56:39 -07:00
Sage Weil
dae6eaebe7 kclient: set issue_seq in revoke ack 2009-08-14 10:56:11 -07:00
Sage Weil
58483919cf todo 2009-08-13 16:51:06 -07:00
Sage Weil
0836ba2af9 uclient: clean up write path a bit; better max_size handling 2009-08-13 16:50:59 -07:00
Sage Weil
7ce833c8de kclient: check size on llseek(..., SEEK_END) 2009-08-13 15:45:03 -07:00
Sage Weil
4ddb70ea52 uclient: check size on lseek(..., SEEK_END) 2009-08-13 15:45:01 -07:00
Sage Weil
762b56e24c uclient: remove dead code 2009-08-13 15:38:24 -07:00
Sage Weil
2c2ee44e3f todo 2009-08-13 15:33:51 -07:00
Sage Weil
f021e18a76 uclient: handle short sync reads vs eof 2009-08-13 15:30:27 -07:00
Sage Weil
772d49e744 osd: reorder snapc setup and ORDERSNAP check 2009-08-13 15:30:27 -07:00
Yehuda Sadeh
afc5da56a0 radosgw: remove unneeded INT_MAX 2009-08-13 15:28:42 -07:00
Yehuda Sadeh
897745318f radosgw: list objects in chunks 2009-08-13 15:05:26 -07:00
Sage Weil
85f89c55a8 kclient: zero tail of page in readpage, readpages after short read
ceph_osdc_readpages isn't zeroing for us anymore (as of commit
23b81b9082).
2009-08-13 13:41:24 -07:00
Sage Weil
8f95ec304b kclient: check EOF on sync read to do short result when appropriate
We only want to return a short read if we read the end of file.
Otherwise, a short object read means we hit a hole and need to
zero-fill.
2009-08-13 13:38:04 -07:00
Sage Weil
6a78671cd3 configure: fix --with-radosgw 2009-08-13 11:23:54 -07:00