liuchang0812
2a229fb2f9
osd/pglog: strip pglog op name
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-04-25 10:39:21 +08:00
Dan Mick
96f95193f6
librados/librados.cc rados_conf_read_file: report errors to client
...
Previously all the error text was hidden; log it.
Note: ENOENT is noted as a 'parse error'
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:55:16 -07:00
Dan Mick
cd96ee5f80
common/config.cc md_config_t::parse_config_files: return ENOENT
...
If the only error we get is ENOENT, pass that back instead of
EINVAL, as it more-accurately reflects the error(s)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Dan Mick
71728a437f
common/ConfUtils.cc parse_file: fix function name in errors
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Dan Mick
623e1a8eeb
common/ConfUtils.cc: ConfFile:parse_file: warn about ENOENT
...
Consider ENOENT an error; it may or may not be reported, but
accumulate it as if it might be
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Dan Mick
058ac8526c
ceph.in, pybind/rados/rados.pyx: Handle EINVAL better
...
Translate EINVAL to an exception type in rados.pyx
Print entire exception in ceph CLI
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Yehuda Sadeh
180e276dd1
qa/suite: replace reference to fs/xfs.yaml
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-24 15:40:12 -07:00
John Spray
de36573fb2
Merge pull request #14726 from batrick/i19583
...
mds: change_attr++ and set ctime for set_vxattr
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:13:48 +01:00
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
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