Ali Maredia
bf82c65e33
cmake: check_TESTPROGRAMS tests running
...
Make check working, accept rocksdb tests. Clean up coming.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:30 -04:00
Ali Maredia
6e7fafc9d2
README.md: Add basic CMake instructions
...
README.md: Fixed spacing, trimmed cmake section
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:30 -04:00
Sage Weil
b74fd6fc75
Merge pull request #5792 from ceph/wip-vstart-rgw
...
vstart: add -c argument to radosgw-admin commands
Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-03 11:03:26 -04:00
Casey Bodley
d506bf1475
vstart: add -c argument to radosgw-admin commands
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-09-03 10:52:24 -04:00
Nathan Cutler
e54f89677d
ceph.spec.in: drop redundant centos from conditionals
...
Since the %{rhel} macro is guaranteed to be defined on all CentOS
installations, the %{centos} macro is superfluous.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 16:32:08 +02:00
Nathan Cutler
75f2a98321
ceph.spec.in: clean up suse_version conditionals
...
Use 0%{?suse_version} throughout for consistency.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 16:32:04 +02:00
Nathan Cutler
929ca5b6ad
ceph.spec.in: drop lsb-release dependency from ceph-common
...
It was there as an equivalent of redhat-lsb-core, but the redhat-lsb-core bits
that ceph-common relies on are included in insserv-compat on SUSE, and
insserv-compat is in base.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 16:16:30 +02:00
John Spray
d8f21d88de
Merge pull request #5590 from majianpeng/mds
...
Mds: add osdmap epoch for setxattr.
Reviewed-by: John Spray <john.spray@redhat.com>
2015-09-03 10:35:06 +01:00
Vikhyat Umrao
f65267c96c
rgw : setting max number of buckets for users via ceph.conf option
...
This patch adds a new option "rgw_user_max_buckets" for setting
max number of buckets for users via ceph.conf.
Fixes #12714
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-09-03 12:05:54 +05:30
Yehuda Sadeh
3626db4f2f
rgw: don't copy delete_at attr, unless it's intra region copy
...
We don't want to keep the expiration value of a copied object, unless
we're doing a copy within the same zone group.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-02 17:56:07 -07:00
Yehuda Sadeh
a69a989feb
rgw: objexp shards index by key
...
Not by time. This should provide better concurrency.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-02 17:30:45 -07:00
Yehuda Sadeh
fa347d8f69
rgw: delete-at and delete-after also on obj put / copy
...
And potentially later we could use also the S3 api, so it
could work with multipart upload, and POST obj.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-02 17:30:44 -07:00
Sage Weil
8b6208377f
Merge pull request #5775 from dachary/wip-do-autogen
...
tools: fix do_autogen.sh -R
2015-09-02 11:38:25 -04:00
Sage Weil
f161257a75
Merge pull request #5712 from yuyuyu101/wip-12801
...
Mon: Make ceph osd metadata support dump all osds
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-09-02 10:15:44 -04:00
Loic Dachary
6d80ff1354
tools: fix do_autogen.sh -R
...
The R letter was missing from the getopts flags. Also sort the flags
alphabetically to make it easier to spot that kind of lossage.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 16:03:15 +02:00
Kefu Chai
c938d1f95e
rocksdb: fix 32-bit build
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 21:01:57 +08:00
Loic Dachary
3b16b91612
Merge pull request #5752 from wonzhq/doc-write-recency
...
doc: add the doc for min_write_recency_for_promote
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 12:05:52 +02:00
Kefu Chai
67f5f52177
memstore: fix the build on i386
...
on i386, uint64 is `unsigned long long`, while size_t is `unsigned int`.
std::min(uint64, size_t) can not be resolved.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 17:23:22 +08:00
Yan, Zheng
81f5b7a58c
Merge pull request #5739 from ceph/wip-12776
...
mds: fix shutdown while in standby
2015-09-02 14:38:30 +08:00
Zhiqiang Wang
89aacaf699
doc: add the doc for min_write_recency_for_promote
...
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-09-02 14:00:40 +08:00
Loic Dachary
4ea3b1a4f0
Merge pull request #5736 from tianshan/wip-12864
...
rados: make 'rados bench' support json format output
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 07:19:19 +02:00
Loic Dachary
31d68f1278
Merge pull request #5748 from liewegas/wip-warnings
...
fix newstore warning
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 07:16:48 +02:00
Sage Weil
b199c492b0
ceph-osd-prestart.sh: fix osd data dir ownership check
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 21:51:47 -04:00
Haomai Wang
f6a458c56b
Merge pull request #5749 from liewegas/wip-async-ms
...
msg/async: log tx/rx at level 1
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
2015-09-02 09:34:32 +08:00
Sage Weil
023c517509
vstart.sh: enable all experimental features for vstart
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 21:15:20 -04:00
Sage Weil
3a41ef4e32
ms/async: log message tx/rx at level 1
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 21:15:07 -04:00
Loic Dachary
e8ba262723
Merge pull request #5722 from cxwshawn/vs-fix
...
vstart.sh: add --mon_num --osd_num --mds_num --rgw_port option
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 02:11:20 +02:00
Loic Dachary
adf3a9e3df
Merge pull request #5693 from tchaikov/wip-12730
...
common/SubProcess: silence compiler warnings
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 02:05:27 +02:00
Loic Dachary
385cb96b8a
Merge pull request #5643 from dreamhost/wip-make-check-makeopt
...
make-check: support MAKEOPTS overrides.
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 01:56:01 +02:00
Loic Dachary
ede98fea66
Merge pull request #5299 from hjwsm1989/pgmonitor-const
...
mon: added const to dump_* functions in PGMonitor
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 01:03:14 +02:00
Loic Dachary
4d23d794b0
Merge pull request #5156 from rubenk/fix-indentation
...
Fix indentation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 00:51:58 +02:00
Loic Dachary
5ecf3b06cd
Merge pull request #5275 from tchaikov/wip-12287
...
pybind/ceph_argparse: do not choke on non-ascii prefix
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 00:49:23 +02:00
Loic Dachary
539acac876
Merge pull request #5702 from Sandy4999/wip-doc-sandy
...
doc:radosgw: correct typos of the command removing a subuser
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-09-01 23:57:53 +02:00
Sage Weil
7492c55971
Merge pull request #5747 from ceph/wip-user
...
fix ceph-disk
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-01 16:11:21 -04:00
Loic Dachary
b477fabe97
Merge pull request #5742 from dachary/wip-user
...
tests: ceph-disk: dmcrypt simplification
Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-01 21:15:21 +02:00
Loic Dachary
8209800e2b
Merge pull request #5746 from ceph/wip-fix-doc-build
...
doc: fix the code-block in ruby.rst
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-01 21:04:38 +02:00
Kefu Chai
cbe85ec126
doc: fix the code-block in ruby.rst
...
* and add the link to library homepage in the section titles
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 02:51:05 +08:00
Casey Bodley
7c00bf05db
cmake: update FUSE_INCLUDE_DIRS to match autoconf
...
client/fuse_ll.cc is now including <fuse.h> and <fuse_lowlevel.h>
instead of <fuse/fuse.h> and <fuse/fuse_lowlevel.h>, so we need to add
the fuse directory to the FUSE_INCLUDE_DIRS variable
using find_path() with just fuse.h was finding a /usr/include/fuse.h
instead of the one in /usr/include/fuse/. looking for fuse_common.h and
fuse_lowlevel.h first causes it to generate the correct
FUSE_INCLUDE_DIRS=/usr/include/fuse
Fixes : #12909
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-09-01 14:11:03 -04:00
Sage Weil
c13bb7aa48
os/newstore: fix swarning
...
os/newstore/NewStore.cc: In member function 'int NewStore::_zero(NewStore::TransContext*, NewStore::CollectionRef&, const ghobject_t&, uint64_t, size_t)':
os/newstore/NewStore.cc:3693:32: warning: ignoring return value of 'int ftruncate(int, __off64_t)', declared with attribute warn_unused_result [-Wunused-result]
::ftruncate(fd, f.length);
^
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:59:40 -04:00
Sage Weil
37462359a3
Merge pull request #5578 from ceph/wip-newstore
...
osd: newstore (experimental)
2015-09-01 13:48:06 -04:00
Sage Weil
b7c5bd12b4
ceph_test_keyvaluedb: add simple commit latency benchmark
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
05d79b66cf
os/newstore: update todo
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
eab4d53b74
do_autogen.sh: build static rocksdb by default
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
caf28fe9a5
rocksdb: update alt dist rule
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
9d1582d71f
ceph_test_objectstore: make OMapIterator test work with FileStore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
1fa2ef2347
ceph_test_objectstore: enable newstore tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
9050486306
rocksdb: update to 3.11.2
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
0d463ffdec
os/RocksDBStore: make other rmkey match
...
No need for Slice() here; it can take a string.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:44 -04:00
Sage Weil
d6b0e53c54
os/RocksDBStore: fix rmkey()
...
This took way too long to debug!
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:43 -04:00
Sage Weil
522f8509ad
ceph_test_keyvaluedb: some simple KeyValueDB unit tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 13:39:43 -04:00