summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* crush: don't try to share #include sections with kernelhistoric/wip-crush-pushpopSage Weil2011-09-062-28/+13
| | | | | | | This is already out of sync, and it's easy enough to no merge it while keeping the rest of the .c in sync. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* crush: add PUSHOP feature bitSage Weil2011-09-062-0/+23
| | | | | | | Set the PUSHPOP feature bit while encoding if we use any of the new PUSH/POP/SHIFT/UNSHIF rule ops. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* crush: replace magic with encoding version and feature bitsSage Weil2011-09-063-8/+15
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* crush: push/pop/shift/unshiftSage Weil2011-09-062-0/+78
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* crush: cleanup using temp varSage Weil2011-09-061-7/+9
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* rgw: fix arg parsingYehuda Sadeh2011-09-061-2/+2
|
* rbd: fix command option parsing, honor --Colin Patrick McCabe2011-09-061-54/+63
| | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
* cephtool: add --concise option againJosh Durgin2011-09-061-0/+2
| | | | | | This was accidentally removed in the arg parsing conversion. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* rgw: prepare for supporting other meta headersYehuda Sadeh2011-09-062-41/+53
|
* osdmaptool: fix typo in argumentJosh Durgin2011-09-061-1/+1
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* doc: Note that mkcephfs can't do upgrades etc.Tommi Virtanen2011-09-061-0/+7
| | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* doc: mkcephfs ssh's directly as root@Tommi Virtanen2011-09-061-0/+2
| | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* mkcephfs: Config $user is irrelevant when we want to run as root.Tommi Virtanen2011-09-061-6/+1
| | | | | | | It used to just not sudo if $user was empty, on non-ssh do_root_cmd's. This bug was exposed by commit 47b09e2f0463f6a5ea8cc8e127b012a0cf1ec4af. Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* Merge branch 'wip-argparse'Colin Patrick McCabe2011-09-0619-657/+750
|\ | | | | | | | | Conflicts: src/rgw/rgw_admin.cc
| * ceph_argparse: remove unused macros, functionsColin Patrick McCabe2011-09-062-156/+0
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * cfuse: use new-style argument parsing stuffColin Patrick McCabe2011-09-061-9/+7
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * cmon: use new argument parsing stuffColin Patrick McCabe2011-09-061-15/+24
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * cosd.cc: use new argument parsing functionsColin Patrick McCabe2011-09-061-14/+23
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * crushtool: use new argument parsing stuffColin Patrick McCabe2011-09-061-83/+150
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * rgw_admin: use new argument parsing stuffColin Patrick McCabe2011-09-061-133/+130
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * rbd.cc: use new argument parsing stuffColin Patrick McCabe2011-09-061-32/+44
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * Add ceph_argparse_withlonglongColin Patrick McCabe2011-09-062-0/+26
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * monmaptool, osdmaptool: fix double-dash handlingColin Patrick McCabe2011-09-064-14/+27
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * monmaptool: use new argument parsing stuffColin Patrick McCabe2011-09-061-29/+30
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * cmds: remove unused macroColin Patrick McCabe2011-09-061-1/+0
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * TestSignalHandlers: use new argument parsing stuffColin Patrick McCabe2011-09-061-41/+23
| | | | | | | | | | | | Use new argument parsing stuff, remove some deadcode, cleanup. Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * osdmaptool: use new ceph_argparse stuffColin Patrick McCabe2011-09-061-54/+69
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * ceph_argparse: add ceph_argparse_withintColin Patrick McCabe2011-09-063-13/+129
| | | | | | | | | | | | | | Add an easy way of parsing an int argument. Always match va_start with va_end. Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * rados.cc: remove unused macroColin Patrick McCabe2011-09-061-1/+0
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * librados-config: remove unused old-style argparseColin Patrick McCabe2011-09-061-4/+0
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * cauthtool: convert to new-style arg parsingColin Patrick McCabe2011-09-061-55/+66
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * gceph tool: convert to new-style arg parsingColin Patrick McCabe2011-09-061-11/+10
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
| * ceph tool: convert to new-style arg parsingColin Patrick McCabe2011-08-311-42/+32
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
* | ceph tool: convert to new-style arg parsingColin Patrick McCabe2011-09-061-42/+32
| | | | | | | | Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
* | rgw: set perm_mask for swift operationsYehuda Sadeh2011-09-062-1/+6
| |
* | rgw: fix update_container_stats()Yehuda Sadeh2011-09-061-4/+6
| | | | | | | | being used when using swift
* | doc: Explicitly say ceph.conf host= must not include domain name.Tommi Virtanen2011-09-061-1/+1
| | | | | | | | | | | | Hopefully this will work some day, but it doesn't right now. Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | mkcephfs: cosd and cmon setup must happen as root.Tommi Virtanen2011-09-061-2/+2
| | | | | | | | | | | | | | Without this, they cannot e.g. write to /var/log, or probably even to their data directories. Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | doc: Document mkcephfs-style installation.Tommi Virtanen2011-09-064-20/+145
| | | | | | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | man: mkcephfs: Typo.Tommi Virtanen2011-09-061-1/+1
| | | | | | | | Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
* | FileStore: close correct fd in version_stamp methodsSamuel Just2011-09-061-2/+2
| | | | | | | | | | | | | | version_stamp_is_valid and write_version_stamp previously closed op_fd rather than fd causing write_op_sep to fail in sync_entry. Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
* | FileStore: check write_op_seq return code during sync_entrySamuel Just2011-09-061-1/+5
| | | | | | | | Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
* | ReplicatedPG: use the client_messenger for OSD Op repliesGreg Farnum2011-09-041-1/+2
| | | | | | | | | | | | | | | | | | We were erroneously using the cluster_messenger instead -- looks like the initial conversion just went wrong since this is in the repop handling code. Reported-by: Huang Jin <hjwsm1989@gmail.com> Signed-off-by: Greg Farnum <gregory.farnum@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
|\ \