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
Sage Weil
2d47dcd212
mds: track caps we release in requests, and reissue on request cleanup if needed
...
We may suppress cap issue when we release caps in a request. A lock state
change may have changed the allowed caps and should normally have issued
caps, but we suppress that because the request will way to embed that
normally. When we cleanup the request, if we haven't issued on that cap
for some reason (maybe the request errored out, or forwarded, etc.), force
an issue then.
2009-08-12 17:08:15 -07:00
Sage Weil
5d9eb394c4
mds: do not suppress cap msg if it is a revocation
...
This can cause things to hang, because the mds is waiting for a revocation
ack that is never going to arrive.
In contrast, an issue can be suppressed if we know we are going to issue
to the client later.
2009-08-12 17:08:14 -07:00
Greg Farnum
62868a89a5
Hadoop: Added some checks for not-a-file paths;
...
changed what delete returns on not-a-file.
2009-08-12 13:33:24 -07:00
Greg Farnum
51186d63bd
uClient: move last_flush_tid into Inodes,
...
make kick_flushing_caps faster by overwriting tids.
2009-08-12 13:33:24 -07:00
Sage Weil
0d45c57cad
Makefile: include stop.sh in tarball
2009-08-11 16:29:01 -07:00
Sage Weil
a5b60b5157
todo
2009-08-11 16:22:11 -07:00
Sage Weil
a4bfaa6e0c
psim: ifdef out dead code
2009-08-11 16:14:41 -07:00
Sage Weil
ccf950ed0c
filestore: clean out old debug print
2009-08-11 16:09:52 -07:00
Sage Weil
f3ffaf4eca
uclient: avoid cap release delay on revoke
2009-08-11 15:43:07 -07:00
Sage Weil
25309a4820
rev ondisk versions
2009-08-11 15:24:40 -07:00
Sage Weil
8631573366
auth: add versioning to ClientTicket
2009-08-11 15:22:24 -07:00
Sage Weil
25df09b99d
kclient: print osdmap pgid info
2009-08-11 15:21:07 -07:00