David Zafman
495c32fd31
test: Move ceph-objectstore-tool test to standalone
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-09-08 16:53:30 -07:00
Sage Weil
1e272575ad
Merge pull request #17505 from liewegas/wip-20910
...
qa/objectstore/bluestore*: less debug output
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-06 16:02:01 -05:00
Sage Weil
267750e457
Merge pull request #17459 from xiexingguo/wip-bs-tracked-key
...
os/bluestore: add bluestore_prefer_deferred_size_hdd/ssd to tracked keys
Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-06 15:55:54 -05:00
Sage Weil
32d5722003
Merge pull request #17463 from tchaikov/wip-ceph-tell-mds-star
...
ceph: fixes for "tell <service>.*" command
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Chang Liu <liuchang0812@gmail.com>
2017-09-06 15:55:25 -05:00
Sage Weil
b647184233
Merge pull request #17503 from liewegas/wip-21250
...
os/bluestore/BlueFS: prevent _compact_log_async reentry
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-09-06 15:52:29 -05:00
Sage Weil
bd52ddd681
Merge pull request #17510 from liewegas/wip-crush-fix-rule-lookup
...
crush: fix fast rule lookup when uniform
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-06 13:41:55 -05:00
Yuri Weinstein
49d307211a
Merge pull request #17356 from shashalu/bucket_link/unlink_olh
...
rgw: don't write bucket_header when it is not changed in bucket_link/unlink
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-06 08:50:23 -07:00
Yuri Weinstein
64a445add0
Merge pull request #17434 from iliul/remove-useless-output
...
rgw: Remove the useless output when list zones
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-06 08:49:27 -07:00
Jos Collin
2e6c65b90a
Merge pull request #17518 from wjwithagen/wjw-githubmap
...
.githubmap: Add wjwithagen as a known Ceph reviewer
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-06 15:14:47 +00:00
Willem Jan Withagen
7b7fe48f65
.githubmap: Add myself
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-09-06 14:18:57 +02:00
Orit Wasserman
f71af81251
Merge pull request #16145 from yehudasa/wip-20234
...
rgw: add tail tag to track tail instance
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-09-06 10:23:30 +03:00
Mykola Golub
86c6f429fc
Merge pull request #17502 from dillaman/wip-21248
...
librbd: rename of non-existent image results in seg fault
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-09-06 10:14:04 +03:00
Mykola Golub
b1e9cabe82
Merge pull request #17375 from liupan1111/wip-final-fix-nbd
...
rbd-nbd: fix generic option issue
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-06 09:27:38 +03:00
Jos Collin
01f29ef615
Merge pull request #17507 from batrick/githubmap-update
...
githubmap: add some known Ceph reviewers
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-06 04:18:39 +00:00
Patrick Donnelly
73e927293c
Merge PR #17319 into master
...
* refs/remotes/upstream/pull/17319/head:
qa: whitelist expected rstat warning
qa: sync whitelist with fs/basic_functional
qa: whitelist expected MDS_CACHE_OVERSIZED
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-05 20:49:54 -07:00
Patrick Donnelly
a962708d56
Merge PR #17301 into master
...
* refs/remotes/upstream/pull/17301/head:
mds: fix "1 filesystem is have a..." message
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:49:19 -07:00
Patrick Donnelly
eaa8c5d6d8
Merge PR #17263 into master
...
* refs/remotes/upstream/pull/17263/head:
mds: remove unused method
mds: move EMetaBlob cons to header
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-05 20:45:35 -07:00
Patrick Donnelly
96db892db2
Merge PR #17178 into master
...
* refs/remotes/upstream/pull/17178/head:
ceph-dencoder: simplify decoding/encoding cephfs inode
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-05 20:44:39 -07:00
Patrick Donnelly
2302b6c521
Merge PR #17095 into master
...
* refs/remotes/upstream/pull/17095/head:
client: reset unmounting flag to false when starting a new mount
client: add mountedness check inside client_lock
client: rework Client::get_local_osd() return codes
client: remove misleading comment in get_cap_ref
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2017-09-05 20:44:04 -07:00
Patrick Donnelly
f37f2ea10c
Merge PR #16562 into master
...
* refs/remotes/upstream/pull/16562/head:
cephfs/fuse: set big_writes default is false
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:43:28 -07:00
Patrick Donnelly
28ca766cd2
Merge PR #16305 into master
...
* refs/remotes/upstream/pull/16305/head:
qa/cephfs: test CephFS recovery pools
qa/cephfs: support CephFS recovery pools
qa/ceph_test_case: support CephFS recovery pools
qa/cephfs: Allow deferred fs creation
qa/cephfs: Refactor alternate pool test
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:42:30 -07:00
Patrick Donnelly
4cb459a19d
githubmap: add some known GitHub reviewers
...
Selection from [1] where the GitHub username is available.
[1] http://pad.ceph.com/p/reviewers
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:29:11 -07:00
Kefu Chai
0717fc3488
Merge pull request #17447 from tchaikov/wip-freebsd-coredump
...
test/coredumpctl: support freebsd
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-09-06 11:16:08 +08:00
Sage Weil
f24095e0e9
crush: fix fast rule lookup when uniform
...
Older clients will search for the first rule with a matching ruleset,
type, and size. The has_uniform_rules bool is only set if we have rule
ids and rulesets that line up, but we must also verify that the rest of the
mask matches or else we can get a different CRUSH mapping result because
the mask might not match and old clients will fail to find a rule and we
will find one. We also can't just check the ruleset as the legacy clients
find the *first* (of potentially many) matching rules; hence we only do
the fast check if all rulesets == rule id.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-05 22:27:05 -04:00
Sage Weil
444f5aa085
qa/objectstore/bluestore*: less debug output
...
Let's see if this makes the spurious MON_DOWN failures go away? (See
http://tracker.ceph.com/issues/20910 )
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-05 17:43:28 -04:00
Patrick Donnelly
f0f93c6645
Merge PR #17373 into master
...
* refs/remotes/upstream/pull/17373/head:
doc/cephfs: add info on using EC pools with CephFS
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 12:48:41 -07:00
Sage Weil
6bd9db304f
os/bluestore/BlueFS: prevent _compact_log_async reentry
...
_should_compact_log uses new_log != nullptr to tell whether compaction is
already in progress, but we don't set it until we are midway through the
process. Set it at the top of the method to prevent reentry.
See 455cc6cea2
, which failed to implement
this properly.
Fixes: http://tracker.ceph.com/issues/21250
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-05 15:01:59 -04:00
Kefu Chai
dd702cc94e
ceph: collect all mds in mdsids()
...
otherwise, only the active mds are returned.
Fixes: http://tracker.ceph.com/issues/21230
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-06 01:49:20 +08:00
Kefu Chai
b682e61ddc
ceph: always populate targets
with ids_by_service()
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-06 01:49:20 +08:00
Kefu Chai
25639f6691
ceph: extract ids_by_service() so it can be reused
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-06 01:49:20 +08:00
Jason Dillaman
4a75ee43d3
librbd: rename of non-existent image results in seg fault
...
Fixes: http://tracker.ceph.com/issues/21248
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 12:11:45 -04:00
Casey Bodley
683212ae1f
Merge pull request #17141 from theanalyst/doc-civetweb-ports
...
doc: rgw: mention the civetweb support for binding to multiple ports
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-05 11:39:12 -04:00
Jason Dillaman
149778edde
Merge pull request #17436 from ashishkumsingh/wip-doc-fix-snapshot-flatten-example
...
doc: Fixes rbd snapshot flatten example
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 10:13:50 -04:00
Sage Weil
06ed8ee832
Merge pull request #17457 from batrick/githubmap
...
githubmap: add map for GitHub contributor lookup
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-05 09:05:46 -05:00
Jos Collin
9aab943015
Merge pull request #17489 from mychoxin/yuanxin_deep_copy
...
include/buffer.h: fix typo in comment
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-05 12:12:30 +00:00
xin.yuan
2c5442a1d5
include/buffer.h: fix comment 'no not allow' -> 'do not allow'
...
Signed-off-by: mychoxin <mychoxin@gmail.com>
2017-09-05 19:25:39 +08:00
Kefu Chai
a9e015261b
Merge pull request #17430 from Songweibin/wip-osd-misc
...
osd: misc cleanups
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-05 13:43:05 +08:00
Kefu Chai
c46220e682
Merge pull request #16476 from renhwztetecs/renhw-wip-mgr-standby-ip
...
mgr: add the ip addr of standbys
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-05 13:02:03 +08:00
Kefu Chai
e99c535c61
Merge pull request #17431 from tchaikov/wip-da-SCA-20170510
...
Coverity and SCA fixes
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-05 12:52:57 +08:00
xie xingguo
cd1225634c
os/bluestore: add bluestore_prefer_deferred_size_hdd/ssd to tracked keys
...
To make these two keys can be changed online:
./bin/ceph tell osd.* injectargs "--bluestore_prefer_deferred_size_hdd 0"
osd.0: bluestore_prefer_deferred_size_hdd = '0' (not observed, change may require restart)
osd.1: bluestore_prefer_deferred_size_hdd = '0' (not observed, change may require restart)
osd.2: bluestore_prefer_deferred_size_hdd = '0' (not observed, change may require restart)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-05 12:29:19 +08:00
Kefu Chai
4162ae05ca
test/coredumpctl: support freebsd
...
setrlimit() on platforms without prctl()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-05 11:39:26 +08:00
Kefu Chai
10fedb208c
Merge pull request #17437 from tchaikov/wip-refactor-build_initial_pg_history
...
osd: update info only if new_interval
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-05 10:05:09 +08:00
Kefu Chai
a0052516b2
Merge pull request #17393 from tchaikov/wip-cmake-disable-vta
...
cmake: disable VTA on options.cc
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-05 09:33:24 +08:00
Patrick Donnelly
f6fa38e9be
githubmap: add map for GitHub contributor lookup
...
Idea of this is to allow scripts to lookup the contributor name/email by GitHub
username. This is useful in particular for adding appropriate "Reviewed-by"s
for each GitHub style "review".
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-04 12:11:16 -07:00
Pan Liu
16f64a4c01
rbd-nbd: fix generic option issue
...
Fixes: http://tracker.ceph.com/issues/20426
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-09-04 22:16:18 +08:00
Xie Xingguo
aa27ac7791
Merge pull request #15705 from xiexingguo/wip-fix-blob-tracker-check
...
os/bluestore: pass strict flag to bluestore_blob_use_tracker_t::equal()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-09-04 19:53:14 +08:00
Ashish Singh
fec61eb5cc
doc: Fixes rbd snapshot flatten example
...
Snapshot flatten example has incorrect image name, fixing the same.
Fixes : #17723
Signed-off-by: Ashish Singh <assingh@redhat.com>
2017-09-04 16:51:57 +05:30
Xie Xingguo
b1e31f5e3f
Merge pull request #15363 from ShiqiCooperation/master
...
test/unittest_bluefs: check whether rmdir success
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-04 19:01:59 +08:00
iliul
ac23940e09
rgw: remove the useless output when list zones
...
Signed-off-by: iliul <liul124@chinaunicom.cn>
2017-09-04 15:38:51 +08:00
Kefu Chai
4ae053439e
osd: update info only if new_interval
...
refactor OSD::build_initial_pg_history() so we update the info only if a
new interval is identified. also, this is consistent with
OSD::build_past_intervals_parallel().
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-04 13:51:52 +08:00