Commit Graph

71547 Commits

Author SHA1 Message Date
John Spray
c2fb170586 Merge pull request #14652 from jcsp/wip-18816
mds: remove "mds log" config option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:46 +01:00
John Spray
1eb9438bc9 Merge pull request #14636 from jcsp/wip-19691
osdc: remove journaler_allow_split_entries option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:35 +01:00
John Spray
ca0b087b32 Merge pull request #14317 from ukernel/wip-19306
client: make seeky readdir more efficiency

Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:11:08 +01:00
John Spray
d0d3a4a02e Merge pull request #12935 from stiopaa1/17855_evictClient
mds/Server.cc: Don't evict a slow client if...

Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:10:01 +01:00
root
abca7a86c3 rgw: add a field to store generic user data in the bucket index,
that can populated/fetched via a configurable custom http header

Fixes: http://tracker.ceph.com/issues/19644
Signed-off-by: Pavan Rallabhandi <prallabhandi@walmartlabs.com>
2017-04-25 00:24:23 +05:30
Mykola Golub
40de8f1183 rbd: import needs to sanity check auto-generated image name
Fixes: http://tracker.ceph.com/issues/19128
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-24 20:29:36 +02:00
Sage Weil
4a2c595e6a ceph-object-corpus: prune old types from decode tests
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 14:27:48 -04:00
Sage Weil
9fc11f1c27 osd/osd_types: remove compat cruft for object_stat_sum_t
v15 is 169cd4d962 (pre-jewel), but
the decode method still said v14.  Therefose, we leave the compat
version when we encode as 14.

v14 is 0643845665 (pre-jewel).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 14:27:47 -04:00
Sage Weil
86e195cbe6 include/encoding: fix compat version error messages
These were just...wrong.  Correctly report the encoding version we
got and the oldest we can decode.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 14:27:47 -04:00
Casey Bodley
dad69a1592 Merge pull request #14388 from shashalu/fix-create-bucket
rgw: using the same bucket num_shards as master zg when create bucket in secondary zg

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-24 11:56:38 -04:00
Abhishek Lekshmanan
ec9702f65a doc: v12.0.2 (dev) release notes
Also adding the commits after 12.0.1 tag merged back into the master

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-04-24 17:11:04 +02:00
Loic Dachary
27445ce7c6 Merge pull request #14479 from swamireddy/v12.0.1_credits
mailmap: V12.0.1 credits

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-24 17:08:32 +02:00
Sage Weil
8a3716a472 Merge pull request #14611 from liewegas/wip-mon-warn-cleanup
mon/PGMonitor: clean up min/max span warning

Reviewed-by: David Zafman <dzafman@redhat.com>
2017-04-24 09:57:55 -05:00
Mykola Golub
e009e1bdd4 test/librbd/test_notify.py: don't disable feature in slave
On jewel it will have stolen the exclusive lock. Instead, ensure that
object map and fast diff are already disabled on the clone before the
start of the test.

Fixes: http://tracker.ceph.com/issues/19716
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-24 16:23:21 +02:00
Sage Weil
852f4da3b1 ceph-kvstore-tool: compact{,-prefix,-range}
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:20:29 -04:00
Sage Weil
d7f74d86e9 ceph-kvstore-tool: (url) escape prefixes and keys
Escape output; unescape input.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:20:28 -04:00
Sage Weil
ca5bf3cf8f common/url_escape: add simple url_[un]escape() methods
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:20:28 -04:00
Igor Fedotov
b2cf5bd0e8 os/bluestore: get rid off excessive lock at BitMapAllocator
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-04-24 07:15:10 -07:00
Sage Weil
331ee3e859 ceph-kvstore-tool: tabs instead of : as delimiter
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
b05b018f6c ceph-kvstore-tool: nicer failure message on open failure
I have been hating this assert for a long time.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
4ed5ab97b2 ceph-kvstore-tool: 'bluestore-kv' to open bluestore's embedded kv
This is usually rocksdb on bluefs, but it should work with whatever kv
backend bluestore is configured to use.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
a0a9a982fe ceph-bluestore-tool: add error handling to bluefs-export
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
aafa816b25 os/bluestore: BLUEFS_START -> SUPER_RESERVED
We reserve the first 8k for bluestore and bluefs superblocks even if
bluefs isn't enabled at mkfs time.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Jason Dillaman
7801682a6b Merge pull request #14741 from trociny/wip-19405
test/rbd_mirror: race in TestMockLeaderWatcher.AcquireError

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-24 09:35:04 -04:00
John Spray
9ca080d522 Merge pull request #12792 from david-z/wip-mds-use-tcmalloc
mds: remove boost::pool usage and use tcmalloc directly

Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 13:27:25 +01:00
John Spray
6fad8ccc24 Merge pull request #14575 from jcsp/wip-cephfs-suites
qa: Tidy up fs/ suite

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 11:20:59 +01:00
John Spray
53477e4b05 qa: switch off btrfs for multimds and kcephfs
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:56 +01:00
John Spray
e8f8b4c83e qa: update links for modified fs subsuite names
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:56 +01:00
John Spray
837a71c0af qa/tasks/cephfs: clean up mount point setup
Previously were sometimes trying to maintain a mounted
client across a filesystem destroy/create.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
6369120d63 qa/suites: don't use btrfs for cephfs testing
This change happened a while back, but it got rolled back
when the generic objectstore/ dir had its filestore
entry split out into xfs and btrfs in 208675af.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
b56fb50ef2 qa: remove unused fs/ dir
The objectstore/ dir is now selecting the backing fs.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
ea688a6d46 qa/suites/fs: more meaningful names for sub suites
The "recovery" sub suite was originally tests for
client/mds recovery in certain failure cases, it has
since grown to include lots of unit testing of
various features using CephFSTestCase.

