summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mds: use inode_t::layout for dir layout policyhistoric/wip-mds-layoutSage Weil2011-09-039-158/+68
| | | | | | | | Remove the default_file_layout struct, which was just a ceph_file_layout, and store it in the inode_t. Rip out all the annoying code that put this on the heap. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* os/lfnindex: silence compiler warningsSage Weil2011-09-021-5/+5
| | | | | | gcc warns about the lack of a space before the ';'! Crazy. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* client: only flush imported cap if it is now authSage Weil2011-09-021-5/+7
| | | | | | | | | We can get a cap import that isn't auth if there was a racing import because the cap since migrated to another node. We do not want to flush the caps in that case. Not to this mds, certainly, and not even to another, because that would have happened when we got the other import. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* Makefile: flock.h!Sage Weil2011-09-021-0/+1
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* cosd: Do filestore conversion after common_init_finishSamuel Just2011-09-021-8/+14
| | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
* rgw: fix includeYehuda Sadeh2011-09-022-2/+2
|
* LFNIndex: Fix lfn parsing for hobjects with keysSamuel Just2011-09-021-1/+1
| | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
* Merge branch 'hobject_change'Samuel Just2011-09-0215-61/+272
|\
| * LFNIndex: include index_version in the lfn attribute nameSamuel Just2011-09-022-5/+24
| | | | | | | | | | | | | | | | 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>
| * PG: Also fix the key when fixing an incomplete log eventSamuel Just2011-09-022-1/+4
| | | | | | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
| * LFNIndex: Add support generating keyed hobject_t filenamesSamuel Just2011-09-021-6/+143
| | | | | | | | | | | | LFNIndex will now include the key in the filename. Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
| * FileStore,LFNIndex: Bump filestore versionSamuel Just2011-09-027-14/+45
| | | | | | | | | | | | | | Also adds mechanisms for LFNIndex to handle keyed and keyless hobject_t versions. Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
| * OSD: fix hobject_t constructionSamuel Just2011-09-021-1/+2
| | | | | | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
| * ReplicatedPG: Update hobject_t constructionSamuel Just2011-09-022-29/+40
| | | | | | | | | | | | | | 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>
| * store_test: fix hobject_t constructionSamuel Just2011-09-021-2/+2
| | | | | | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
| * object.h: Update hobject_t to include object locator keySamuel Just2011-09-022-7/+16
| | | | | | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
* | rgw: rename source fileYehuda Sadeh2011-09-023-2/+2
| |
* | rgw: some var names cleanupYehuda Sadeh2011-09-024-18/+18
| |
* | rgw: fix parameter passing to swift user creationYehuda Sadeh2011-09-021-2/+2
|/
* rgw: rename openstack to swiftYehuda Sadeh2011-09-0216-187/+187
|
* rgw: s/OPENSTACK/SWIFT/gYehuda Sadeh2011-09-026-20/+20
|
* Merge branch 'wip-flock'Greg Farnum2011-09-023-475/+557
|\
| * mds: flock: remove auto-insertion of waiting locks.Greg Farnum2011-09-021-27/+0
| | | | | | | | | | | | | | | | | | 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>
| * mds: flock: tidy up commentsGreg Farnum2011-09-021-8/+32
| | | | | | | | Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
| * flock: move implementation into a separate c++ fileGreg Farnum2011-09-013-467/+552
| | | | | | | | Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* | rados tool: fix rados df formattingYehuda Sadeh2011-09-021-0/+2
| |
* | rgw: catch buffer::error exceptions thrown at decodeYehuda Sadeh2011-09-029-29/+103
| |
* | rgw: user info dumps json/xmlYehuda Sadeh2011-09-022-29/+73
| |
* | doc: Deb install should work now.Tommi Virtanen2011-09-021-4/+0
| | | | | | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | doc: Write about deb installation.Tommi Virtanen2011-09-028-17/+394
| | | | | | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | rgw: log of nonexsistent bucket config optionYehuda Sadeh2011-09-023-3/+11
| |
* | qa: test falseSage Weil2011-09-021-0/+3
| |
* | OSD: Fix flipped error codes in do_convertfsSamuel Just2011-09-011-7/+5
| | | | | | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
* | rgw: poll allocation threadYehuda Sadeh2011-09-016-17/+104
| |
* | rgw: user removal delets user index lastYehuda Sadeh2011-09-011-18/+33
| | | | | | | | | | and also stop if failed to remove anything, so that we're not left out with partial user info scattered around.
* | rgw: multipart meta object uses tmapYehuda Sadeh2011-09-015-23/+24
| |
* | doc: Architecture, placeholder in install, and first appendix.Tommi Virtanen2011-09-015-16/+210
| | | | | | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | doc: Make object store diagram fit in 1024 pix wide browser.Tommi Virtanen2011-09-011-1/+1
| | | | | | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | doc: Move internals into a new section, /dev.Tommi Virtanen2011-09-0111-211/+227
| | | | | | | | | | | | | | | | | | | | 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>
* | objectcacher: write vs truncate races are okSage Weil2011-09-011-2/+2
| | | | | | | | | | | | | | | | 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>
* | mds: truncate sanity checksSage Weil2011-09-013-0/+7
| | | | | | | | | | | | Hunting #1472. Signed-off-by: Sage Weil <sage@newdream.net>
* | rgw: configurable thread pool sizeYehuda Sadeh2011-09-013-1/+3
| |
* | cfuse: initialize Fh to NULLSage Weil2011-09-011-2/+2
| | | | | | | | | | | | Avoid debugging confusion. Signed-off-by: Sage Weil <sage@newdream.net>
* | client: clean up _{create,release}_fhSage Weil2011-09-012-32/+29
| | | | | | | | Signed-off-by: Sage Weil <sage@newdream.net>
* | mon: fix 'osd create ...' error pathsSage Weil2011-09-011-5/+10
| | | | | | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* | librbd: cosmetic changes to progress stuffSage Weil2011-09-013-12/+11
| | | | | | | | Signed-off-by: Sage Weil <sage@newdream.net>
* | Finishing moving src/doc/object_store.dot to doc/Colin Patrick McCabe2011-08-311-61/+0
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
* | Add object store architecture overview pictureColin Patrick McCabe2011-08-314-0/+71
| | | | | | | | | | | | | | 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>
* | Merge branch 'wip-librbd-async-copy'Colin Patrick McCabe2011-08-315-12/+171
|\ \
| * | librbd: improve copy_with_progressColin Patrick McCabe2011-08-315-27/+107
| | | | | | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>