Sage Weil
bd4a247590
Makefile: flock.h!
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-09-02 20:24:00 -07:00
Samuel Just
2a10fba72e
cosd: Do filestore conversion after common_init_finish
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 18:03:02 -07:00
Yehuda Sadeh
78d13e49d6
rgw: fix include
2011-09-02 17:11:08 -07:00
Samuel Just
c856a40f7c
LFNIndex: Fix lfn parsing for hobjects with keys
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 17:08:29 -07:00
Samuel Just
524b0d022d
Merge branch 'hobject_change'
2011-09-02 16:03:16 -07:00
Yehuda Sadeh
b1b18084b0
rgw: rename source file
2011-09-02 15:59:35 -07:00
Yehuda Sadeh
50d667e57b
rgw: some var names cleanup
2011-09-02 15:58:49 -07:00
Samuel Just
c16f2603aa
LFNIndex: include index_version in the lfn attribute name
...
While updating, we use hard links to populate the new directory. We
need to change the lfn attribute to allow unlinking from the old
directory to continue to work.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:39:14 -07:00
Yehuda Sadeh
0f648c6fc9
rgw: fix parameter passing to swift user creation
2011-09-02 15:13:14 -07:00
Samuel Just
8be7f04362
PG: Also fix the key when fixing an incomplete log event
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:36 -07:00
Samuel Just
88d73eee23
LFNIndex: Add support generating keyed hobject_t filenames
...
LFNIndex will now include the key in the filename.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:36 -07:00
Samuel Just
3b8614a818
FileStore,LFNIndex: Bump filestore version
...
Also adds mechanisms for LFNIndex to handle keyed and keyless hobject_t
versions.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-09-02 15:06:36 -07:00
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