Samuel Just
9956e52eaf
OSD: fix hobject_t construction
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:36 -07:00
Samuel Just
bdb3abee48
ReplicatedPG: Update hobject_t construction
...
hobject_t now must be supplied with a key during construction.
Also, get_snapset_context must be supplied with the locator key.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:36 -07:00
Samuel Just
613f11199f
store_test: fix hobject_t construction
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:36 -07:00
Samuel Just
a04b15cfdc
object.h: Update hobject_t to include object locator key
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:32 -07:00
Yehuda Sadeh
ba7ab2f64b
rgw: rename openstack to swift
2011-09-02 14:56:50 -07:00
Yehuda Sadeh
969c67aa4c
rgw: s/OPENSTACK/SWIFT/g
2011-09-02 14:37:10 -07:00
Greg Farnum
2982f6768c
Merge branch 'wip-flock'
2011-09-02 14:04:41 -07:00
Yehuda Sadeh
8b9ca2a540
rados tool: fix rados df formatting
2011-09-02 14:21:11 -07:00
Yehuda Sadeh
b30e1577b5
rgw: catch buffer::error exceptions thrown at decode
2011-09-02 13:26:21 -07:00
Greg Farnum
22cc333c77
mds: flock: remove auto-insertion of waiting locks.
...
I don't remember precisely why I had the locking do this (maybe
just for self-containment), but with the messages being re-processed
anyway it's just redundant, and was leading to lots of erroneous
EINTR results.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-02 13:11:24 -07:00
Yehuda Sadeh
327d0ddfff
rgw: user info dumps json/xml
2011-09-02 12:48:41 -07:00
Tommi Virtanen
62f3c460d6
doc: Deb install should work now.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-02 12:35:58 -07:00
Tommi Virtanen
39b0354a7d
doc: Write about deb installation.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-02 12:34:05 -07:00
Yehuda Sadeh
6506d43cbc
rgw: log of nonexsistent bucket config option
2011-09-02 12:18:43 -07:00
Sage Weil
2641eb395d
qa: test false
2011-09-02 10:51:55 -07:00
Greg Farnum
d6df086fd3
mds: flock: tidy up comments
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-02 09:27:41 -07:00
Greg Farnum
1d5cf7315e
flock: move implementation into a separate c++ file
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-01 17:10:50 -07:00
Samuel Just
e8b12d80b5
OSD: Fix flipped error codes in do_convertfs
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-01 16:33:58 -07:00
Yehuda Sadeh
d0eed62418
rgw: poll allocation thread
2011-09-01 16:00:39 -07:00
Yehuda Sadeh
7f640a9256
rgw: user removal delets user index last
...
and also stop if failed to remove anything, so that
we're not left out with partial user info scattered around.
2011-09-01 13:58:34 -07:00
Yehuda Sadeh
2aad7c2028
rgw: multipart meta object uses tmap
2011-09-01 13:38:19 -07:00
Tommi Virtanen
e09d4a9602
doc: Architecture, placeholder in install, and first appendix.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-01 13:28:12 -07:00
Tommi Virtanen
0a14c75b1a
doc: Make object store diagram fit in 1024 pix wide browser.
...
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-01 13:28:12 -07:00
Tommi Virtanen
66ee58f691
doc: Move internals into a new section, /dev.
...
Most of the doc is user-oriented, let's isolate internals more.
Split into multiple files. Clean up RST.
Use Sphinx's graphviz plugin for graphs.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-01 13:28:12 -07:00
Sage Weil
c8c205fa73
objectcacher: write vs truncate races are ok
...
It is possible to write a buffer, truncate it away, and then not have it
when we get the commit.
Fixes : #1467
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-01 13:15:21 -07:00
Sage Weil
b2c762becc
mds: truncate sanity checks
...
Hunting #1472 .
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-01 13:15:21 -07:00
Yehuda Sadeh
4fa62d5e02
rgw: configurable thread pool size
2011-09-01 11:39:59 -07:00
Sage Weil
bcf9cb7894
cfuse: initialize Fh to NULL
...
Avoid debugging confusion.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-01 11:23:49 -07:00
Sage Weil
886440d3c3
client: clean up _{create,release}_fh
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-01 11:23:49 -07:00
Sage Weil
b71f3bc756
mon: fix 'osd create ...' error paths
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-09-01 11:01:01 -07:00
Sage Weil
a8ab69ab20
librbd: cosmetic changes to progress stuff
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-01 09:43:50 -07:00
Colin Patrick McCabe
2255a9a107
Finishing moving src/doc/object_store.dot to doc/
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-31 18:11:17 -07:00
Colin Patrick McCabe
2e63eace85
Add object store architecture overview picture
...
It requires graphviz / dot to be installed. It generates a nice graph
of the dependencies between classes in the object store.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-31 18:09:52 -07:00
Colin Patrick McCabe
7293537d64
ceph tool: convert to new-style arg parsing
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-31 17:51:43 -07:00
Colin Patrick McCabe
d9eacb6104
Merge branch 'wip-librbd-async-copy'
2011-08-31 17:34:06 -07:00
Sage Weil
9ff3505751
qa: add multiple_rsync.sh workunit
...
For #1318
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 17:41:12 -07:00
Sage Weil
82776e155a
osd: one more flush before collection_list
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 16:56:33 -07:00
Greg Farnum
f3325e65ca
mds flock: make get_overlapping_locks and share_space handle 0 lengths
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-31 16:21:31 -07:00
Sage Weil
f1cae577e3
osd: flush previous operations to fs before collection list + destroy
...
We need to flush any prior ops to the fs before we can rely on
collection_list to return all the objects we need to delete. If we miss
any, we will crash shortly after this when the rmdir(2) fails with
-ENOTEMPTY (as with #1471 ).
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 16:24:39 -07:00
Sage Weil
d5197893d6
osd: whitespace
2011-08-31 16:24:39 -07:00
Colin Patrick McCabe
5bcea24d69
architecture.rst: describe debug logs, cephcontext
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-31 16:08:42 -07:00
Samuel Just
600bc8fda0
MOSDSubOpReply/MSDSubOp: No need to update encoding version.
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-08-31 16:10:01 -07:00
Samuel Just
bcef985deb
FlatIndex: lfn_get needs to set *exist for short filenames
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-08-31 14:59:07 -07:00
Samuel Just
00e0b77e8b
OSD: Fix encoding versions affected by hobject switch
...
PG log did not previously store the object locator. To get the hash for
the hobject, scan the collection for the object during read_log if we
encouter an old style log entry.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-08-31 14:48:07 -07:00
Colin Patrick McCabe
9a26100fc7
librbd: improve copy_with_progress
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-31 12:29:48 -07:00
Josh Durgin
39fa9d8deb
Merge remote branch 'origin/wip-scrub-oi-size'
2011-08-31 11:58:15 -07:00
Sage Weil
d08c7843d7
Makefile: os/CollectionIndex.h
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 10:08:11 -07:00
Sage Weil
47a8063556
assert: work around libatomic_ops vs assert in a less lame way
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 10:05:09 -07:00
Sage Weil
5b7f9786a0
filestore: reorder includes
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 10:00:51 -07:00
Sage Weil
cf862c65fd
assert: use our assert
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 10:00:51 -07:00