Commit Graph

77841 Commits

Author SHA1 Message Date
Ilya Dryomov
9e9598dbf4 krbd: factor out enumerate_devices()
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-10 20:01:31 +02:00
Mykola Golub
f618508624 Merge pull request #17504 from dillaman/wip-21251
qa/suites/rbd: miscellaneous test fixes

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-07 11:34:01 +03:00
Mykola Golub
24ed122735 Merge pull request #17532 from dillaman/wip-21179
rbd: support iterating over metadata items when listing

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-07 11:31:45 +03:00
Mykola Golub
53d34d4425 Merge pull request #17509 from dillaman/wip-21217
test/cls_rbd: mask newer feature bits to support upgrade tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-07 08:33:08 +03:00
Mykola Golub
81e8be812b Merge pull request #17499 from dillaman/wip-21247
cls/rbd: metadata_list not honoring max_return parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-07 08:30:31 +03:00
Patrick Donnelly
c9994788ca
Merge PR #17340 into master
* refs/remotes/upstream/pull/17340/head:
	mds: void sending cap import message when inode is frozen
	client: fix message order check in handle_cap_export()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-06 21:05:20 -07:00
Patrick Donnelly
d269c851c6
Merge PR #16778 into master
* refs/remotes/upstream/pull/16778/head:
	mds: fix return value of MDCache::dump_cache
	mds: new cap message flags indicate if there is pending capsnap
	mds: properly do null snapflush part2
	mds: track snap inodes through sorted map
	mds: properly drop wrlock when finishing snapflush

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-06 21:05:18 -07:00
Patrick Donnelly
28c7813f4e
Merge PR #17291 into master
* refs/remotes/upstream/pull/17291/head:
	mds: fix 'dirfrag end' check in Server::handle_client_readdir

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-09-06 14:45:16 -07:00
Patrick Donnelly
00629ad52f
Merge PR #17289 into master
* refs/remotes/upstream/pull/17289/head:
	osd, mds, tools: drop the invalid comment and some unused variables

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-06 14:45:14 -07:00
Patrick Donnelly
8f79a7eccc
Merge PR #17219 into master
* refs/remotes/upstream/pull/17219/head:
	mds: fix StrayManager::truncate()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-09-06 14:45:12 -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
Jason Dillaman
0130b85732 cls/rbd: metadata_list not honoring max_return parameter
Fixes: http://tracker.ceph.com/issues/21247
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-06 16:20:37 -04:00
Jason Dillaman
9c4f9856b0 rbd: support iterating over metadata items when listing
Fixes: http://tracker.ceph.com/issues/21179
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-06 16:14:58 -04: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
Yan, Zheng
f519fca9dd mds: fix return value of MDCache::dump_cache
previous commit "mds: track snap inodes through sorted map" makes
MDCache::dump_cache return 1 on success.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-09-06 21:32:43 +08: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
Jason Dillaman
aeb8f29d21 test/cls_rbd: mask newer feature bits to support upgrade tests
Fixes: http://tracker.ceph.com/issues/21217
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 21:37:16 -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
Jason Dillaman
27194c30c5 qa/suites/rbd: reduce monitor requirements for mirroring tests
Fixes: http://tracker.ceph.com/issues/21251
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 16:43:34 -04:00
Jason Dillaman
98061bb3d7 qa/suites/rbd: fixed cache override
Fixes: http://tracker.ceph.com/issues/21251
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 16:43:34 -04:00
Jason Dillaman
763f1877ec qa/suites/rbd: reduce OSD debug log levels
The teuthology machines are periodically running out of space
due to the aggressive log settings.

Fixes: http://tracker.ceph.com/issues/21251
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 16:43:30 -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