The "basic" suite is now specifically just running workloads
now that I've moved out the smaller functional tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
0362d08121 qa/suites/fs: put simple functional tests together
Most of what's in basic/ is "workload" type testing
(i.e. a simple cluster cluster configuration and then
running a script inside the client), which gets
permuted in various ways.  Move the simpler
functional tests out with the others like themselves.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:54 +01:00
John Spray
3e3b94783c qa: don't permute object store for functional tests
These are unit tests for specific CephFS functionality,
it is gratuitous to repeat them with different underlying
RADOS object stores.

We retain coverage of XFS vs. bluestore in the workload tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:54 +01:00
John Spray
16702ff13d Merge pull request #14018 from jcsp/wip-17939
client: getattr before returning quota/layout xattrs

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 11:12:26 +01:00
Swami Reddy
19b9ecc98e mailmap: shiqi name normalization
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2017-04-24 14:17:58 +05:30
Zhi Zhang
83b9c639f8 mds: remove boost::pool usage and use tcmalloc directly
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2017-04-24 14:37:37 +08:00
Brad Hubbard
3c257ef131 Merge pull request #14729 from joscollin/wip-cleanup-osdc-comparision
osdc: silence warning from `-Wsign-compare`

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-24 15:01:41 +10:00
Kefu Chai
a952f84bd1 Merge pull request #14711 from jcsp/wip-19738
mon: don't call propose_pending in prepare_update()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-24 12:20:42 +08:00
Haomai Wang
4bc7acdd06 os/bluestore: align reclaim size to bluefs_alloc_size
otherwise it will crash because of unaligned alloc size

Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-04-24 12:11:21 +08:00
Kefu Chai
1b94f34061 Merge pull request #14740 from petermaloney/master
doc: fix link that pointed to a nonexistent file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-24 12:02:28 +08:00
Jos Collin
59fb7ae154 osdc: warning: comparison between signed and unsigned integer expressions
The following warning appears during make. Fixed the review comments too.
[ 28%] Building CXX object src/mds/CMakeFiles/mds.dir/__/osdc/Journaler.cc.o
./src/osdc/Journaler.cc: In member function ‘void Journaler::_do_flush(unsigned int)’:
./src/osdc/Journaler.cc:643:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (newlen < len) {
         ~~~~~~~^~~~~

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-04-24 09:05:28 +05:30
Brad Hubbard
c4eb6915d1 Merge pull request #14705 from joscollin/wip-googletest-warning
test: warning: comparison between signed and unsigned integer expressions

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-24 11:49:10 +10:00
lu.shasha
a34c4b8fb1 rgw: using the same bucket num_shards as master zg when create bucket in secondary zg
create bucket in secondary zonegroup will forward to master. The master may have different num_shards option.
So when create bucket in local, should use master's num_shards instead of local num_shards option.

Fixes: http://tracker.ceph.com/issues/19745

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
2017-04-24 09:05:23 +08:00
lu.shasha
7e3691aa7a rgw: add 'state==SyncState::IncrementalSync' condition when add item to shards_behind.
after running 'radosgw-admin data sync init', the sync_marker's state will change to FullSync, but the marker didn't clean. So 'sync status' command will wrongly inset shards_behind.

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
2017-04-24 08:55:19 +08:00
Sage Weil
b25b53ff03 Merge pull request #13898 from songbaisen/m5
osd: check fsid is normal before osd mkfs

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-23 15:49:28 -05:00
Sage Weil
d764b56822 Merge pull request #10893 from yonghengdexin735/wip-zzz-1
rados: check for negative return value of rados_create_with_context() as its comment put

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-23 15:47:58 -05:00
Sage Weil
0d368d2c85 Merge pull request #14442 from liewegas/wip-midkraken-upgrade
mon/OSDMonitor: tolerate upgrade from post-kraken dev cluster

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-23 15:47:28 -05:00
Mykola Golub
782bccafe9 test/rbd_mirror: race in TestMockLeaderWatcher.AcquireError
Due to handle_get_locker is executed in async context, shut_down could
start before handle_get_locker.

Fixes: http://tracker.ceph.com/issues/19405
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-23 21:42:18 +02:00
Peter Maloney
3c08894fe0 doc: fix link that pointed to a nonexistent file
commit d788bae60d renamed config.rst to config-fcgi.rst

Reported-by: fusl in #ceph on irc.oftc.net
Signed-off-by: Peter Maloney <peter.maloney@brockmann-consult.de>
2017-04-23 20:33:03 +02:00