Sage Weil
0cdc9684f4
osd: some ObjectContext changes
2009-05-21 12:35:26 -07:00
Sage Weil
ced9929bff
osd: don't look at snapid if may_write().. it's not defined (see snapc!)
2009-05-21 12:34:17 -07:00
Sage Weil
9fc4da8062
osd: fix pg locking in handle_op
2009-05-21 12:34:16 -07:00
Yehuda Sadeh
94d5f1eeb5
class: remove default test class
2009-05-21 11:03:48 -07:00
Yehuda Sadeh
62c409ed49
class: osd specifies class version when fetching class
2009-05-21 11:03:48 -07:00
Sage Weil
0602e555ee
osd: ProjectedObject -> ObjectContext; object access mode state notes
2009-05-21 09:52:24 -07:00
Sage Weil
48801c14eb
osd: reorg handle_op; turn off preprocess_op
...
None of the preprocess stuff is working at the moment.. just skip it all
for now.
2009-05-21 07:52:13 -07:00
Yehuda Sadeh
83cdb0ec8e
class: fix a class version issue
2009-05-20 16:26:37 -07:00
Yehuda Sadeh
99c4fcf7b4
class: string class version can be specified
2009-05-20 16:00:03 -07:00
Yehuda Sadeh
33d5b98ed1
rados: add 'remove' operation
2009-05-20 14:13:43 -07:00
Yehuda Sadeh
67baf00dc2
rados: supply a C++ api
2009-05-20 13:36:12 -07:00
Yehuda Sadeh
6e12a89ece
class: don't return nonexisting method
2009-05-20 13:36:12 -07:00
Sage Weil
b8228b35d7
osd: describe osd ops as READ, WRITE, or READ|WRITE
...
An op is either a pure read (read, stat), a pure (blind) write (write
extent, delete), or read+write (e.g., read/modify/write).
Writes with read portions that are captured by ProjectedObjectInfo (size,
truncate attr) can pretend to be purely write (as they are now).
2009-05-20 12:10:12 -07:00
Sage Weil
e039780a84
objecter: kill inc_locks.
...
These aren't needed or used since there is a generic blacklist mechanism
in the osdmap (that is simpler and more robust).
2009-05-20 11:48:32 -07:00
Sage Weil
9a37e17cfa
osd: add WriteOpContext; some refactoring
...
Push as much write state into the WriteOpContext as possible; use
RepGather only for addition items necessary for the op replication.
2009-05-20 09:52:49 -07:00
Sage Weil
34e0906bd0
osd: push all the read state into OpContext
...
Instead of referencing items on the stack, put everything important
directly in the OpContext.
2009-05-19 20:57:38 -07:00
Sage Weil
dbe0e3bc29
librados: don't care about mds messages
2009-05-19 16:56:17 -07:00
Sage Weil
f9bdfab03c
librados: use generic C_SafeCond and wait safely for acks
2009-05-19 16:55:25 -07:00
Sage Weil
13f1998eb2
class: fix warning
2009-05-19 16:41:42 -07:00
Yehuda Sadeh
85f5609bcd
osd: return immediately after -EAGAIN
2009-05-19 16:34:38 -07:00
Yehuda Sadeh
2969e84da5
osd: don't free message on EAGAIN after get_class
2009-05-19 16:25:13 -07:00
Yehuda Sadeh
8b4b822416
librados: keep bufferlist on the stack
2009-05-19 16:01:58 -07:00
Yehuda Sadeh
faa61bd632
class: pass context to method execution
2009-05-19 16:01:58 -07:00
Yehuda Sadeh
20e3d3229f
osd: some interface change in do_read_ops, uses context
2009-05-19 16:01:58 -07:00
Sage Weil
d0bac06fa9
rados: look up pool by name
2009-05-19 15:43:38 -07:00
Sage Weil
00d9174207
kclient: import into fs/staging
2009-05-19 15:43:38 -07:00
Sage Weil
15dec9c505
makefile: remove unneeded libtestclass_so_SOURCES
2009-05-19 15:43:38 -07:00
Sage Weil
36f70f463b
header comments
2009-05-19 15:43:38 -07:00
Yehuda Sadeh
b5669030bf
osd: get rid of the grep op
2009-05-19 14:04:58 -07:00
Yehuda Sadeh
a05f6efc7e
class: able to list loaded classes on the monitor
2009-05-19 14:04:58 -07:00
Sage Weil
49d6e404a2
Merge branch 'unstable' into rados
...
Conflicts:
src/client/SyntheticClient.cc
src/kernel/bookkeeper.h
src/osd/ReplicatedPG.cc
src/osdc/Filer.cc
src/osdc/Objecter.h
2009-05-19 13:20:14 -07:00
Sage Weil
284161c00a
kclient: kill dput/d_drop debug cruft
2009-05-19 12:43:04 -07:00
Sage Weil
ba73ac8cd2
kclient: remove bookkeeper
2009-05-19 12:26:12 -07:00
Sage Weil
e3efa401f6
kclient: fix kbuild.patch for 2.6.30
2009-05-19 11:23:35 -07:00
Sage Weil
de954bf481
changelog
2009-05-19 11:17:11 -07:00
Sage Weil
8ec32b2dfe
osd: factor out do_read_ops helper
2009-05-19 10:29:12 -07:00
Sage Weil
ee4c55c660
todo'd
2009-05-19 10:18:29 -07:00
Sage Weil
82031ad9e0
initscript: fix instance check
2009-05-19 10:18:16 -07:00
Sage Weil
ddfb2d760e
mon: send mount error to client on EPERM or protocol version mismatch
2009-05-19 09:58:15 -07:00
Sage Weil
01512cd1a3
kclient: fix mount err reporting
...
No more delay
2009-05-19 09:57:53 -07:00
Sage Weil
d302207aec
osd: handle errors on rdcall
2009-05-18 18:40:44 -07:00
Sage Weil
2e03c11275
filer: make probe recover size and/or mtime; fix some bugs
...
This fixes up MDS recovery to find the file size. And makes
probe actually work.. it was pretty broken before.
2009-05-18 16:52:30 -07:00
Sage Weil
3b6db0d6f0
osd: cleanly implement OSD_OP_STAT
...
Put stat result (size AND mtime) in read result bufferlist.
2009-05-18 16:52:26 -07:00
Yehuda Sadeh
31adbd9a4a
kclient: fix compilation error
2009-05-18 15:54:13 -07:00
Yehuda Sadeh
8def9d32f6
Merge branch 'rados' of ssh://ceph.newdream.net/git/ceph into rados
...
Conflicts:
src/kernel/bookkeeper.h
2009-05-18 15:51:36 -07:00
Yehuda Sadeh
bdc16c8da5
class: end to end method execution
2009-05-18 15:49:27 -07:00
Sage Weil
b064ed3598
uclient: fix missing cap behavior
...
Ignore cap messages if we don't have the inode or cap.
2009-05-18 14:48:54 -07:00
Sage Weil
78cbaf37ca
Merge branch 'unstable' into rados
...
Conflicts:
src/include/ceph_fs.h
src/kernel/bookkeeper.h
2009-05-18 13:27:37 -07:00
Sage Weil
507cd9a8c2
kclient: style fixes
2009-05-18 13:22:03 -07:00
Sage Weil
bd5319bac8
kclient: strip trailing whitespace
2009-05-18 13:21:58 -07:00